Why do some order products have a product_id of 0

165 views Asked by At

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?

Product Id 0

enter image description here

1

There are 1 answers

1
petrkotek On

"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)