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.

Re: How to update product category/taxonomy while listing the product using rest api (unstable versi

How to update product category/taxonomy while listing the product using rest api (unstable version)

developerCFC
Shopify Partner
1 0 0

I want to update the shopify product category using shopify (unstable version) REST Api.

                                                 Shubh2_0-1700568244386.png
I don't know which key is used to update the category , I am able to set product type but not category.
Any help?
https://shopify.dev/docs/api/admin-rest/unstable/resources/product#post-products

 

shubh
Reply 1 (1)

SBD_
Shopify Staff
1831 273 421

Hey @developerCFC,

 

I think this is only achievable through the GraphQL Admin API: https://shopify.dev/docs/api/admin-graphql/unstable/mutations/productUpdate#field-productinput-produ...

 

Scott | Developer Advocate @ Shopify