I’m trying to use this endpoint:
https://developers.hubspot.com/docs/reference/api/crm/objects/products#post-%2Fcrm%2Fv3%2Fobjects%2Fproducts%2Fsearch
but I’m always getting
status: ‘error’,
message: ‘There was a problem with the request.’
This is my code:
properties: [“name”],
filterGroups: [
{
“filters”:[
{
“propertyName”:”sku”,
“value”: “SSCRV”,
“operator”:”EQ”
}
]
}
]
};
const productResults = await hubspotClient.crm.products.searchApi.doSearch(PublicObjectSearchRequest);
Would anyone please point me where I’m getting it wrong?