Hello Shopify developers,
I am preparing to assign standard Shopify product categories to 1,348 existing active products using Admin GraphQL API version 2026-10.
All products currently return an actual null for Product.category. Before implementation, I need to establish a reliable rollback procedure.
Question 1 β Restoring an actual null category
After successfully assigning a category, what happens when productUpdate explicitly receives category: null?
-
Is Product.category restored to actual null?
-
Is it assigned gid://shopify/TaxonomyCategory/na?
-
Does the existing category remain unchanged?
If explicit null does not restore the original state, is there another supported API mechanism?
Question 2 β Non-leaf category assignment
Can the following valid, non-archived parent taxonomy categories be assigned directly to products?
-
gid://shopify/TaxonomyCategory/vp-1-4-9 β Motor Vehicle Frame & Body Parts
-
gid://shopify/TaxonomyCategory/vp-1-4-20-4 β Motor Vehicle Wheel Parts
These parent categories describe our automotive products more accurately than their available child categories.
Question 3 β Persistent side effects
When assigning and subsequently removing a category, with deleteConflictingConstrainedMetafields explicitly set to false or omitted, can Shopify persistently create, modify or delete:
-
Product metafields
-
Metafield definitions
-
Variant-option links
-
Other product attributes
The products currently have no populated category-specific metafields or category-linked variant options.
Both Shopify Sidekick and a human Shopify support advisor have reviewed these questions but could not confirm the version-specific runtime behavior from the published documentation. The advisor recommended raising them here.
I would appreciate authoritative technical confirmation or reproducible evidence from API version 2026-10.
Thank you.