Why do some order products have a product_id of 0

有些话、适合烂在心里 提交于 2020-01-05 08:48:32

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!