获取购物车信息 免费

版本:1.0.0

购物车id、产品id、购买者id、商品规格属性名称、购买产品、产品价格、产品市场价、商品成本价、购买数量、产品主图缩略图、添加的时间、购物车数据来源 1-线上 2-线下收银台等信息

公共参数

参数类型必填说明示例
access_tokenstring接口调用令牌,如何获取access_tokene3716b44c10e4f232c91e2dc6c9b56e0

请求地址

https://店铺APPID.shop.yishop.site/openApi/Buy/getCartData

请求参数

参数类型必填说明示例
appidstring请传入店铺appid

返回参数

参数类型说明示例
codestring返回状态码,返回0表示请求成功0
datamixed返回的数据集合
  cart_idstring购物车id
  cart_product_idstring产品id
  cart_buyer_idstring购买者id
  cart_product_specnameNULL商品规格属性名称
  cart_product_namestring购买产品
  cart_product_pricestring产品价格
  cart_product_marketpricestring产品市场价
  cart_product_costpricestring商品成本价
  cart_product_numstring购买数量
  cart_product_thumbstring产品主图缩略图
  cart_add_timestring添加的时间
  cart_fromstring购物车数据来源 1-线上 2-线下收银台

在线咨询

微信扫码咨询

客服电话

400-800-3954

在线沟通