GOGETMUSCLE Community Product Search API endpoint

Product Search API endpoint

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 

code: 400,
status: ‘error’,
message: ‘There was a problem with the request.’


This is my code:

const PublicObjectSearchRequest = {
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?

Leave a Reply

Your email address will not be published.

Related Post

アカウントを無効化後にソートをした時の表示のされ方アカウントを無効化後にソートをした時の表示のされ方

退職後にアカウントを無効化する方が居ます。無効化後に退職者がもっていたリストなどはどう表示されますでしょうか。無効化後にもいままでと同様にソートをかけても表示されるのでしょうか。またどのように表示されるかも教えてほしいです。

Goal ReportGoal Report

Hi I’m using goal report to compare a specific kind of meeting done with the one should do.  The problem is that there is not the “Customize” option and when I