How can i set products Category across by API

Topic summary

Main issue: The poster wants to set a product’s Category via API (Application Programming Interface). They can set Product type, but any API update wipes out a Category that was set manually in the admin.

Context and references: They shared a Shopify Help Center link on product categories and screenshots appear central to understanding the taxonomy approach.

Proposed solution: A reply suggests that the latest Shopify APIs support setting product categories by specifying the taxonomy ID (i.e., the identifier from Shopify’s product category taxonomy). This implies upgrading from an older API version that may not handle categories correctly.

Outcome: The original poster acknowledges they were using an old API version and plans to update to the latest API to resolve the issue.

Status: Tentatively resolved pending API upgrade. The precise reason why older API updates clear the category wasn’t fully explained; expected fix is to use the latest API with taxonomy IDs.

Summarized with AI on February 6. AI used: gpt-5.

Is this not dealt with in the latest APIs by knowing the taxonomy ID and using that? Seems pretty cut and dried from this image:

1 Like