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.

How can I assign Taxonomy values to a product with GraphQL?

How can I assign Taxonomy values to a product with GraphQL?

alb3rts
Shopify Partner
5 0 0

How can I assign Taxonomy values to a product with GraphQL?
Example:
"Category attributes"
Color gid://shopify/TaxonomyAttribute/1
[
Beige (gid://shopify/TaxonomyValue/6)
Black (gid://shopify/TaxonomyValue/1)
Blue (gid://shopify/TaxonomyValue/2)
]

Has anyone encountered this issue?
Thanks,
Albert

Reply 1 (1)

Eric-HAN
Shopify Partner
250 29 26

HI ,there 

You can assign the Taxonomy values  using category field when you create your  products . You could refer to the screenshot.

EricHAN_0-1722222656187.png

Similarly, you could also update the product category or reassign it  if your got specified product

- Helpful? Please hit Like and mark it as a solution
Want to modify or custom changes on store? Let me help.
- Feel free to Email Me    Buy Me A Coffee