Why do some order products have a product_id of 0

2019-08-08 21:56发布

问题:

Product with id 0 is not retrievable. Why are some order products associated with product_id 0? Is this a product that was deleted, but and order was already placed?

回答1:

"product_id": 0 indicates "custom product" which can be added both via Control Panel or API.

Search for "custom product" on Orders API documentation page for more details: https://developer.bigcommerce.com/api/stores/v2/orders (the page doesn't explicitely mention that product_id for custom products is 0)



标签: bigcommerce