为什么某些订购产品的product_id为0 [英] Why do some order products have a product_id of 0

查看:67
本文介绍了为什么某些订购产品的product_id为0的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

ID为0的产品不可检索.为什么某些订购产品与product_id 0相关联?这是一种已删除但已经下订单的产品吗?

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表示可以通过控制面板"或API添加的自定义产品".

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

在Orders API文档页面上搜索定制产品"以了解更多详细信息: https://developer.bigcommerce.com/api/stores/v2/orders (该页面未明确提及自定义产品的product_id为0)

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)

这篇关于为什么某些订购产品的product_id为0的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