It may be duplicated of this question, but I can not find anyway to fetch to update product’s category with rest api.
Topic summary
Core issue: developers cannot retrieve or update a product’s category via the Shopify REST Admin API. One poster references a related thread and shows a screenshot of the product category field in the Shopify admin UI.
A second participant confirms they need to get the category through REST, and observes that, for now, only the GraphQL Admin API appears to support setting the product category. (GraphQL Admin API is Shopify’s alternative to REST, using a single endpoint with typed queries/mutations.)
No REST endpoint, workaround, or official guidance is provided. Participants request REST parity for category operations. Status: unresolved; feature gap remains with open need to both get and update via REST.
Hey, thank you.
I’m facing the same situation, I would like to get the product category in REST Api.
Looks the only way to set the product category is by using GraphQL Admin API.
Hope this can be included in REST API soon.
