查询弃单
GET https://{handle}.myshopline.com/admin/openapi/v20250601/orders/abandoned_orders.json
handle
:店铺的唯一标识符,值为店铺域名的前缀。例如,域名为 open001.myshopline.com
的店铺,其 handle
是 open001
。弃单列表
查询参数
- checkout_tokens stringcheckout凭证,多个以英文逗号分隔,最大支持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 stringqueryPageLinkParam
- 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,recoveredExample:
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
响应
- 200
- 401
- 429
更多状态码信息请参考 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结算页tokenclose_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商品售价,精度2Example:1.0
product_id stringspu序列号Example:16053272717023800781363258
quantity integer商品数量Example:2
sku stringsku序列号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,recoverdExample: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
调试台
这篇文章对你有帮助吗?
Error loading component.