需要 read_customers 权限点。
更多权限点使用信息,请参考:
GET https://{handle}.myshopline.com/admin/openapi/v20250601/customers/:id/orders.json
handle :店铺的唯一标识符,值为店铺域名的前缀。例如,域名为 open001.myshopline.com 的店铺,其 handleopen001
支持通过该接口查询指定客户下的全部订单信息
路径参数
  • id string required
    客户id
    Example: 2002697754
查询参数
  • fields string
    要查询的字段,逗号分隔,不传查所有的字段信息,目前全部字段返回
    Example: id
  • limit integer
    查询数量限制,默认50,不能超过100
    Example: 10
  • page_info string
    加密后的请求参数,用于上一页、下一页,直接取该字段解析访问
    Example: eyJxdWVyeVBhcmFtU3RyaW5nIjoie1wic2l6ZVwiOjEsXCJzb3J0XCI6W1widWlkOmRlc2NcIl0sXCJzdG9yZUlkXCI6XCIxNjM5NjQwNTgxMzQ2XCIsXCJ1aWRcIjpcIjBcIixcImNyZWF0ZVRpbWVcIjpcIjw9MTY0OTg1NTYwMDAwMFwiLFwidXBkYXRlVGltZVwiOlwiXCJ9Iiwic2luY2VJZExpc3QiOlsiNDIwMTY4MDE5NSJdLCJwYWdlIjoyLCJzaXplIjoxLCJpbml0U29ydCI6WyJ1aWQ6ZGVzYyJdLCJzb3J0IjpbInVpZDpkZXNjIl0sImRpcmVjdGlvbiI6Im5leHQifQ
  • since_id string
    要查询的数据的订单号id的起始位置
    Example: 21050224312121887324667162
  • status string required
    订单状态,open-处理中,cancelled-已取消,any-包含任何状态,包含已归档
    Example: any
请求头
  • Content-Type required
    字段值固定为application/json; charset=utf-8
  • Authorization string required
    资源的访问令牌。请参考 应用授权 获取访问令牌,然后将获取到的访问令牌以 Bearer 格式传入
    Example:
    Bearer eyJhbGciOiJIUzUxMiJ9.eyJhcHBLZXkiOiJmMjM3OWQyMTYyOGMzM2QxMWRiMWZkYjY5N2EzZjdjMjZlNGMwYTA5Iiwic2VsbGVySWQiOiIyMDAwMjM0ODgwIiwic3RvcmVJZCI6IjE2NzIzNjk3Mjk2MDYiLCJ2ZXJzaW9uIjoiVjIiLCJkb21haW4iOiJodHRwczovL3NsLW9wZW4tc2cubXlzaG9wbGluZS5jb20iLCJ0aW1lc3RhbXAiOjE2NzUzMTk0OTI0MzksImlzcyI6Inlzb3VsIiwiZXhwIjoxNzY5OTI3NDkyfQ.UwQzomM2veGCUaOZ0paUxq5dpc7DXuhHYFvsQ_uIAKduzWcb_j2E4q_36El83sp145D4cKbpcE5KCeeIz-JNQw
响应
更多状态码信息请参考 HTTP 状态码

响应头
  • link
    包含上一页、下一页的请求参数
  • traceId
    traceId
