履约单列表查询
GET https://{handle}.myshopline.com/admin/openapi/v20250601/fulfillment_orders/fulfillment_orders_search.json
handle
:店铺的唯一标识符,值为店铺域名的前缀。例如,域名为 open001.myshopline.com
的店铺,其 handle
是 open001
。搜索履约单列表
查询参数
- assignment_status string请求状态Example:
"unsubmitted"
- limit integer查询的数据数量,默认20,最大100条Example:
10
- location_ids string地点id列表Example:
"24826418,24826411"
- page_info string加密后的请求参数,包括所有的查询条件参数(除去queryParamData),用于上一页、下一页,直接取该字段解析访问Example:
"7AFD7393C6E7CF18672C038477E2EF6A463464BDBAF766DD8F8CB8E0085F82419A94B80084BCDA0B838B3F13C302A2C9044E"
- since_id string要查询的数据的订单号id的起始位置Example:
"21056199447626881527947685"
请求头
- 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
响应体
fulfillment_ordersobject[]
数据列表assigned_locationobject
被分配到的地点详情address1 string地址1Example:126 York Street
address2 string地址2Example:Unit 42
city string城市Example:Ottawa
country string国家或是地区名称Example:Canada
country_code string国家或是地区编码Example:CA
location_id string地点idExample:5668167071852661850
name string地点名称Example:Ottawa Store
phone string电话号码Example:18883290139
province string省份Example:Ontario
zip string邮编Example:A1B 2C3
assigned_location_id string被分配的地点idExample:5668167071852661850
delivery_method string物流方式,包括:shipping、pickup、local_delivery、noneExample:none
destinationobject
收货人地址address1 string地址1Example:Chestnut Street 12
address2 string地址2Example:Chestnut Street 13
city string城市Example:Louisville
company string公司Example:LLL
country string国家或地区名称Example:Canada
country_code string国家或地区编码Example:CA
delivery_store_code string本地配送门店id,仅本地配送时提供Example:A121
delivery_store_name string本地配送门店名称,仅本地配送时提供Example:Napo Shop
email string邮箱Example:sswe.t@mail.example.com
first_name stringfirstNameExample:Jack
id string唯一编码Example:1046000771
last_name stringlastNamename string顾客姓名Example:Jack Wang
phone string电话号码Example:18883290137
province string州省名称Example:Kentucky
province_code string州或是省编码,IOS 3166-2编码Example:KY
display_status string到店取货场景下才赋值。如果不是到店取货,或者是到店取货-未取货状态都返回nullExample:Picked up
fulfill_at string可发货时间(格式见IOS8601)Example:2023-04-12T22:59:52+08:00
fulfill_by string最晚发货时间(格式见IOS8601)Example:2023-04-12T22:59:52+08:00
fulfillment_holdsobject[]
暂停信息reason string暂停原因Example:something wrong
reason_note string暂停备注Example:something wrong
id string履约单idExample:4005740193290131085320
line_itemsobject[]
履约商品列表country_code_of_origin string原产地/发货地的国家代码Example:US
fulfillable_quantity long可履约商品数量Example:1
fulfillment_order_id string履约单idExample:4005740193290131085320
harmonized_system_code string海关编码Example:121
id string履约单商品表idExample:400574123
line_item_id string商品行idExample:40057889
quantity long商品行对应商品数量Example:1
shop_id string店铺idExample:541380002
variant_id string商品sku序列号Example:156223761
merchant_requestsobject[]
请求发货时的具体信息列表created_at string发生时间,(格式见IOS8601)Example:2023-04-12T22:59:52+08:00
kind string第三方请求状态,包括: submit:fulfillment_request,cancellation_requested,cancellation_requesExample:submit
message string备注Example:none
notify_customer boolean发货时是否通知客户Example:true
order_id string订单idExample:21057116277667827637773776
request_status string请求状态,包括:unsubmitted,submitted,rejected,closed,cancellation_requested,cancellation_rejected,cancellation_accepted,acceptedExample:unsubmitted
shop_id string店铺idExample:541380002
status string履约单状态,包括:open,in_progress,closed,cancelled,incomplete,on_hold,scheduledExample:open
supported_actions array履约单支持的操作Example:"create_fulfillment"
API Explorer
调试台
这篇文章对你有帮助吗?