问题
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)
来源:https://stackoverflow.com/questions/31006161/why-do-some-order-products-have-a-product-id-of-0