版本:202201
查询履约列表
GET/openapi/2022-01/orders/:order_id/fulfillments
分页返回订单的履约列表。
请求
Path参数
order_id string必填
订单 ID。
Query参数
limit int32
Limit per page, maximum: 250
默认值:
50page int32
Page number
默认值:
1created_at_min string
筛选创建时间不早于该时间点的履约;ISO-8601 格式(例如 2023-01-01T00:00:00Z)。
created_at_max string
筛选创建时间不晚于该时间点的履约;ISO-8601 格式(例如 2023-01-01T00:00:00Z)。
updated_at_min string
筛选最后更新时间不早于该时间点的履约;ISO-8601 格式(例如 2023-01-01T00:00:00Z)。
updated_at_max string
筛选最后更新时间不晚于该时间点的履约;ISO-8601 格式(例如 2023-01-01T00:00:00Z)。
响应
- 200
- 404
- 422
200
- application/json
- 数据结构
- 示例
- Result
数据结构
- Array [
- Array [
- Array [
- ]
- ]
- ]
fulfillments object[]
idstring
示例:
49a731b0-1b7e-47c3-94d9-6d688f36201eorder_idstring
示例:
633130-00000012statusstring
示例:
finishedtracking_companystring
示例:
燕文物流tracking_numberstring
示例:
11111111111tracking_company_codestring
示例:
DJ-11343tracking_urlstring
示例:
created_atstring
示例:
2024-04-22T06:58:01Zupdated_atstring
示例:
2024-04-22T07:00:57Zline_items object[]
idstring
示例:
7037bd0b-cb6b-453a-a936-b349d0c8bf5dproduct_idstring
示例:
a1a88be0-a1d4-47e4-a2f2-ba6e131cf447variant_idstring
示例:
88e68830-4ef5-4125-bf7d-aef8047176b2variant_titlestring
示例:
S-blue-Tproduct_titlestring
示例:
shirtproduct_handlestring
示例:
shirtquantityinteger
默认值:
0示例:
2notestring
示例:
fulfillment_statusstring
示例:
partially_returnedskustring
示例:
T-M-S-blue-T-A001004weight_unitstring
示例:
kgvendorstring
示例:
shoplazzaproduct_urlstring
示例:
/products/shirtcompare_at_pricestring
示例:
97.00imagestring
示例:
//cdn.shoplazza.com/ccf0794c594bad32a320eea0d6bfe40c.jpegpricestring
示例:
81.00totalstring
示例:
162.00weightstring
示例:
1.10properties object[]
namestring
示例:
sizevaluestring
示例:
Scustom_properties object
object
refund_quantityinteger
默认值:
0示例:
0refund_totalstring
示例:
81.00taxableboolean
默认值:
true示例:
truerequires_shippingboolean
默认值:
true示例:
trueshipping_quantityinteger
默认值:
0示例:
2{
"fulfillments": [
{
"id": "49a731b0-1b7e-47c3-94d9-6d688f36201e",
"order_id": "633130-00000012",
"status": "finished",
"tracking_company": "燕文物流",
"tracking_number": "11111111111",
"tracking_company_code": "DJ-11343",
"tracking_url": "",
"created_at": "2024-04-22T06:58:01Z",
"updated_at": "2024-04-22T07:00:57Z",
"line_items": [
{
"id": "7037bd0b-cb6b-453a-a936-b349d0c8bf5d",
"product_id": "a1a88be0-a1d4-47e4-a2f2-ba6e131cf447",
"variant_id": "88e68830-4ef5-4125-bf7d-aef8047176b2",
"variant_title": "S-blue-T",
"product_title": "shirt",
"product_handle": "shirt",
"quantity": 2,
"note": "",
"fulfillment_status": "partially_returned",
"sku": "T-M-S-blue-T-A001004",
"weight_unit": "kg",
"vendor": "shoplazza",
"product_url": "/products/shirt",
"compare_at_price": "97.00",
"image": "//cdn.shoplazza.com/ccf0794c594bad32a320eea0d6bfe40c.jpeg",
"price": "81.00",
"total": "162.00",
"weight": "1.10",
"properties": [
{
"name": "size",
"value": "S"
}
],
"custom_properties": {},
"refund_quantity": 0,
"refund_total": "81.00",
"taxable": true,
"requires_shipping": true,
"shipping_quantity": 2
}
]
}
]
}
{
"fulfillments": [
{
"id": "49a731b0-1b7e-47c3-94d9-6d688f36201e",
"order_id": "633130-00000012",
"status": "finished",
"tracking_company": "燕文物流",
"tracking_number": "11111111111",
"tracking_company_code": "DJ-11343",
"tracking_url": "",
"created_at": "2024-04-22T06:58:01Z",
"updated_at": "2024-04-22T07:00:57Z",
"line_items": [
{
"id": "7037bd0b-cb6b-453a-a936-b349d0c8bf5d",
"product_id": "a1a88be0-a1d4-47e4-a2f2-ba6e131cf447",
"variant_id": "88e68830-4ef5-4125-bf7d-aef8047176b2",
"variant_title": "S-blue-T",
"product_title": "shirt",
"product_handle": "shirt",
"quantity": 2,
"note": "",
"fulfillment_status": "partially_returned",
"sku": "T-M-S-blue-T-A001004",
"weight_unit": "kg",
"vendor": "shoplazza",
"product_url": "/products/shirt",
"compare_at_price": "97.00",
"image": "//cdn.shoplazza.com/ccf0794c594bad32a320eea0d6bfe40c.jpeg",
"price": "81.00",
"total": "162.00",
"weight": "1.10",
"properties": [
{
"name": "size",
"value": "S"
},
{
"name": "color",
"value": "blue"
},
{
"name": "type",
"value": "T"
}
],
"custom_properties": {},
"refund_quantity": 0,
"refund_total": "81.00",
"taxable": true,
"requires_shipping": true,
"shipping_quantity": 2
}
]
}
]
}
404
- application/json
- 数据结构
- 示例
- Result
数据结构
errorsstring[]
{
"errors": [
"Record not found"
]
}
{ "errors": ["Record not found"] }
422
- text/plain
无 Schema