获取指定履约单
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履约单idExample:
"4005740193290131085320" - order_id string required订单idExample:
"21057401932826316666967110"
请求头
- Content-Type string required字段值固定为
application/json; charset=utf-8。 - Authorization string required资源的访问令牌。参考 应用授权 获取访问令牌,然后将获取到的访问令牌以 Bearer 格式传入。Example:
Bearer eyJhbGciOiJIUzUxMiJ9.eyJhcHBLZXkiOiJmMjM3OWQyMTYyOGMzM2QxMWRiMWZkYjY5N2EzZjdjMjZlNGMwYTA5Iiwic2VsbGVySWQiOiIyMDAwMjM0ODgwIiwic3RvcmVJZCI6IjE2NzIzNjk3Mjk2MDYiLCJ2ZXJzaW9uIjoiVjIiLCJkb21haW4iOiJodHRwczovL3NsLW9wZW4tc2cubXlzaG9wbGluZS5jb20iLCJ0aW1lc3RhbXAiOjE2NzUzMTk0OTI0MzksImlzcyI6Inlzb3VsIiwiZXhwIjoxNzY5OTI3NDkyfQ.UwQzomM2veGCUaOZ0paUxq5dpc7DXuhHYFvsQ_uIAKduzWcb_j2E4q_36El83sp145D4cKbpcE5KCeeIz-JNQw
状态码
- 200
- 401
- 429
更多状态码信息,参考 HTTP 状态码。
响应头
traceId
请求的全局唯一标识符。用于追踪请求在系统中的流转,以便于问题发生时进行定位和调试。
响应体
fulfillment_orderobject
履约单详情line_itemsobject[]
商品行信息fulfillable_quantity long可履约商品数量Example:1line_item_id string商品行idExample:"518995019"country_code_of_origin string原产地/发货地的国家代码Example:"US"fulfillment_order_id string履约单idExample:"4005740193290131085320"harmonized_system_code string海关编码Example:"121"id string履约单商品行idExample:"1039283"shop_id string店铺idExample:"1644828244663"quantity long订单商品行商品数量Example:1variant_id string商品skuExample:"18055128824718541486811487"request_status string请求状态,包括:accepted,cancellation_accepted, cancellation_rejected,cancellation_Requested,closed,rejected,submitted,unsubmittedExample:"submitted"assigned_locationobject
被分配的地点详情country string国家或是地区名称Example:"United States"location_id string地点idExample:"5327026538935748524"zip string地点邮编Example:"40202"country_code string国家码Example:"US"name string地点名称Example:"Apple Api Shipwire"phone string地点电话号码Example:"+1(502)-459-3417"province string地点省份Example:"Kentucky"address1 string地址1Example:"Chestnut Street 92"address2 string地址2Example:"Chestnut Street 92"city string城市Example:"Louisville"id string履约单idExample:"4005740193290131085320"status string履约单状态,包括:open,in_progress,closed,cancelled,incomplete,on_hold,scheduledExample:"open"fulfillment_holdsobject[]
履约暂定信息reason string原因Example:"out of stock"reason_note string备注Example:"customer require"merchant_requestsobject[]
请求发货时的具体信息列表notify_customer boolean发货时是否通知客户send_at string发生时间,(格式见IOS8601)Example:2021-08-04T23:59:59+08:00kind string第三方请求状态Example:"fulfillment_request"message string备注Example:"rose"supported_actions array履约单支持的操作,包括:create_fulfillment -- 创建发货,move -- 移动到新地点,hold -- 暂停发货,release_hold -- (暂停之后)开始发货Example:["[\"create_fulfillment\"]"]assigned_location_id string被分配的地点idExample:"5327026538935748524"destinationobject
收货人信息phone string收货人电话号码Example:"+1(502)-459-2181"province_code string州或是省编码,IOS 3166-2编码Example:"KY"province string收货人州省Example:"Kentucky"address1 string收货人地址1Example:"Chestnut Street 92"delivery_store_name string本地配送门店名称,仅本地配送时提供Example:"Xa Shop"country string收货人国家Example:"United States"city string收货人城市Example:"Louisville"first_name string收货人名称Example:"Bob"last_name string收货人姓氏Example:"Norman"address2 string收货人地址2Example:"Chestnut Street 92"zip string收货人地址邮编Example:"40202"delivery_store_code string本地配送门店id,仅本地配送时提供Example:"A121"company string收货人公司Example:"Apple inc"email string收货人邮箱Example:"bob.norman@mail.example.com"country_code string国家或地区编码Example:"US"name string顾客姓名Example:"Bob Norman"order_id string订单idExample:"21057401932826316666967110"shop_id string店铺idExample:"1644828244663"delivery_methodobject
履约单配送方式信息min_delivery_date_time string可发货时间Example:2021-08-04T23:59:59+08:00max_delivery_date_time string最晚发货时间Example:2021-08-04T23:59:59+08:00method_type string配送方式:local、none、pick_up、shippingExample:shipping
API Explorer
调试台
这篇文章对你有帮助吗?