需要 read_orders 权限点。
更多权限点使用信息,请参考:
GET https://{handle}.myshopline.com/admin/openapi/v20250601/orders/abandoned_orders.json
handle :店铺的唯一标识符,值为店铺域名的前缀。例如,域名为 open001.myshopline.com 的店铺,其 handleopen001
弃单列表
查询参数
  • checkout_tokens string
    checkout凭证,多个以英文逗号分隔,最大支持100个
    Example: c2c4a57472e5e0c8a760f2f2f9c5c8b6,xxxx
  • created_at_max string
    弃单创建时间(截至)
  • created_at_min string
    弃单创建时间(起始)
  • ids string
    弃单ID,多个使用英文逗号拼接
    Example: 2405747245402807605252, 2405747245401234562643
  • limit integer
    查询的数据数量,默认20,最大100条
    Example: 100
  • page_info string
    查询参数密文
  • query_page_link_param string
    queryPageLinkParam
  • since_id string
    要查询的数据的弃单号id的起始位置起始位置
    Example: 2405747245402807605252
  • sorts object[]
    排序方式,传入urlencode编码后的JSON数组,包含以下字段:
    • key:排序字段
    • sort_type :排序类型(升序asc、降序desc)
  • key string
    排序字段
    Example: abandonedOrderSeq
  • sort_type string
    排序类型(升序asc、降序desc)
  • status string
    状态:draft,open,recovered
    Example: open
  • updated_at_max string
    弃单创建时间(截至)
  • updated_at_min string
    弃单创建时间(起始)
请求头
  • 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
