获取指定履约单
GET https://{handle}.myshopline.com/admin/openapi/v20260301/fulfillment_orders/:order_id/:fulfillment_order_id.json
handle :店铺的唯一标识符,值为店铺域名的前缀。例如,域名为 open001.myshopline.com 的店铺,其 handle 是 open001 。根据订单id和履约单id获取指定履约单
路径参数
- fulfillment_order_id string required履约单id例子:
"4005740193290131085320" - order_id string required订单id例子:
"21057401932826316666967110"
请求头
- Content-Type string required字段值固定为
application/json; charset=utf-8。 - Authorization string required资源的访问令牌。参考 应用授权 获取访问令牌,然后将获取到的访问令牌以 Bearer 格式传入。例子:
Bearer eyJhbGciOiJIUzUxMiJ9.eyJhcHBLZXkiOiJmMjM3OWQyMTYyOGMzM2QxMWRiMWZkYjY5N2EzZjdjMjZlNGMwYTA5Iiwic2VsbGVySWQiOiIyMDAwMjM0ODgwIiwic3RvcmVJZCI6IjE2NzIzNjk3Mjk2MDYiLCJ2ZXJzaW9uIjoiVjIiLCJkb21haW4iOiJodHRwczovL3NsLW9wZW4tc2cubXlzaG9wbGluZS5jb20iLCJ0aW1lc3RhbXAiOjE2NzUzMTk0OTI0MzksImlzcyI6Inlzb3VsIiwiZXhwIjoxNzY5OTI3NDkyfQ.UwQzomM2veGCUaOZ0paUxq5dpc7DXuhHYFvsQ_uIAKduzWcb_j2E4q_36El83sp145D4cKbpcE5KCeeIz-JNQw
状态码
- 200
- 401
- 429
更多状态码信息,参考 HTTP 状态码。
响应头
traceId
请求的全局唯一标识符。用于追踪请求在系统中的流转,以便于问题发生时进行定位和调试。
响应体
fulfillment_orderobject
履约单详情line_itemsobject[]
商品行信息fulfillable_quantity long可履约商品数量例子:1line_item_id string商品行id例子:"518995019"country_code_of_origin string原产地/发货地的国家代码例子:"US"fulfillment_order_id string履约单id例子:"4005740193290131085320"harmonized_system_code string海关编码例子:"121"id string履约单商品行id例子:"1039283"shop_id string店铺id例子:"1644828244663"quantity long订单商品行商品数量例子:1variant_id string商品sku例子:"18055128824718541486811487"request_status string请求状态,包括:accepted,cancellation_accepted, cancellation_rejected,cancellation_Requested,closed,rejected,submitted,unsubmitted例子:"submitted"assigned_locationobject
被分配的地点详情country string国家或是地区名称例子:"United States"location_id string地点id例子:"5327026538935748524"zip string地点邮编例子:"40202"country_code string国家码例子:"US"name string地点名称例子:"Apple Api Shipwire"phone string地点电话号码例子:"+1(502)-459-3417"province string地 点省份例子:"Kentucky"address1 string地址1例子:"Chestnut Street 92"address2 string地址2例子:"Chestnut Street 92"city string城市例子:"Louisville"id string履约单id例子:"4005740193290131085320"status string履约单状态,包括:open,in_progress,closed,cancelled,incomplete,on_hold,scheduled例子:"open"fulfillment_holdsobject[]
履约暂定信息reason string原因例子:"out of stock"reason_note string备注例子:"customer require"merchant_requestsobject[]
请求发货时的具体信息列表notify_customer boolean发货时是否通知客户send_at string发生时间,(格式见IOS8601)例子:2021-08-04T23:59:59+08:00kind string第三方请求状态例子:"fulfillment_request"message string备注例子:"rose"supported_actions array履约单支持的操作,包括:create_fulfillment -- 创建发货,move -- 移动到新地点,hold -- 暂停发货,release_hold -- (暂停之后)开始发货例子:["[\"create_fulfillment\"]"]assigned_location_id string被分配的地点id例子:"5327026538935748524"destinationobject
收货人信息phone string