重新预定履约时间
POST https://{handle}.myshopline.com/admin/openapi/v20260301/fulfillment_orders/:order_id/:fulfillment_order_id/reschedule.json
handle :店铺的唯一标识符,值为店铺域名的前缀。例如,域名为 open001.myshopline.com 的店铺,其 handle 是 open001 。重新预定履约时间
路径参数
- 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
请求体
fulfillment_orderobject required
入参new_fulfill_at string required新可发货时间例子:"2021-05-26T10:00:00-04:00"
状态码
- 200
- 401
- 429
更多状态码信息,参考 HTTP 状态码。
响应头
traceId
请求的全局唯一标识符。用于追踪请求在系统中的流转,以便于问题发生时进行定位和调试。
响应体
fulfillment_orderobject
履约单详情line_itemsobject[]
商品行信息variant_id string商品sku例子:"18055128824718541486811487"fulfillable_quantity long可履约商品数量例子:1fulfillment_order_id string履约单id例子:"4005740193290131085320"id string履约单商品行id例子:"1039283"line_item_id string商品行id例子:"518995019"quantity long订单商品行商品数量例子:1shop_id string店铺id例子:"1644828244663"order_id string订单id例子:"21057401932826316666967110"shop_id string店铺id例子:"1644828244663"destinationobject
收货人信息address2 string收货人地址2例子:"Chestnut Street 92"first_name string收货人名称例子:"Bob"phone string收货人电话号码例子:"+1(502)-459-2181"province string收货人省份例子:Kentuckycity string收货人城市例子:"Louisville"company string收货人公司例子:"Apple inc"country string收货人国家例子:"United States"address1 string收货人地址1例子:"Chestnut Street 92"last_name string收货人姓氏例子:"Norman"zip string收货人地址邮编例子:"40202"email string收货人邮箱例子:"bob.norman@mail.example.com"id string履约单id例子:"4005740193290131085320"supported_actions array履约单支持的操作,包括:create_fulfillment -- 创建发货,move -- 移动到新地点,hold -- 暂停发货,release_hold -- (暂停之后)开始发货例子:["[\"create_fulfillment\"]"]assigned_location_id string被分配的地点id例子:"5327026538935748524"status string履约单状态,包括:open,in_progress,closed,cancelled,incomplete,on_hold,scheduled例子:"open"assigned_locationobject
被分配的地点详情zip string地点邮编例子:"40202"name string地点名称例子:"Apple Api Shipwire"city string城市例子:"Louisville"address1 string地址1例子:"Chestnut Street 92"location_id string地点id例子:"5327026538935748524"province string地点省份例子:"Kentucky"address2 string地址2例子:"Chestnut Street 92"country_code string国家码例子:"US"phone string地点电话号码例子:"+1(502)-459-3417"fulfill_at string可发货时间(格式见IOS8601)例子:"2023-11-19T03:43:00-05:00"request_status string请求状态,包括:accepted,cancellation_accepted, cancellation_rejected,cancellation_Requested,closed,rejected,submitted,unsubmitted例子:"submitted"
API Explorer
调试台
这篇文章对你有帮助吗?