响应体
  • abandoned_ordersobject[]
    弃单
  • abandoned_checkout_url string
    弃单关联的结账页链接
  • billing_addressobject
    账单地址信息
  • address1 string
    详细地址信息1,用作补充信息
    Example: 8899 Garfield Street
  • address2 string
    详细地址信息2,用作补充信息
    Example: Apartment 5
  • city string
    城市名称
  • company string
    公司名称
  • country string
    国家或是地区名称
    Example: 美国
  • country_code string
    国家或是地区编码,两位的编码缩写(ISO-3166-1)
    Example: US
  • first_name string
    Example: Tom
  • last_name string
    Example: Washington
  • name string
    全名
  • phone string
    联系电话
    Example: 13100000000
  • province string
    州或是省名称
    Example: 加利福尼亚州
  • province_code string
    州或是省编码,自定义编码
    Example: 4200006
  • zip string
    收货地址邮政编号
    Example: 92503
  • checkout_token string
    结算页token
  • close_at string
    弃单关闭时间: 1)自动关闭(60日未成单系统发起关闭) 2)通过该草稿单生成订单推动关闭
    Example: 2022-11-24T18:44:11+08:00
  • completed_at string
    弃单完成时间(生成订单)
    Example: 2022-11-24T18:44:11+08:00
  • created_at string
    弃单的创建时间
    Example: 2022-11-24T18:44:11+08:00
  • currency string
    店铺币种
    Example: USD
  • customerobject
    用户
  • addressesobject
    地址
  • address1 string
    详细地址信息1,用作补充信息
    Example: 8899 Garfield Street
  • address2 string
    详细地址信息2,用作补充信息
    Example: Apartment 5
  • city string
    城市名称
    Example: Riverside
  • country string
    国家或是地区名称
    Example: 美国
  • country_code string
    国家或是地区编码,两位的编码缩写(ISO-3166-1)
    Example: US
  • first_name string
    Example: Tom
  • last_name string
    Example: Washington
  • name string
    全名
  • phone string
    联系电话
    Example: 13100000000
  • province string
    州或是省名称
    Example: 加利福尼亚州
  • province_code string
    州或是省编码,自定义编码
    Example: 4200006
  • zip string
    收货地址邮政编号
    Example: 92503
  • currency string
    店铺币种信息
    Example: USD
  • email string
    会员联系邮箱
    Example: Washingtontest@gmail.com
  • first_name string
    Example: Tom
  • id string
    用户ID信息
    Example: 4211450692
  • last_name string
    Example: Washington
  • phone string
    会员联系手机号
  • discount_codesobject[]
    折扣码信息
  • amount string
    折扣码优惠金额(非折扣码时为活动优惠)
    Example: 10.00
  • code string
    折扣码(非折扣码时为空)
    Example: FKSEFIJESZZZ
  • type string
    营销优惠类型:减金额;打折;免运费;固定售价;最低价商品免费;打包价;第N件打折
    Example: 减金额
  • email string
    用户联系邮箱
  • id string
    弃单编号
    Example: 2405686780676835647629
  • line_itemsobject[]
    商品信息
  • price string
    商品售价,精度2
    Example: 1.0
  • product_id string
    spu序列号
    Example: 16053272717023800781363258
  • quantity integer
    商品数量
    Example: 2
  • sku string
    sku序列号
    Example: 18053272717023800781363258
  • note string
    消费者备注
    Example: 尽快发货
  • note_attributesobject[]
    附加信息
  • name string
    名称
  • value string
  • phone string
    用户联系手机号
  • presentment_currency string
    交易币种
    Example: USD
  • recovery_status string
    召回状态:未召回not_recovered,已召回recovered 弃单发送召回邮件但未成单:未召回; 弃单召回邮件发送后成单,则启动状态:已召回
    Example: recovered
  • shipping_addressobject
    收货地址信息
  • address1 string
    详细地址信息1,用作补充信息
    Example: 8899 Garfield Street
  • address2 string
    详细地址信息2,用作补充信息
    Example: Apartment 5
  • city string
    城市名称
    Example: Riverside
  • company string
    公司名称
  • country string
    国家或是地区名称
    Example: 美国
  • country_code string
    国家或是地区编码,两位的编码缩写(ISO-3166-1)
    Example: US
  • first_name string
    Example: Tom
  • last_name string
    Example: Washington
  • name string
    全名
  • phone string
    联系电话
    Example: 13100000000
  • province string
    州或是省名称
    Example: 加利福尼亚州
  • province_code string
    州或是省编码,自定义编码
    Example: 4200006
  • zip string
    收货地址邮政编号
    Example: 92503
  • shipping_linesobject[]
    物流信息
  • code string
    运费模板编码,当为Local delivery时为本地配送
  • phone string
    本地配送地点的商户联系电话,其他为空
  • title string
    运费模板名称
  • status string
    弃单状态:draft,open,recoverd
    Example: recoverd
  • subtotal_price string
    商品折扣后总金额
  • total_discounts string
    折扣总金额
  • total_duties string
    总关税
    Example: 8.88
  • total_line_items_price string
    商品成交价(会员价、售价和限时折扣)总和
  • total_price string
    订单总金额
  • total_tax string
    订单总税费金额
  • updated_at string
    弃单更新时间
    Example: 2022-11-24T18:44:11+08:00
  • user_id string
    用户id
API Explorer
https://openapiceshidianpu.myshopline.com/admin/openapi/v20250601

ParamOptions

header required
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/v20250601/orders/abandoned_orders.json \
--header 'Authorization: Bearer eyJhbGciOiJIUzUxMiJ9.eyJhcHBLZXkiOiJmMjM3OWQyMTYyOGMzM2QxMWRiMWZkYjY5N2EzZjdjMjZlNGMwYTA5Iiwic2VsbGVySWQiOiIyMDAwMjM0ODgwIiwic3RvcmVJZCI6IjE2NzIzNjk3Mjk2MDYiLCJ2ZXJzaW9uIjoiVjIiLCJkb21haW4iOiJodHRwczovL3NsLW9wZW4tc2cubXlzaG9wbGluZS5jb20iLCJ0aW1lc3RhbXAiOjE2NzUzMTk0OTI0MzksImlzcyI6Inlzb3VsIiwiZXhwIjoxNzY5OTI3NDkyfQ.UwQzomM2veGCUaOZ0paUxq5dpc7DXuhHYFvsQ_uIAKduzWcb_j2E4q_36El83sp145D4cKbpcE5KCeeIz-JNQw' \
--header 'Content-Type: application/json; charset=utf-8' \
--header 'accept: application/json'
这篇文章对你有帮助吗?