响应体
  • listobject[]
    订单信息列表
  • adjust_price string
    调整金额
    Example: 34
  • adjust_price_setobject
    调整金额
  • presentment_moneyobject
    买家侧金额
  • amount string
    金额,精度2
    Example: 45
  • currency_code string
    币种信息
    Example: CNY
  • shop_moneyobject
    卖家侧金额
  • amount string
    金额,精度2
    Example: 45
  • currency_code string
    币种信息
    Example: CNY
  • billing_addressobject
    账单地址信息
  • address1 string
    详细地址1
    Example: department1
  • address2 string
    详细地址2,备选
    Example: department2
  • city string
    城市
    Example: guangzhoushi
  • city_code string
    城市码
    Example: 414000
  • company string
    公司名称
    Example: joyy
  • country string
    国家
    Example: china
  • country_code string
    国家码
    Example: CN
  • first_name string
    Example: Bob
  • last_name string
    Example: James
  • name string
    全名
    Example: Bob James
  • phone string
    手机号
    Example: 008613987675643
  • province string
    省份
    Example: guangdong
  • province_code string
    省份码
    Example: 440000
  • zip string
    邮编
    Example: 539002
  • browser_ip string
    客户端ip
    Example: 157.119.232.35
  • buyer_note string
    买家留言
    Example: is good
  • cancel_reason string
    卖家取消原因
    Example: no reason
  • cancelled_at string
    订单取消时间(结束)(格式见IOS8601)
    Example: 2012-05-01T14:22:25-04:00
  • client_detailsobject
    客户端详细信息
  • browser_ip string
    ip地址
    Example: 157.119.232.35
  • session_hash string
    sessionId
    Example: 42343243253543
  • user_agent string
    客户端代理
    Example: 157.119.232.35
  • created_at string
    订单创建时间(格式见IOS8601)
    Example: 2021-08-16T08:27:57+00:00
  • currency string
    交易币种
    Example: CNY
  • current_subtotal_price string
    当前商品总和,商品总价*数量
    Example: 78.0
  • current_subtotal_price_setobject
    当前商品总和多币种信息, 买卖家币种和金额一致
  • presentment_moneyobject
    买家侧金额
  • amount string
    金额,精度2
    Example: 43
  • currency_code string
    币种信息
    Example: CNY
  • shop_moneyobject
    卖家侧金额
  • amount string
    金额,精度2
    Example: 543
  • currency_code string
    币种信息
    Example: CNY
  • current_total_discounts string
    折扣总和,精度2,营销优惠+人工折扣
    Example: 0.0
  • current_total_discounts_setobject
    折扣总和多币种信息,没有多币种,所以买卖家币种和金额一致
  • presentment_moneyobject
    买家侧金额
  • amount string
    金额,精度2
    Example: 43
  • currency_code string
    币种信息
    Example: CNY
  • shop_moneyobject
    卖家侧金额
  • amount string
    金额,精度2
    Example: 565435
  • currency_code string
    币种信息
    Example: CNY
  • current_total_price string
    当前订单总额,取值逻辑:商品总额 - 优惠总额 + 运费 + 税费
    Example: 60.0
  • current_total_price_setobject
    当前订单总额多币种信息,买卖家币种和金额一致
  • presentment_moneyobject
    买家侧金额
  • amount string
    金额,精度2
    Example: 443
  • currency_code string
    币种信息
    Example: CNY
  • shop_moneyobject
    卖家侧金额
  • amount string
    金额,精度2
    Example: 644
  • currency_code string
    币种信息
    Example: CNY
  • current_total_tax string
    税费总和,商品税 + 运费税
    Example: 0.0
  • current_total_tax_setobject
    税费总和多币种信息, 买卖家币种和金额一致
  • presentment_moneyobject
    买家侧金额
  • amount string
    金额,精度2
    Example: 453424
  • currency_code string
    币种信息
    Example: CNY
  • shop_moneyobject
    卖家侧金额
  • amount string
    金额,精度2
    Example: 4353
  • currency_code string
    币种信息
    Example: CNY
  • customerobject
    买家信息
  • addressesobject
    买家地址信息
  • address1 string
    详细地址1
    Example: department1
  • address2 string
    详细地址2,备选
    Example: department2
  • city string
    城市
    Example: guangzhoushi
  • city_code string
    城市码
    Example: 440113
  • country string
    国家
    Example: china
  • country_code string
    国家码
    Example: CN
  • first_name string
    Example: Bob
  • last_name string
    Example: James
  • name string
    全名
    Example: Bob James
  • phone string
    电话
    Example: 008613877763452
  • province string
    省份
    Example: guangdong
  • province_code string
    省份码
    Example: 440000
  • zip string
    邮编
    Example: 523424
  • area_code string
    手机区号
    Example: 0086
  • created_at string
    买家创建时间
    Example: 2021-08-16T08:27:57+00:00
  • currency string
    币种
    Example: CNY
  • email string
    用户邮箱
    Example: 267347264@163.com
  • first_name string
    Example: Bob
  • id string
    用户id
    Example: 223234928
  • last_name string
    Example: James
  • phone string
    用户手机号
    Example: 008615087675643
  • updated_at string
    买家更新时间
    Example: 2021-08-16T08:27:57+00:00
  • customer_locale string
    买家国家,语种编码+国家名称缩写
    Example: enCN
  • discount_codesobject[]
    优惠码信息
  • amount string
    优惠金额,精度2
    Example: 32
  • code string
    优惠码
    Example: 43563
  • type string
    优惠类型,减金额;打折;免运费;固定售价;最低价商品免费;打包价;第N件打折;
    Example: 1
  • email string
    买家邮箱
    Example: hok@shoplineapp.com
  • financial_status string
    支付状态,unpaid,authorized, pending,partially_paid,paid,partially_refunded,refunded
    Example: paid
  • fulfillment_status string
    发货状态, unshipped-未发货; partial-部分发货; shipped-已发货;
    Example: unshipped
  • fulfillmentsobject[]
    包裹信息
  • created_at string
    创建时间
    Example: 2021-08-16T08:27:57+00:00
  • id string
    包裹编号
    Example: 4323245325235435
  • line_itemsobject[]
    商品列表
  • attribute string
    商品属性:名称 - 属性值 多个以逗号", "分割 如:颜色 - 红色, 尺寸 - X
    Example: big
  • fulfillable_quantity integer
    可发货数量
    Example: 3
  • fulfillment_service string
    物流商名称
    Example: EMS
  • fulfillment_status string
    商品的发货状态, 发货状态, fulfilled-已发货; partial-部分发货; null-未发货;
    Example: fulfilled
  • gift_card boolean
    礼品卡信息
  • grams double
    重量(克)
    Example: 23
  • id string
    商品快照表的id, 系统生成,与订单号唯一确认一个商品
    Example: 4322424124214
  • image_url string
    商品图片
    Example: https://imageaaa.com
  • name string
    sku标题,同title
    Example: air
  • price string
    商品售价,精度2
    Example: 43
  • product_id string
    spu序列号
    Example: 23424242143214
  • quantity integer
    订单中的商品数量
    Example: 2
  • requires_shipping boolean
    是否需要发货
    Example: true
  • sku string
    商品码,barCode
    Example: e2erwrwrwr
  • tax_linesobject[]
    税费信息
  • price string
    税费,精度2
    Example: 33
  • price_setobject
    税费多币种信息
  • presentment_moneyobject
    买家侧金额
  • amount string
    金额
    Example: 34
  • currency_code string
    币种
    Example: CNY
  • shop_moneyobject
    卖家侧金额信息
  • amount string
    金额
    Example: 533
  • currency_code string
    币种
    Example: CNY
  • rate double
    税率
  • title string
    税费名称
    Example: gateway
  • taxable boolean
    是否收税
  • title string
    商品标题
    Example: good
  • variant_id string
    商品sku序列号
    Example: dsfsfsdffsdf
  • variant_title string
    商品属性值, 多个以" / "分割, 如: “155 / 红色 / 大"
    Example: red
  • vendor string
    供应商
    Example: alibaba
  • order_id string
    订单号
    Example: 543543654654657
  • shipment_status string
    包裹状态
    Example: sended
  • status string
    物流配送状态, success-已发货; cancelled-已取消;
    Example: success
  • tracking_company string
    物流公司名称
    Example: EMS
  • tracking_number string
    第三方物流单号
    Example: 43324523532535
  • tracking_url string
    物流公司url
    Example: https//ems.hsh.com
  • updated_at string
    更新时间
    Example: 2021-08-16T08:27:57+00:00
  • hidden_order boolean
    是否是归档订单, true=已归档订单, false=未归档订单
    Example: true
  • id string
    系统订单号
    Example: 21050224312121887324667162
  • line_itemsobject[]
    订单商品快照信息
  • attribute string
    商品属性:名称 - 属性值 多个以逗号", "分割 如:颜色 - 红色, 尺寸 - X
    Example: red
  • fulfillable_quantity integer
    可发货数量
    Example: 2
  • fulfillment_service string
    物流商名称
    Example: EMS
  • fulfillment_status string
    商品的发货状态, 发货状态, fulfilled-已发货; partial-部分发货; null-未发货;
    Example: fulfilled
  • gift_card boolean
    是否为礼品卡商品
  • grams double
    重量(克)
    Example: 324
  • id string
    商品快照表的id, 系统生成,与订单号唯一确认一个商品
    Example: 4324234535
  • image_url string
    商品图片
    Example: https://aaa.com
  • name string
    sku标题,同title
    Example: good
  • price string
    商品售价,精度2
    Example: 32
  • product_id string
    spu序列号
    Example: 24344523543254325
  • propertiesobject[]
    商品定制信息
  • name string
    自定义属性名称
    Example: size
  • type string
    属性类型, text-字符,展示格式为 name: value; picture-图片,展示类型为 name: 通过urls获取渲染出缩略图;link-超链,展示类型为 name: value,支持点击链接跳转 到urls第一个
    Example: picture
  • urls array
    url资源列表
    Example: https://dsadasd.com
  • value string
    自定义属性值
    Example: big
  • quantity integer
    订单中的商品数量
    Example: 3
  • requires_shipping boolean
    是否需要发货
  • sku string
    商品码,barCode
    Example: 4324325325345
  • tags string
    商品标签(多个逗号隔开)
    Example: good
  • tax_linesobject[]
    税费信息
  • price string
    税费,精度2
    Example: 0
  • price_setobject
    税费多币种信息
  • presentment_moneyobject
    卖家侧币种
  • amount string
    金额
    Example: 43
  • currency_code string
    币种
    Example: CNY
  • shop_moneyobject
    卖家侧币种
  • amount string
    金额
    Example: 34534
  • currency_code string
    币种
    Example: CNY
  • rate double
    税率
  • title string
    税费名称
    Example: goods
  • taxable boolean
    是否收税
  • title string
    商品标题
    Example: air
  • variant_id string
    商品sku序列号
    Example: 432424324
  • variant_title string
    商品属性值, 多个以" / "分割, 如: “155 / 红色 / 大"
    Example: red
  • vendor string
    供应商
    Example: alibaba
  • locationsobject[]
    到店取货地点地址信息
  • address string
    详细地址1
    Example: department1
  • address_add string
    详细地址2
    Example: department2
  • city string
    城市
    Example: guangzhoushi
  • country string
    国家
    Example: china
  • country_code string
    国家码
    Example: CN
  • district string
    区/县
    Example: panyu
  • location_seq string
    地址序列号
    Example: 234423424234
  • name string
    地址名称
    Example: wandaguangchang
  • phone string
    电话
    Example: 008615089765743
  • province string
    省份
    Example: guangdong
  • town string
    乡/镇
    Example: dashi
  • zip_code string
    邮编
    Example: 430302
  • name string
    自定义订单号
    Example: 1037
  • note string
    商家备注内容
    Example: good customer
  • note_attributesobject[]
    商家备注日志,日期内容
  • create_time string
    备注创建时间(格式见IOS8601)
    Example: 2021-08-16T08:27:57+00:00
  • name string
    备注来源(卖家标识)
    Example: none
  • value string
    备注内容
    Example: hello
  • order_from string
    订单来源
    Example: admin
  • order_status_url string
    订单状态页url
    Example: https//hhdghs.com
  • payment_detailsobject[]
    支付单信息
  • create_time string
    支付单创建时间
    Example: 2021-08-16T08:27:57+00:00
  • pay_amount double
    支付金额
    Example: 45
  • pay_channel_deal_id string
    外部渠道支付流水号
    Example: 2344325435235235
  • pay_seq string
    支付单号
    Example: 56464645466
  • pay_status string
    支付单状态, unpaid-未支付;pending-支付中;risking-风控中;paid-已支付;paid_overtime-支付失败;paid_failed-支付失败;
    Example: paid
  • payment_channel string
    支付渠道
    Example: online
  • payment_merchant_id string
    支付商户id
    Example: 4234242e32e
  • payment_merchant_order_id string
    支付商户订单号
    Example: 42323432424
  • payment_gateway_names array
    付款方式列表,该订单所用到的付款方式列表, SLpayments ,Paypal(PayPal支付), Oceanpay(钱海支付), TwoCheckout,AsiaBill, Stripe,Pacypay, WorldPay, COD(货到付款), CUSTOM(自定义), adjustPay(资金调整), Xendit(xendit信用卡), XenditOther
    Example: Paypal
  • phone string
    电话号码
    Example: (555)555-5555
  • presentment_currency string
    买家侧币种,同卖家侧币种
    Example: USD
  • refundsobject[]
    退款列表
  • created_at string
    退款单创建时间 (格式见IOS8601)
    Example: 2021-08-16T08:27:57+00:00
  • id string
    退款id
    Example: 2342353425235
  • note string
    退款备注
    Example: none
  • order_adjustmentsobject[]
    调整单信息
  • amount string
    调整单金额
    Example: 34
  • amount_setobject
    调整单金额
  • presentment_moneyobject
    店铺调整展示金额
  • amount double
    店铺调整展示金额
    Example: 44
  • currency_code string
    店铺调整展示金额币种
    Example: CNy
  • shop_moneyobject
    店铺调整金额
  • amount double
    店铺调整金额
    Example: 34
  • currency_code string
    店铺调整金额币种
    Example: CNY
  • id string
    退款调整单id
    Example: werwqrwqrqwr
  • kind string
    调整单类型
    Example: none
  • order_id string
    订单号
    Example: 423343254235
  • reason string
    调整原因
    Example: no reason
  • refund_id string
    退款单id
    Example: 43254325325325
  • tax_amount string
    调整单税费金额
    Example: 44
  • tax_amount_setobject
    调整单税费金额
  • presentment_moneyobject
    店铺调整单展示税费金额
  • amount double
    店铺调整单展示税费金额
    Example: 43
  • currency_code string
    店铺调整单展示税费金额
    Example: CNY
  • shop_moneyobject
    店铺调整单税费金额
  • amount double
    店铺调整单税费金额
    Example: 434
  • currency_code string
    店铺调整单税费币种
    Example: CNy
  • order_id string
    订单号
    Example: 54325235235442354
  • processed_at string
    更新时间 (格式见IOS8601)
    Example: 2021-08-16T08:27:57+00:00
  • refund_line_itemsobject[]
    退款详细信息
  • id string
    退款单号
    Example: 42323524353
  • line_itemobject
    描述
  • attribute string
    商品属性:名称 - 属性值 多个以逗号", "分割 如:颜色 - 红色, 尺寸 - X
    Example: red
  • fulfillable_quantity integer
    可发货数量
    Example: 3
  • fulfillment_service string
    物流商名称
    Example: EMS
  • fulfillment_status string
    商品的发货状态, 发货状态, fulfilled-已发货; partial-部分发货; null-未发货;
    Example: fullfilled
  • gift_card boolean
    是否为礼品卡商品
  • grams double
    重量(克)
    Example: 33
  • id string
    商品快照表的id, 系统生成,与订单号唯一确认一个商品
    Example: 432434325
  • image_url string
    商品图片
    Example: https://dsfaf.com
  • name string
    sku标题,同title
    Example: good
  • price string
    商品售价,精度2
    Example: 23
  • product_id string
    spu序列号
    Example: 42342352435325
  • propertiesobject[]
    商品定制信息
  • name string
    自定义属性名称
    Example: size
  • type string
    属性类型, text-字符,展示格式为 name: value; picture-图片,展示类型为 name: 通过urls获取渲染出缩略图;link-超链,展示类型为 name: value,支持点击链接跳转 到urls第一个
    Example: picture
  • urls array
    url资源列表
    Example: https://asdfasfsaf.com
  • value string
    自定义属性值
    Example: big size
  • quantity integer
    订单中的商品数量
    Example: 2
  • requires_shipping boolean
    是否需要发货
    Example: true
  • sku string
    商品码,barCode
    Example: 32424324
  • tags string
    商品标签(多个逗号隔开)
    Example: big,red
  • tax_linesobject[]
    税费信息
  • price string
    税费,精度2
    Example: 8
  • price_setobject
    税费多币种信息
  • presentment_moneyobject
    买家侧币种
  • amount string
    金额
    Example: 4234
  • currency_code string
    币种
    Example: CNY
  • shop_moneyobject
    卖家侧币种
  • amount string
    金额
    Example: 3546
  • currency_code string
    币种
    Example: CNy
  • rate double
    税率
    Example: 4
  • title string
    税费名称
    Example: googs
  • taxable boolean
    是否收税
    Example: true
  • title string
    标题
    Example: air
  • variant_id string
    商品sku序列号
    Example: 23424235235
  • variant_title string
    商品属性值, 多个以" / "分割, 如: “155 / 红色 / 大"
    Example: red
  • vendor string
    供应商
    Example: alibaba
  • line_item_id string
    商品快照表的id, 系统生成,与订单号唯一确认一个商品
    Example: 2343535325
  • quantity integer
    数量,商品数量
    Example: 2
  • restock_type string
    库存返还类型,no_restock-未返还,cancel-取消, return-返还 只有未返还
    Example: cancel
  • subtotal double
    退款金额合计,精度2
    Example: 23
  • subtotal_setobject
    退款金额合计,多币种信息,卖家和买家侧相同
  • presentment_moneyobject
    买家侧币种
  • amount string
    金额,精度2
    Example: 34
  • currency_code string
    币种
    Example: CNy
  • shop_moneyobject
    卖家侧金额信息
  • amount string
    金额,精度2
    Example: 544
  • currency_code string
    币种
    Example: CNY
  • total_tax double
    退款商品的税额,精度2
    Example: 33
  • total_tax_setobject
    总税额,多币种信息
  • presentment_moneyobject
    买家侧币种
  • amount string
    金额,精度2
    Example: 43
  • currency_code string
    币种
    Example: CNY
  • shop_moneyobject
    卖家侧金额信息
  • amount string
    金额,精度2
    Example: 243
  • currency_code string
    币种
    Example: CNY
  • transactionsobject[]
    退款交易信息
  • amount string
    退款金额,精度2
    Example: 34
  • created_at string
    创建时间
    Example: 2021-08-16T08:27:57+00:00
  • currency string
    币种
    Example: CNy
  • id string
    退款id
    Example: 123424252435
  • kind string
    交易类型(authorization, capture, sale, void, refund)
    Example: sale
  • order_id string
    订单号
    Example: 234535235325
  • processed_at string
    更新时间
    Example: 2021-08-16T08:27:57+00:00
  • status string
    处理状态, pending, failure, success, and error
    Example: success
  • user_id string
    用户id
    Example: 22032949
  • user_id string
    用户id
    Example: 22034092
  • service string
    发货方式类型, pickUp表示到店取货.
    Example: pickUp
  • shipping_addressobject
    收货地址
  • address1 string
    详细地址1
    Example: department1
  • address2 string
    详细地址2,备选
    Example: department2
  • city string
    城市
    Example: guangzhoushi
  • city_code string
    城市码
    Example: 440100
  • company string
    公司名称
    Example: joyy
  • country string
    国家
    Example: china
  • country_code string
    国家码
    Example: CN
  • delivery_store_code string
    门店编码
    Example: 341e32
  • delivery_store_name string
    门店名称
    Example: hello
  • district string
    Example: panyuqu
  • district_code string
    区编码
    Example: 440372
  • first_name string
    Example: Bob
  • last_name string
    Example: James
  • name string
    全名
    Example: Bob James
  • phone string
    手机号
    Example: 008615098987462
  • province string
    省份
    Example: guangdong
  • province_code string
    省份码
    Example: 440000
  • zip string
    邮编
    Example: 423443
  • shipping_linesobject[]
    物流信息
  • code string
    物流编号
    Example: e2342542354325
  • discounted_price string
    折扣金额,精度2
    Example: 2
  • phone string
    电话
    Example: 00861897657463
  • price string
    物流运费,精度2
    Example: 2
  • price_setobject
    物流运费多币种信息
  • presentment_moneyobject
    买家侧金额信息
  • amount string
    金额,精度2
    Example: 34
  • currency_code string
    币种
    Example: CNY
  • shop_moneyobject
    店铺侧金额信息
  • amount string
    金额,精度2
    Example: 34
  • currency_code string
    币种
    Example: CNY
  • requested_fulfillment_service_id string
    运输服务代号
    Example: 324242424
  • tax_linesobject[]
    物流征税列表
  • price string
    税费
    Example: 44
  • price_setobject
    税费多币种信息
  • presentment_moneyobject
    买家侧金额信息
  • amount string
    金额,精度2
    Example: 54
  • currency_code string
    币种
    Example: CNY
  • shop_moneyobject
    店铺侧金额信息
  • amount string
    金额,精度2
    Example: 65
  • currency_code string
    币种
    Example: CNY
  • rate double
    税率
  • title string
    税费名称
    Example: goods
  • title string
    物流名称
    Example: EMS
  • status string
    订单状态,open-处理中,cancelled-已取消,any-包含任何状态,包含已归档;
    Example: open
  • subtotal_price string
    商品折后价总和, 商品总价 - 营销优惠 - 人工折扣
    Example: 43
  • subtotal_price_setobject
    商品折后价总和多币种信息
  • presentment_moneyobject
    买家侧金额信息
  • amount string
    金额,精度2
    Example: 34
  • currency_code string
    币种
    Example: CNY
  • shop_moneyobject
    店铺侧金额信息
  • amount string
    金额,精度2
    Example: 23
  • currency_code string
    币种
    Example: CNY
  • tags string
    订单标签
    Example: return
  • tax_linesobject[]
    税费信息
  • price string
    税费
    Example: 34
  • price_setobject
    税费多币种信息
  • presentment_moneyobject
    买家侧金额信息
  • amount string
    金额,精度2
    Example: 45
  • currency_code string
    币种
    Example: CNY
  • shop_moneyobject
    卖家侧金额信息
  • amount string
    金额,精度2
    Example: 56
  • currency_code string
    币种
    Example: CNY
  • rate double
    税率
    Example: 9
  • title string
    税费名称
    Example: goods
  • tax_number string
    税号
    Example: 12342421412
  • tax_type string
    税号类型
    Example: 1
  • taxes_included boolean
    总计额是否包含税额
  • token_infoobject
    订单关联的购物车或结算页token信息
  • cart_token string
    购物车token
    Example: 423e23e2323e
  • checkout_token string
    结算页token
    Example: e3e232e32e
  • total_discounts string
    折扣总额,营销优惠+人工折扣
    Example: 34
  • total_discounts_setobject
    折扣总额多币种信息
  • presentment_moneyobject
    买家侧折扣信息
  • amount string
    金额,精度2
    Example: 45
  • currency_code string
    币种
    Example: CNY
  • shop_moneyobject
    卖家侧折扣信息
  • amount string
    金额,精度2
    Example: 4353245
  • currency_code string
    币种
    Example: CNY
  • total_line_items_price string
    商品原价总和,精度2
    Example: 3432532532
  • total_line_items_price_setobject
    商品原价总和,多币种信息
  • presentment_moneyobject
    买家侧金额信息
  • amount string
    金额,精度2
    Example: 44
  • currency_code string
    币种
    Example: CNY
  • shop_moneyobject
    卖家侧金额信息
  • amount string
    金额,精度2
    Example: 12
  • currency_code string
    币种
    Example: CNY
  • total_outstanding string
    未付款金额总和,精度2
    Example: 3422
  • total_shipping_price_setobject
    订单运费总和,多币种信息
  • presentment_moneyobject
    买家侧金额信息
  • amount string
    金额,精度2
    Example: 234
  • currency_code string
    币种
    Example: CNY
  • shop_moneyobject
    卖家侧金额信息
  • amount string
    金额,精度2
    Example: 2342
  • currency_code string
    币种
    Example: CNY
  • total_tax string
    税费总和,精度2, 商品税 + 运费税
    Example: 234
  • total_tax_setobject
    税费总和,多币种信息
  • presentment_moneyobject
    买家侧金额信息
  • amount string
    金额,精度2
    Example: 67
  • currency_code string
    币种
    Example: CNY
  • shop_moneyobject
    卖家侧金额信息
  • amount string
    金额,精度2
    Example: 75
  • currency_code string
    币种
    Example: CNY
  • total_tip_received string
    小费,精度2
    Example: 234
  • total_weight double
    商品总重量(g)
    Example: 45
  • updated_at string
    订单更新时间,(格式见IOS8601)
    Example: 2012-05-01T14:22:25-04:00
  • user_id string
    买家id
    Example: 2002697754
