Have your say in Community Polls: What was/is your greatest motivation to start your own business?
Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Set "Show Unit Price" using REST API

Set "Show Unit Price" using REST API

Kai5
Tourist
5 0 1

Hello,
I want to set the information "Show unit price" for a product variant using the REST API.
When I do it manually in the admin Area, I have to activate the checkbox “Show unit price” and then set the measure (weight / volume…) of the whole product.
I need to transfer these 2 pieces of data using the REST API.
Can you please explain, how and what attributes I have to set.
I cannot find any hints in the REST API docu.
Thanks a lot!


Kai-Uwe

Replies 4 (4)

RM7
Visitor
2 0 0

Hello, I have the same problem here. I need to set unitPrice as well.

Please could someone give a hint on how to do it using REST or GraphQL (unfortunately could not find anything in documentation on this topic)

binarydata
Shopify Partner
4 0 1

Any news on updating unit pricing via API?

miteshbhagwant
Shopify Partner
9 0 1

any update?