Ecommerce API Product stores/returns categorization in name format only #513
Replies: 1 comment 1 reply
-
For reference, which integration(s) are you pulling data from? (e.g. Shopify/Stripe) |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
https://docs.codat.io/commerce-api#/schemas/Product
The Ecommerce API stores/returns the categorization of a product as a string for the name only. With the example "Hardware"
But the Product Category in Ecommerce API uses a tree structure of child branches with categorization Ids at each level.
If a product is placed in the categorization of "Accessories" as a leaf to more than one category structure,
such as
Office Furniture > Accessories or
Arts and Crafts -> Accessories
A product with the string categorization of "Accessories" would not have enough information to know which higher category it came from. ie was it Office Furniture or Arts and Crafts.
Beta Was this translation helpful? Give feedback.
All reactions