API Explorer
https://openapiceshidianpu.myshopline.com/admin/openapi/v20250601

ParamOptions

path required
query required
header required
query
query
query
query

Language

curl --request GET \
--url https://openapiceshidianpu.myshopline.com/admin/openapi/v20250601/customers/id/orders.json \
--header 'Authorization: Bearer eyJhbGciOiJIUzUxMiJ9.eyJhcHBLZXkiOiJmMjM3OWQyMTYyOGMzM2QxMWRiMWZkYjY5N2EzZjdjMjZlNGMwYTA5Iiwic2VsbGVySWQiOiIyMDAwMjM0ODgwIiwic3RvcmVJZCI6IjE2NzIzNjk3Mjk2MDYiLCJ2ZXJzaW9uIjoiVjIiLCJkb21haW4iOiJodHRwczovL3NsLW9wZW4tc2cubXlzaG9wbGluZS5jb20iLCJ0aW1lc3RhbXAiOjE2NzUzMTk0OTI0MzksImlzcyI6Inlzb3VsIiwiZXhwIjoxNzY5OTI3NDkyfQ.UwQzomM2veGCUaOZ0paUxq5dpc7DXuhHYFvsQ_uIAKduzWcb_j2E4q_36El83sp145D4cKbpcE5KCeeIz-JNQw' \
--header 'Content-Type: application/json; charset=utf-8' \
--header 'accept: application/json'
Examples
查询指定用户前10个订单id
Response
{
"list": [
{
"id": "21054485723742024581438604"
},
{
"id": "21054485773911604675007002"
},
{
"id": "21054562249123682151450631"
},
{
"id": "21054586782497473894518921"
},
{
"id": "21054586794579250452648526"
},
{
"id": "21054586810181222471890723"
},
{
"id": "21054587223532901572056435"
},
{
"id": "21054587498469361000661031"
},
{
"id": "21055067816380286986546716"
},
{
"id": "21055067904840674929322306"
}
]
}
这篇文章对你有帮助吗?

Error loading component.

Error loading component.