需要 read_orders 权限点。
更多权限点使用信息,请参考:
GET https://{handle}.myshopline.com/admin/openapi/v20220601/orders.json
handle :店铺的唯一标识符,值为店铺域名的前缀。例如,域名为 open001.myshopline.com 的店铺,其 handleopen001
根据请求条件批量查询订单详细信息
查询参数
  • buyer_id string
    下单用户id
    Example: 4201057495
  • contract_ids string
    订阅合同id,多个以逗号分隔,最大支持50个
    Example: 3005619945158043247856
  • created_at_max string
    订单创建时间(结束)(格式见IOS8601)
    Example: 2021-08-18T23:59:59+08:00
  • created_at_min string
    订单创建时间(开始)(格式见IOS8601)
    Example: 2021-08-04T23:59:59+08:00
  • email string
    下单用户的email
    Example: Washingtontest@gmail.com
  • fields string
    要查询的字段,逗号分隔,不传查所有的字段信息,目前全部字段返回
    Example: id
  • financial_status string
    支付状态: unpaid - 未支付; pending-支付中; partially_paid-部分支付; paid-已支付; partially_refunded-部分退款; refunded-已退款;
    Example: unpaid
  • fulfillment_status string
    发货状态, unshipped-未发货; partial-部分发货; shipped-已发货;
    Example: unshipped
  • hidden_order boolean
    是否是归档订单, true=已归档订单, false=未归档订单
  • ids string
    订单号,多个以逗号分隔,最大支持100个
    Example: "21050224312121887324667162, 21050224312121887324667164"
  • limit integer
    查询数量限制,默认50,不能超过100
    Example: 10
  • name string
    自定义订单编号
    Example: D2034
  • page_info string
    加密后的请求参数,用于上一页、下一页,直接取该字段解析访问
    Example: 7AFD7393C6E7CF18672C038477E2EF6A463464BDBAF766DD8F8CB8E0085F82419A94B80084BCDA0B838B3F13C302A2C9044E
  • search_content string
    搜索内容, 涉及订单号、支付流水号、快递单号、商品名称、商品sku货号、订单金额
    Example: D203
  • since_id string
    要查询的数据的订单号id的起始位置
    Example: 21056199447626881527947685
  • sort_condition string
    排序:格式如:orderTime
    ,orderSeq
    多种排序按逗号分割;排序规则:如 orderTime
    ,orderSeq
    ,先按orderTime倒序,再按orderSeq正序
    Example: orderTime:desc
  • status string
    订单状态,open-处理中,cancelled-已取消,any-包含任何状态,包含已归档;
    Example: open
  • updated_at_max string
    订单更新时间(结束)(格式见IOS8601)
    Example: 2021-08-18T23:59:59+08:00
  • updated_at_min string
    订单更新时间(开始)(格式见IOS8601)
    Example: 2021-08-04T23:59:59+08:00
请求头
  • 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
