APIs & Integrations

Shwetansh07
Member | Elite Partner
Member | Elite Partner

Unable to update the price property when creating product via API

SOLVE

I've been trying to create a product via Products API and the product is created successfully and in the response i can the price and its value but the price property not is reflecting in HubSpot.

 

I'm using the default data set given by HubSpot here.

https://developers.hubspot.com/docs/methods/products/create-product

0 Upvotes
1 Accepted solution
WendyGoh
Solution
HubSpot Employee
HubSpot Employee

Unable to update the price property when creating product via API

SOLVE

Hi @Shwetansh07,

 

Instead of price, can you use hs_price_usd

 

On my end, I'm able to see that hs_price_usd works just fine. 

View solution in original post

0 Upvotes
4 Replies 4
WendyGoh
HubSpot Employee
HubSpot Employee

Unable to update the price property when creating product via API

SOLVE

Hi @Shwetansh07,

 

To get a full picture of thing, can you share over your:

- Portal ID

- The POST body that you send across

 

 

0 Upvotes
Shwetansh07
Member | Elite Partner
Member | Elite Partner

Unable to update the price property when creating product via API

SOLVE

Hi @WendyGoh , Thanks for reaching out.

My Portal Id is - 6448908
I have setup Multi Currencies may be this could be a reason.

POST data for Subscription ProductsPOST data for Subscription Products
POST data for one time charged productPOST data for one time charged product

Products are created Successfully.

 

Both of these products have been created successfully but there are missing the price valueBoth of these products have been created successfully but there are missing the price value

 

Price Value is Empty for both of the products.
image.png

0 Upvotes
WendyGoh
Solution
HubSpot Employee
HubSpot Employee

Unable to update the price property when creating product via API

SOLVE

Hi @Shwetansh07,

 

Instead of price, can you use hs_price_usd

 

On my end, I'm able to see that hs_price_usd works just fine. 

0 Upvotes
Shwetansh07
Member | Elite Partner
Member | Elite Partner

Unable to update the price property when creating product via API

SOLVE

Thank you very much @WendyGoh 
Its working fine now 🙂

0 Upvotes