响应体
  • ordersobject[]
    数据列表
  • adjust_price string
    调整金额
    Example: 8.00
  • adjust_price_setobject
    调整金额
  • presentment_moneyobject
    买家侧金额信息
  • amount string
    金额,精度2
    Example: 8.00
  • currency_code string
    币种
    Example: US
  • shop_moneyobject
    卖家侧金额信息
  • amount string
    金额,精度2
    Example: 8.00
  • currency_code string
    币种
    Example: US
  • billing_addressobject
    账单地址信息
  • address1 string
    详细地址1
    Example: 地址1
  • address2 string
    详细地址2,备选
    Example: 地址2
  • city string
    城市
    Example: 纽约
  • company string
    公司名称
    Example: 新公司名
  • country string
    国家
    Example: 美国
  • country_code string
    国家码
    Example: US
  • first_name string
    Example: Tom
  • last_name string
    Example: Washington
  • name string
    全名
    Example: test1001
  • phone string
    电话
    Example: 13100000000
  • province string
    省份
    Example: 加利福尼亚州
  • province_code string
    省份码
    Example: 4200006
  • zip string
    邮编
    Example: 92503
  • browser_ip string
    客户端ip
    Example: 157.119.232.35
  • buyer_note string
    买家留言
    Example: 留言
  • cancel_reason string
    卖家取消原因
    Example: "不想买了"
  • cancelled_at string
    订单取消时间(结束)(格式见IOS8601),2012-05-01T14:22:25-04:00
    Example: 2012-05-01T14:22:25-04:00
  • cart_token string
    购物车token
    Example: c2c4a58186b9d96395d7e6b5c2969577
  • checkout_id string
    弃单id
    Example: 2404785166526352972864
  • checkout_token string
    结算页token
    Example: c2c4a58186b9d96395d7e6b5c2969577
  • client_detailsobject
    客户端详细信息
  • browser_ip string
    详细地址1
    Example: 90c6724a-cf0d-4517-bd61-5c2727c2f886
  • session_hash string
    sessionId
    Example: c2c4a58186b9d96395d7e6b5c2969577
  • user_agent string
    客户端代理
    Example: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Sa
  • contract_seq string
    订阅合同号
    Example: 3005619945158043247856
  • created_at string
    订单创建时间,系统记录(格式见IOS8601)
    Example: 2021-08-16T08:27:57+00:00
  • currency string
    交易币种
    Example: “USD”
  • current_subtotal_price string
    当前商品总和,商品总价*数量
    Example: “78.0”
  • current_subtotal_price_setobject
    当前商品总和多币种信息, 买卖家币种和金额一致
  • presentment_moneyobject
    买家侧币种
  • amount string
    金额
    Example: 8.00
  • currency_code string
    币种
    Example: USD
  • shop_moneyobject
    卖家侧币种
  • amount string
    金额
    Example: 8.00
  • currency_code string
    币种
    Example: USD
  • current_total_discounts string
    折扣总和,精度2,营销优惠+人工折扣
    Example: “0.0”
  • current_total_discounts_setobject
  • presentment_moneyobject
    买家侧金额
  • amount string
    金额
    Example: 8.00
  • currency_code string
    币种信息
    Example: USD
  • shop_moneyobject
    卖家侧金额
  • amount string
    金额,精度2
    Example: 8.00
  • currency_code string
    币种code
    Example: USD
  • current_total_price string
    当前订单总额,取值逻辑:商品总额 - 优惠总额 + 运费 + 税费
    Example: “60.0”
  • current_total_price_setobject
    当前订单总额多币种信息,买卖家币种和金额一致
  • presentment_moneyobject
    买家侧金额
  • amount string
    金额
    Example: 8.00
  • currency_code string
    币种
    Example: USD
  • shop_moneyobject
    卖家侧金额
  • amount string
    金额
    Example: 8.00
  • currency_code string
    币种
    Example: USD
  • current_total_tax string
    税费总和,商品税 + 运费税
    Example: ”0.0“
  • current_total_tax_setobject
    税费总和多币种信息, 买卖家币种和金额一致
  • presentment_moneyobject
    买家侧币种
  • amount string
    金额
    Example: 8.00
  • currency_code string
    币种
    Example: USD
  • shop_moneyobject
    卖家侧币种
  • amount string
    金额
    Example: 8.00
  • currency_code string
    币种
    Example: USD
  • customerobject
    买家信息
  • addressesobject
    买家地址信息
  • address1 string
    详细地址1
    Example: 万达
  • address2 string
    详细地址2,备选
    Example: 65788
  • city string
    城市
    Example: 阳泉市
  • country string
    国家
    Example: 中国
  • country_code string
    国家码
    Example: CN
  • first_name string
    Example: Tom
  • last_name string
    Example: Washington
  • name string
    全名
    Example: D203
  • phone string
    电话
    Example: 13100000000
  • province string
    省份
    Example: 山西省
  • province_code string
    省份码
    Example: asd
  • zip string
    邮编
    Example: 521000
  • area_code string
    手机区号
    Example: +86
  • created_at string
    买家创建时间(格式见IOS8601)
    Example: 2022-11-04T10:18:46+00:00
  • currency string
    币种
    Example: USD
  • email string
    用户邮箱
    Example: Washingtontest@gmail.com
  • first_name string
    Example: Tom
  • id string
    用户id
    Example: 4201057495
  • last_name string
    Example: Washington
  • phone string
    用户手机号
    Example: 13100000000
  • updated_at string
    买家更新时间
    Example: 2022-11-04T10:18:46+00:00
  • customer_locale string
    买家国家,语种编码+国家名称缩写
    Example: ”enCN“
  • deduct_member_point_amount string
    当前订单会员积分抵扣金额
    Example: 8.00
  • discount_applicationsobject[]
    折扣信息
  • allocation_method string
    分布授权的范围 1)across(该值分布在所有授权行中) 2)each(该值应用于每个授权行) allocation_method
    Example: across
  • code string
    折扣码
    Example: 82UD6BTPX9L2
  • description string
    自定义折扣的描述
    Example: 自定义折扣的描述
  • target_selection string
    1)explicit(折扣分配到明确选择的行) 2)all(折扣分配到所有行) 3)ENTITLED(折扣仅分配到其有权使用的行)
    Example: explicit
  • target_type string
    1)line_item、shipping_line
    Example: line_item
  • title string
    自动折扣的标题
    Example: 自动折扣的标题
  • type string
    折扣类型,1)manual 2)automatic 3)discount_code
    Example: manual
  • value string
    折扣的具体值(可以是 N折,也可以是具体的 金额值)
    Example: 2.01
  • value_type string
    解释value的类型
    Example: fixed_amount
  • discount_codesobject[]
    优惠码信息
  • amount string
    优惠金额,精度2
    Example: 8.00
  • code string
    优惠码
    Example: KIN4GNAB2FRH
  • type string
    优惠类型,减金额;打折;免运费;固定售价;最低价商品免费;打包价;第N件打折;
    Example: 减金额
  • email string
    买家邮箱,二者必有其一
    Example: hok@shoplineapp.com
  • financial_status string
    支付状态,unpaid,authorized, pending,partially_paid,paid,partially_refunded,refunded
    Example: "paid"
  • fulfillment_status string
    发货状态, fulfilled-已发货; partial-部分发货; null-未发货; 注:返回的枚举值与入参的查询枚举值不一样
    Example: "fulfilled"
  • fulfillmentsobject[]
    包裹信息
  • created_at string
    创建时间(格式见IOS8601)
    Example: 2022-11-04T10:18:46+00:00
  • id string
    包裹编号
    Example: 22046737798141702810214336
  • line_itemsobject[]
    商品列表
  • attribute string
    商品属性:名称 - 属性值 多个以逗号", "分割 如:颜色 - 红色, 尺寸 - X
    Example: 红色
  • fulfillable_quantity integer
    可发货数量
    Example: 1
  • fulfillment_service string
    物流商名称
    Example: 顺丰
  • fulfillment_status string
    商品的发货状态, 发货状态, fulfilled-已发货; partial-部分发货; null-未发货;
    Example: 未发货
  • grams double
    重量(克)
    Example: 100
  • id string
    商品快照表的id, 系统生成,与订单号唯一确认一个商品
    Example: 100
  • image_url string
    商品图片
    Example: https://d2n979dmt31clo.cloudfront.net/image/store/4211449909/1667384795847/63928f08a7174ab2958c6a969
  • location_id string
    取货地点唯一编号
    Example: 5445886274929439997
  • name string
    sku标题,同title
    Example: 商品名称
  • price string
    商品售价,精度2
    Example: 10.00
  • product_id string
    spu序列号
    Example: 16056761559984840457934011
  • quantity integer
    订单中的商品数量
    Example: 1
  • requires_shipping boolean
    是否需要发货
    Example: true
  • sku string
    商品码,barCode
    Example: 测试-002
  • tax_linesobject[]
    税费信息
  • price string
    税费,精度2
    Example: 8.00
  • price_setobject
    税费多币种信息
  • presentment_moneyobject
    买家侧金额
  • amount string
    描金额述
    Example: 8.00
  • currency_code string
    币种
    Example: USD
  • shop_moneyobject
    卖家侧金额信息
  • amount string
    金额
    Example: 8.00
  • currency_code string
    币种
    Example: USD
  • rate double
    税率
    Example: 1
  • title string
    税费名称
    Example: 税费
  • taxable boolean
    是否收税
  • title string
    商品标题
    Example: 好用的商品
  • variant_id string
    商品sku序列号
    Example: 18056761559987524812644011
  • variant_title string
    商品属性值, 多个以" / "分割, 如: “155 / 红色 / 大"
    Example:
  • vendor string
    供应商
    Example: 供应商
  • name string
    发货单短号
    Example: 1032-F2
  • order_id string
    订单号
    Example: 21056577640603870897253153
  • shipment_status string
    包裹状态
    Example: fulfilled
  • status string
    物流配送状态, success-已发货; cancelled-已取消;
    Example: cancelled
  • tracking_company string
    物流公司名称
    Example: 顺丰国际
  • tracking_number string
    第三方物流单号
    Example: yun0001
  • tracking_url string
    物流公司url
    Example: https://www.sf-international.com/
  • updated_at string
    更新时间(格式见IOS8601)
    Example: 2022-11-04T10:18:46+00:00
  • hidden_order boolean
    是否是归档订单, true=已归档订单, false=未归档订单
  • id string
    订单号,系统自定义编号
    Example: 21050224312121887324667162
  • landing_site string
    记录完整的后缀信息的链接
    Example: https://www.url.com
  • line_itemsobject[]
    订单商品快照信息
  • attribute string
    商品属性:名称 - 属性值 多个以逗号", "分割 如:颜色 - 红色, 尺寸 - X
    Example: 红色
  • discount_allocationsobject[]
    营销折扣明细金额多币种
  • amount string
    折扣明细金额
    Example: 8.00
  • amount_setobject
    折扣明细金额多币种
  • presentment_moneyobject
    支付币种
  • amount string
    金额,精度2
    Example: 8.00
  • currency_code string
    币种
    Example: USD
  • shop_moneyobject
    店铺币种
  • amount string
    金额,精度2
    Example: 8.00
  • currency_code string
    币种
    Example: USD
  • discount_application_index integer
    标明在折扣明细中的位置
    Example: 1
  • fulfillable_quantity integer
    可发货数量
    Example: 1
  • fulfillment_service string
    物流商名称
    Example: 顺丰国际
  • fulfillment_status string
    商品的发货状态, 发货状态, fulfilled-已发货; partial-部分发货; null-未发货;
    Example: fulfilled
  • gift_card boolean
    是否为礼品卡商品
    Example: true
  • grams double
    重量(克)
    Example: 100
  • id string
    商品快照表的id, 系统生成,与订单号唯一确认一个商品
    Example: 417
  • image_url string
    商品图片
    Example: https://d2n979dmt31clo.cloudfront.net/image/store/4211449909/1667384795847/63928f08a7174ab2958c6a969
  • location_id string
    取货地点唯一编号
    Example: 5327026538935748524
  • name string
    sku标题,同title
    Example: 商品标题
  • price string
    商品售价,精度2
    Example: 8.00
  • product_id string
    spu序列号
    Example: 16056761559984840457934011
  • propertiesobject[]
    商品定制信息
  • additional string
    定制商品附加字段
    Example: 附加字段
  • name string
    自定义属性名称
    Example: 属性名称
  • type string
    属性类型, text-字符,展示格式为 name: value; picture-图片,展示类型为 name: 通过urls获取渲染出缩略图;link-超链,展示类型为 name: value,支持点击链接跳转 到urls第一个
    Example: text
  • urls array
    url资源列表
    Example: https://www.url.com
  • value string
    自定义属性值
    Example: 属性值
  • quantity integer
    订单中的商品数量
    Example: 1
  • requires_shipping boolean
    是否需要发货
    Example: true
  • sku string
    商品码,barCode
    Example: 18056761559987524812644011
  • tags string
    商品标签(多个逗号隔开)
    Example: 手表
  • tax_linesobject[]
    税费信息
  • price string
    税费,精度2
    Example: 8.00
  • price_setobject
    税费多币种信息
  • presentment_moneyobject
    买家侧币种
  • amount string
    金额
    Example: 8.00
  • currency_code string
    币种
    Example: USD
  • shop_moneyobject
    卖家侧币种
  • amount string
    金额
    Example: 8.00
  • currency_code string
    币种
    Example: USD
  • rate double
    税率
    Example: 1
  • title string
    税费名称
    Example: 税费
  • type string
    税费用类型,用于区分是商品税还是运费税,枚举值如下 product_tax:商品税 shipping_tax:运费税
    Example: shipping_tax
  • taxable boolean
    是否收税
    Example: true
  • title string
    商品标题
    Example: 漂亮的裙子
  • variant_id string
    商品sku序列号
    Example: 18056761559987524812644011
  • variant_title string
    商品属性值, 多个以" / "分割, 如: “155 / 红色 / 大"
    Example:
  • vendor string
    供应商
    Example: 供应商
  • locationsobject[]
    到店取货地点地址信息
  • address string
    详细地址1
    Example: 地址1
  • address_add string
    详细地址2
    Example: 地址22
  • city string
    城市
    Example: 广州
  • country string
    国家
    Example: 中国
  • country_code string
    国家码
    Example: CN
  • district string
    区/县
    Example: 番禺区
  • location_id string
    取货地点唯一编号
    Example: 5327026538935748524
  • name string
    地址名称
    Example: 万达广场
  • phone string
    电话号码,如(555)555-5555
    Example: 13100000000
  • province string
    省份
    Example: 广东省
  • town string
    乡/镇
    Example:
  • zip string
    邮编
    Example: 521000
  • name string
    店铺自定义订单号,从1001开始,可以设置前缀
    Example: test1001
  • note string
    商家备注内容
    Example: 备注
  • note_attributesobject[]
    商家备注日志,日期内容
  • create_time string
    备注创建时间(格式见IOS8601)
    Example: 2022-11-04T10:18:46+00:00
  • name string
    备注来源(卖家标识)
    Example: 备注来源
  • value string
    备注内容
    Example: 备注内容
  • order_at string
    订单成单时间(格式见IOS8601)
    Example: 2021-08-16T08:27:57+00:00
  • order_source string
    订单来源渠道,目前只有pos渠道该字段才有值,其他渠道该值为空
    Example: pos
  • order_status_url string
    订单状态页url
    Example: https://shoptest.myshoplinestg.com/trade/thank_you?mainOrderMark=xxx&mainOrderSeq=200565776406008509
  • payment_detailsobject[]
    支付单信息
  • create_time string
    支付单创建时间
    Example: 2021-08-16T08:27:57+00:00
  • gateway string
    支付方式名称
    Example: Mypay
  • pay_amount double
    支付金额
    Example: 8
  • pay_channel string
    支付渠道
    Example: Paypal
  • pay_channel_deal_id string
    外部渠道支付流水号
    Example: pi_3MI897Hezv8FxjBO1uGxMPhX
  • pay_merchant_email string
    支付商户email账户
    Example: Washingtontest@gmail.com
  • pay_merchant_id string
    支付商户id
    Example: 4201057379
  • pay_merchant_order_id string
    支付商户订单号
    Example: -
  • pay_seq string
    支付单号
    Example: 23057287797738260472676128
  • pay_status string
    支付单状态, unpaid-未支付;pending-支付中;risking-风控中;paid-已支付;paid_overtime-支付失败;paid_failed-支付失败;
    Example: unpaid
  • payment_gateway_names array
    付款方式列表,该订单所用到的付款方式列表, SLpayments �,Paypal(PayPal支付�), Oceanpay(钱海支付�), TwoCheckout,AsiaBill, Stripe,Pacypay, WorldPay, COD(货到付款), CUSTOM(自定义), adjustPay(资金调整), Xendit(xendit信用卡�), XenditOther
    Example: Paypal
  • phone string
    买家联系方式,二者必有其一
    Example: 18978789878
  • presentment_currency string
    买家侧币种,同卖家侧币种
    Example: USD
  • processed_user_id string
    订单创建者
    Example: 4201057495
  • referring_site string
    外部链接
    Example: -
  • refundsobject[]
    退款列表
  • created_at string
    退款单创建时间 (格式见IOS8601)
    Example: 2021-08-16T08:27:57+00:00
  • id string
    退款id
    Example: 2605659027312156877634
  • note string
    退款备注
    Example: 退款备注
  • order_adjustmentsobject[]
    调整单信息
  • amount string
    调整单金额
    Example: 8.00
  • amount_setobject
    调整单金额
  • presentment_moneyobject
    店铺调整展示金额
  • amount double
    店铺调整展示金额
    Example: 8
  • currency_code string
    店铺调整展示金额币种
    Example: USD
  • shop_moneyobject
    店铺调整金额
  • amount double
    店铺调整金额
    Example: 8
  • currency_code string
    店铺调整金额币种
    Example: USD
  • id string
    退款调整单id
    Example: RAP5570565996182771228
  • kind string
    调整单类型
    Example: refund_discrepancy
  • order_id string
    订单号
    Example: 21056577640603870897253153
  • reason string
    调整原因
    Example: 调整原因
  • refund_id string
    退款单id
    Example: 2605659027312156877634
  • tax_amount string
    调整单税费金额
    Example: 8.00
  • tax_amount_setobject
    调整单税费金额
  • presentment_moneyobject
    店铺调整单展示税费金额
  • amount double
    店铺调整单展示税费金额
    Example: 8
  • currency_code string
    店铺调整单展示税费币种
    Example: USD
  • shop_moneyobject
    店铺调整单税费金额
  • amount double
    店铺调整单税费金额
    Example: 8
  • currency_code string
    店铺调整单税费币种
    Example: USD
  • order_id string
    订单号
    Example: 21056577640603870897253153
  • processed_at string
    更新时间 (格式见IOS8601)
    Example: 2021-08-16T08:27:57+00:00
  • refund_line_itemsobject[]
    退款详细信息
  • id string
    退款单号
    Example: 2605659027312156877634
  • line_itemobject
    描述
  • attribute string
    商品属性:名称 - 属性值 多个以逗号", "分割 如:颜色 - 红色, 尺寸 - X
    Example: 红色
  • fulfillable_quantity integer
    可发货数量
    Example: 1
  • fulfillment_service string
    物流商名称
    Example: 顺丰国际
  • fulfillment_status string
    商品的发货状态, 发货状态, fulfilled-已发货; partial-部分发货; null-未发货;
    Example: fulfilled
  • grams double
    重量(克)
    Example: 1
  • id string
    商品快照表的id, 系统生成,与订单号唯一确认一个商品
    Example: 403
  • name string
    sku标题,同title
    Example: 18056761559987524812644011
  • price string
    商品售价,精度2
    Example: 8.00
  • product_id string
    spu序列号
    Example: 16056761559984840457934011
  • quantity integer
    订单中的商品数量
    Example: 1
  • requires_shipping boolean
    是否需要发货
    Example: true
  • sku string
    商品码,barCode
    Example: sku名称
  • tax_linesobject[]
    税费信息
  • price string
    税费,精度2
    Example: 8.00
  • price_setobject
    税费多币种信息
  • presentment_moneyobject
    买家侧币种
  • amount string
    金额,精度2
    Example: 8.00
  • currency_code string
    币种
    Example: USD
  • shop_moneyobject
    卖家侧金额信息
  • amount string
    金额
    Example: 8.00
  • currency_code string
    币种
    Example: USD
  • rate double
    税率
    Example: 1
  • title string
    标题
    Example: 标题
  • taxable boolean
    是否收税
    Example: true
  • title string
    商品标题
    Example: 商品标题
  • variant_id string
    商品sku序列号
    Example: 18056761559987524812644011
  • variant_title string
    商品属性值, 多个以" / "分割, 如: “155 / 红色 / 大"
    Example:
  • vendor string
    供应商
    Example: 供应商
  • line_item_id string
    商品快照表的id, 系统生成,与订单号唯一确认一个商品
    Example: 406
  • quantity integer
    数量,商品数量
    Example: 1
  • restock_type string
    库存返还类型,no_restock-未返还,cancel-取消, return-返还 只有未返还
    Example: cancel
  • subtotal double
    退款金额合计,精度2
    Example: 8
  • subtotal_setobject
    退款金额合计,多币种信息,卖家和买家侧相同
  • presentment_moneyobject
    买家侧币种
  • amount string
    金额
    Example: 8.00
  • currency_code string
    币种
    Example: USD
  • shop_moneyobject
    卖家侧金额信息
  • amount string
    金额,精度2
    Example: 8.00
  • currency_code string
    币种
    Example: USD
  • total_tax double
    退款商品的税额,精度2
    Example: 8
  • total_tax_setobject
    总税额,多币种信息
  • presentment_moneyobject
    买家侧币种
  • amount string
    金额
    Example: 8.00
  • currency_code string
    币种
    Example: USD
  • shop_moneyobject
    卖家侧币种
  • amount string
    金额
    Example: 8.00
  • currency_code string
    币种
    Example: USD
  • transactionsobject[]
    退款交易信息
  • amount string
    退款金额,精度2
    Example: 8.00
  • created_at string
    创建时间
    Example: 2021-08-16T08:27:57+00:00
  • currency string
    币种
    Example: USD
  • id string
    退款id
    Example: 2605659027312156877634
  • kind string
    交易类型(authorization, capture, sale, void, refund)
    Example: void
  • order_id string
    订单号
    Example: 21056577640603870897253153
  • 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: 4201057495
  • user_id string
    用户id
    Example: 4201057495
  • service string
    发货方式类型, pickUp表示到店取货.
    Example: pickUp
  • shipping_addressobject
    收货地址
  • address1 string
    address1
    Example: 地址1
  • address2 string
    详细地址2,备选
    Example: 地址2
  • city string
    城市
    Example: 城市
  • company string
    公司名称
    Example: 公司名称
  • country string
    国家
    Example: 中国
  • country_code string
    国家码
    Example: CN
  • delivery_store_code string
    门店编码
    Example: 1001
  • delivery_store_name string
    门店名称
    Example: 门店名称
  • district string
    Example: 番禺区
  • district_code string
    区编码
    Example: 521000
  • first_name string
    Example: Tom
  • last_name string
    Example: Washington
  • latitude string
    纬度
    Example: 15
  • longitude string
    经度
    Example: 41
  • name string
    全名
    Example: Tom.Washington
  • phone string
    电话
    Example: 13100000000
  • province string
    省份
    Example: 广东省
  • province_code string
    省份码
    Example: -
  • zip string
    邮编
    Example: 521000
  • shipping_linesobject[]
    物流信息
  • code string
    物流编号
    Example: SF
  • discount_allocationsobject[]
    折扣明细
  • amount string
    折扣金额,精度2
    Example: 8.00
  • amount_setobject
    折扣多币种金额
  • presentment_moneyobject
    买家侧金额信息
  • amount string
    金额,精度2
    Example: 8.00
  • currency_code string
    币种
    Example: USD
  • shop_moneyobject
    店铺侧金额信息
  • amount string
    金额,精度2
    Example: 8.00
  • currency_code string
    币种
    Example: USD
  • discount_application_index integer
    在折扣明细中的位置
    Example: 1
  • discounted_price string
    折扣金额,精度2
    Example: 8.00
  • discounted_price_setobject
    折扣多币种金额
  • presentment_moneyobject
    买家侧金额信息
  • amount string
    金额,精度2
    Example: 8.00
  • currency_code string
    币种
    Example: USD
  • shop_moneyobject
    店铺侧金额信息
  • amount string
    金额,精度2
    Example: 8.00
  • currency_code string
    币种
    Example: USD
  • phone string
    电话
    Example: 13100000000
  • price string
    物流运费,精度2
    Example: 8.00
  • price_setobject
    物流运费多资源信息
  • presentment_moneyobject
    买家侧金额信息
  • amount string
    金额,精度2
    Example: 8.00
  • currency_code string
    币种
    Example: USD
  • shop_moneyobject
    店铺侧金额信息
  • amount string
    金额,精度2
    Example: 8.00
  • currency_code string
    币种
    Example: USD
  • requested_fulfillment_service_id string
    运输服务代号
    Example: -
  • shipping_price string
    原运费金额值(非折扣后金额)
    Example: 8.00
  • source string
    运费来源
    Example: 来源
  • tax_linesobject[]
    物流征税列表
  • price string
    税费
    Example: 8.00
  • price_setobject
    税费多币种信息
  • presentment_moneyobject
    买家侧金额信息
  • amount string
    金额
    Example: 8.00
  • currency_code string
    币种
    Example: USD
  • shop_moneyobject
    卖家侧金额信息
  • amount string
    金额,精度2
    Example: 8.00
  • currency_code string
    币种
    Example: USD
  • rate double
    税率
    Example: 1
  • title string
    税费名称
    Example: 税费名称
  • title string
    物流名称
    Example: 顺丰国际
  • source_identifier string
    用于识别业务处理的id标识
    Example: -
  • source_name string
    用于识别业务处理的类型筛选
    Example: -
  • source_url string
    跳转到店铺的链接的html格式信息
    Example: -
  • status string
    订单状态 open=处理中,cancelled-已取消
    Example: open
  • store_id string
    店铺id
    Example: 1644828244663
  • subtotal_price string
    商品折后价总和, 商品总价 - 营销优惠 - 人工折扣
    Example: 8.00
  • subtotal_price_setobject
    商品折后价总和多币种信息
  • presentment_moneyobject
    买家侧金额信息
  • amount string
    金额,精度2
    Example: 1.00
  • currency_code string
    币种
    Example: USD
  • shop_moneyobject
    卖家侧金额信息
  • amount string
    金额,精度2
    Example: 8.00
  • currency_code string
    币种
    Example: USD
  • tags string
    订单标签,无
    Example: 标签
  • tax_linesobject[]
    税费信息
  • name string
    税费名称
    Example: 税费名称
  • price string
    税费,精度2
    Example: 8.00
  • price_setobject
    税费多币种信息
  • presentment_moneyobject
    买家侧金额信息
  • amount string
    金额,精度2
    Example: 8.00
  • currency_code string
    币种
    Example: USD
  • shop_moneyobject
    卖家侧金额信息
  • amount string
    金额,精度2
    Example: 8.00
  • currency_code string
    币种
    Example: USD
  • rate double
    税率
    Example: 1
  • title string
    税费名称
    Example: 税费名称
  • tax_number string
    税号
    Example: -
  • tax_type string
    税号类型
    Example: -
  • taxes_included boolean
    总计额是否包含税额
    Example: true
  • total_discounts string
    折扣总额,营销优惠+人工折扣
    Example: 8.00
  • total_discounts_setobject
    折扣总额多币种信息
  • presentment_moneyobject
    买家侧金额信息
  • amount string
    金额,精度2
    Example: 8.00
  • currency_code string
    币种
    Example: USD
  • shop_moneyobject
    卖家侧金额信息
  • amount string
    金额,精度2
    Example: 8.00
  • currency_code string
    币种
    Example: USD
  • total_line_items_price string
    商品原价总和,精度2
    Example: 8.00
  • total_line_items_price_setobject
    商品原价总和,多币种信息
  • presentment_moneyobject
    卖家侧金额信息
  • amount string
    金额,精度2
    Example: 8.00
  • currency_code string
    币种
    Example: USD
  • shop_moneyobject
    卖家侧金额信息
  • amount string
    金额,精度2
    Example: 8.00
  • currency_code string
    币种
    Example: USD
  • total_outstanding string
    未付款金额总和,精度2
    Example: 8.00
  • total_shipping_price_setobject
    订单运费总和,多币种信息
  • presentment_moneyobject
    买家侧金额信息
  • amount string
    金额,精度2
    Example: 8.00
  • currency_code string
    币种
    Example: USD
  • shop_moneyobject
    卖家侧金额信息
  • amount string
    金额,精度2
    Example: 8.00
  • currency_code string
    币种
    Example: USD
  • total_tax string
    税费总和,精度2, 商品税 + 运费税
    Example: 8.00
  • total_tax_setobject
    税费总和,多币种信息
  • presentment_moneyobject
    买家侧金额信息
  • amount string
    金额,精度2
    Example: 8.00
  • currency_code string
    币种
    Example: USD
  • shop_moneyobject
    卖家侧金额信息
  • amount string
    金额,精度2
    Example: 8.00
  • currency_code string
    币种
    Example: USD
  • total_tip_received string
    小费,精度2
    Example: 8.00
  • total_weight double
    商品总重量(g)
    Example: 1
  • updated_at string
    订单更新时间,(格式见IOS8601)
    Example: 2021-08-16T08:27:57+00:00
  • user_id string
    买家id
    Example: 4201057495
  • utm_parameters string
    广告业务专用的参数,用于广告的归因计算
    Example: -
API Explorer
https://openapiceshidianpu.myshopline.com/admin/openapi/v20220601

ParamOptions

— header required
— query
— query
— query
— query
— query
— query
— query
— query
— query
— query
— query
— query
— query
— query
— query
— query
— query
— query
— query

Language

curl --request GET \
--url https://openapiceshidianpu.myshopline.com/admin/openapi/v20220601/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
指定订单查询,未发货订单
Response
{
"orders": [
{
"adjust_price": "0.0",
"adjust_price_set": {
"presentment_money": {
"amount": "0.0",
"currency_code": "USD"
},
"shop_money": {
"amount": "0.0",
"currency_code": "USD"
}
},
"billing_address": {
"address1": "8899 Garfield Street",
"address2": "",
"city": "Bethesda",
"company": "",
"country": "美国",
"country_code": "US",
"first_name": "Tom",
"last_name": "Washington",
"name": "Tom Washington",
"phone": "1333333333",
"province": "马里兰州",
"province_code": "4200025",
"zip": "20817"
},
"browser_ip": "157.119.232.38",
"cart_token": "e1aa9e95bf62421d9b9121415dbe17d2",
"checkout_id": "2405753187063533969009",
"checkout_token": "c2c4a575d187a6d5d39690a976d4e4b2",
"client_details": {
"browser_ip": "157.119.232.38",
"session_hash": "7bd95737-defd-44ff-9282-ddd01c43d190",
"user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36"
},
"created_at": "2023-01-09T06:19:42+00:00",
"currency": "USD",
"current_subtotal_price": "3.06",
"current_subtotal_price_set": {
"presentment_money": {
"amount": "3.06",
"currency_code": "USD"
},
"shop_money": {
"amount": "3.06",
"currency_code": "USD"
}
},
"current_total_discounts": "0.0",
"current_total_discounts_set": {
"presentment_money": {
"amount": "0.0",
"currency_code": "USD"
},
"shop_money": {
"amount": "0.0",
"currency_code": "USD"
}
},
"current_total_price": "5.06",
"current_total_price_set": {
"presentment_money": {
"amount": "5.06",
"currency_code": "USD"
},
"shop_money": {
"amount": "5.06",
"currency_code": "USD"
}
},
"current_total_tax": "0.0",
"current_total_tax_set": {
"presentment_money": {
"amount": "0.0",
"currency_code": "USD"
},
"shop_money": {
"amount": "0.0",
"currency_code": "USD"
}
},
"customer": {
"addresses": {
"address1": "8899 Garfield Street",
"address2": "",
"city": "Bethesda",
"country": "美国",
"country_code": "US",
"first_name": "Tom",
"last_name": "Washington",
"name": "Tom Washington",
"phone": "1333333333",
"province": "马里兰州",
"province_code": "4200025",
"zip": "20817"
},
"created_at": "2021-08-03T07:31:30+00:00",
"currency": "USD",
"email": "test@test.com",
"id": "2200103332",
"last_name": "Tom Washington"
},
"customer_locale": "US",
"deduct_member_point_amount": "0.0",
"discount_codes": [],
"email": "test@test.com",
"financial_status": "paid",
"fulfillment_status": "null",
"fulfillments": [],
"hidden_order": false,
"id": "21057531938097196308469009",
"landing_site": "https://us-store.myshopline.com/",
"line_items": [
{
"attribute": "",
"fulfillable_quantity": 3,
"fulfillment_status": "null",
"gift_card": false,
"grams": 0,
"id": "37255",
"image_url": "https://img-va.myshopline.com/image/store/3400002118/1610440173818/u-3724457815,2606135917-fm-253-fmt-auto-app-138-f-JPEG.png?w=400&h=241",
"location_id": "5707248188378889217",
"name": "哈密瓜",
"price": "1.0",
"product_id": "16057477328340821055433562",
"quantity": 3,
"requires_shipping": true,
"sku": "11111",
"tags": "",
"tax_lines": [
{
"price": "0.27",
"price_set": {
"presentment_money": {
"amount": "0.27",
"currency_code": "USD"
},
"shop_money": {
"amount": "0.27",
"currency_code": "USD"
}
},
"rate": 0.1,
"title": "product_tax"
},
{
"price": "0.09",
"price_set": {
"presentment_money": {
"amount": "0.09",
"currency_code": "USD"
},
"shop_money": {
"amount": "0.09",
"currency_code": "USD"
}
},
"rate": 0.1,
"title": "express_tax"
}
],
"taxable": false,
"title": "哈密瓜",
"variant_id": "18057477328344679815173562",
"variant_title": ""
},
{
"fulfillable_quantity": 1,
"fulfillment_status": "null",
"gift_card": false,
"id": "37256",
"image_url": "https://cdn.myshopline.com/image/product/freight_product.png",
"location_id": "5686538462825589820",
"name": "运费险",
"price": "0.06",
"product_id": "SHIP202203175201314",
"quantity": 1,
"requires_shipping": false,
"tax_lines": [
{
"price": "0.0",
"price_set": {
"presentment_money": {
"amount": "0.0",
"currency_code": "USD"
},
"shop_money": {
"amount": "0.0",
"currency_code": "USD"
}
},
"rate": 0.1,
"title": "product_tax"
},
{
"price": "0.0",
"price_set": {
"presentment_money": {
"amount": "0.0",
"currency_code": "USD"
},
"shop_money": {
"amount": "0.0",
"currency_code": "USD"
}
},
"rate": 0.1,
"title": "express_tax"
}
],
"taxable": false,
"title": "运费险",
"variant_id": "SHIP202203175201314"
}
],
"locations": [
{
"address": "201 W Oakwood Dr",
"address_add": "",
"city": "Baling",
"country": "马来西亚",
"country_code": "MY",
"district": "Baling",
"location_id": "5686538462825589820",
"name": "马来西亚兜底奥术大师多撒",
"phone": "189 0000 0001",
"province": "Kedah",
"zip": "32819"
},
{
"address": "南村万博万达广场B1-33F",
"address_add": "奥术大师多",
"city": "广州市",
"country": "中国",
"country_code": "CN",
"district": "番禺区",
"location_id": "5707248188378889217",
"name": "{\"address\":\"新增一个地址webhook\",\"address_add\":\"新增一个地址webhook\",\"city\":\"通辽市\",\"country\":\"中国\",\"country_code\":",
"phone": "2323232323",
"province": "广东省",
"zip": "560000"
}
],
"name": "22224136",
"note_attributes": [],
"order_at": "2023-01-09T06:19:42+00:00",
"order_status_url": "https://us-store.myshopline.com/trade/thank_you?mainOrderMark=47F33588D380269C1197765DDF6C0A0A2A36701FDCB1B799F1B4AB81027AB80C&mainOrderSeq=20057531938096692991979009",
"payment_details": [
{
"create_time": "2023-01-09T06:19:42+00:00",
"pay_amount": 5.06,
"pay_channel": "codPay",
"pay_seq": "23057531938106591549439009",
"pay_status": "paid"
}
],
"payment_gateway_names": [
"codPay"
],
"presentment_currency": "USD",
"referring_site": "",
"shipping_address": {
"address1": "8899 Garfield Street",
"address2": "",
"city": "Bethesda",
"company": "",
"country": "美国",
"country_code": "US",
"district": "",
"district_code": "",
"first_name": "Tom",
"last_name": "Washington",
"name": "Tom Washington",
"phone": "1333333333",
"province": "马里兰州",
"province_code": "4200025",
"zip": "20817"
},
"shipping_lines": [
{
"code": "",
"price": "1.0",
"price_set": {
"presentment_money": {
"amount": "1.0",
"currency_code": "USD"
},
"shop_money": {
"amount": "1.0",
"currency_code": "USD"
}
},
"tax_lines": [
{
"price": "0.0",
"price_set": {
"presentment_money": {
"amount": "0.0",
"currency_code": "USD"
},
"shop_money": {
"amount": "0.0",
"currency_code": "USD"
}
},
"rate": 0,
"title": "express_tax"
}
],
"title": "美利坚"
}
],
"source_identifier": "",
"source_name": "",
"source_url": "",
"status": "open",
"store_id": "1610440173818",
"subtotal_price": "3.06",
"subtotal_price_set": {
"presentment_money": {
"amount": "3.06",
"currency_code": "USD"
},
"shop_money": {
"amount": "3.06",
"currency_code": "USD"
}
},
"tax_lines": [
{
"name": "GST",
"price": "0.09",
"price_set": {
"presentment_money": {
"amount": "0.09",
"currency_code": "USD"
},
"shop_money": {
"amount": "0.09",
"currency_code": "USD"
}
},
"rate": 0.1,
"title": "express_tax"
},
{
"name": "GST",
"price": "0.27",
"price_set": {
"presentment_money": {
"amount": "0.27",
"currency_code": "USD"
},
"shop_money": {
"amount": "0.27",
"currency_code": "USD"
}
},
"rate": 0.1,
"title": "product_tax"
}
],
"tax_number": "",
"taxes_included": true,
"total_discounts": "0.0",
"total_discounts_set": {
"presentment_money": {
"amount": "0.0",
"currency_code": "USD"
},
"shop_money": {
"amount": "0.0",
"currency_code": "USD"
}
},
"total_line_items_price": "3.06",
"total_line_items_price_set": {
"presentment_money": {
"amount": "3.06",
"currency_code": "USD"
},
"shop_money": {
"amount": "3.06",
"currency_code": "USD"
}
},
"total_outstanding": "0.0",
"total_shipping_price_set": {
"presentment_money": {
"amount": "1.0",
"currency_code": "USD"
},
"shop_money": {
"amount": "1.0",
"currency_code": "USD"
}
},
"total_tax": "0.0",
"total_tax_set": {
"presentment_money": {
"amount": "0.0",
"currency_code": "USD"
},
"shop_money": {
"amount": "0.0",
"currency_code": "USD"
}
},
"total_tip_received": "1.0",
"total_weight": 0,
"updated_at": "2023-01-09T06:20:44+00:00",
"user_id": "2200103332",
"utm_parameters": "{\"sl_source_ad_platform\":\"\",\"sl_source_campaign_id\":\"\",\"sl_source_placement\":\"\",\"sl_source_ad_id\":\"\",\"utm_source\":\"\",\"utm_medium\":\"\",\"utm_campaign\":\"\",\"utm_adset\":\"\",\"utm_ad\":\"\",\"utm_content\":\"\",\"utm_term\":\"\"}"
}
]
}
这篇文章对你有帮助吗?

Error loading component.

Error loading component.