Version: 202201
Cancel Fulfillment
POST/openapi/2022-01/orders/:order_id/fulfillments/:fulfillment_id/cancel
Cancels a specific fulfillment for an order. This action marks the fulfillment as cancelled, stopping any further processing or shipping operations.
Request
Path Parameters
order_id stringrequired
Order's ID
fulfillment_id stringrequired
Fulfillment's id
Responses
- 200
200
- application/json
- Schema
- Example
- Result
Schema
- Array [
- Array [
- ]
- ]
fulfillment object
idstring
Example:
23042b57-f30b-4642-8740-cbdc33115c8aorder_idstring
Example:
633130-00000001statusstring
Example:
cancelledtracking_companystring
Example:
shoplazzatracking_numberstring
Example:
111111111tracking_company_codestring
Example:
-1tracking_urlstring
Example:
created_atstring
Example:
2024-04-17T09:05:54Zupdated_atstring
Example:
2024-04-22T08:49:08Zline_items object[]
idstring
Example:
3eba6ade-e249-4e4d-b216-624cf2936e9eproduct_idstring
Example:
a1a88be0-a1d4-47e4-a2f2-ba6e131cf447variant_idstring
Example:
88e68830-4ef5-4125-bf7d-aef8047176b2variant_titlestring
Example:
S-blue-Tproduct_titlestring
Example:
shirtproduct_handlestring
Example:
shirtquantityinteger
Default value:
0Example:
1notestring
Example:
fulfillment_statusstring
Example:
waitingskustring
Example:
T-M-S-blue-T-A001004weight_unitstring
Example:
kgvendorstring
Example:
shoplazzaproduct_urlstring
Example:
/products/shirtcompare_at_pricestring
Example:
12.10imagestring
Example:
//cdn.shoplazza.com/ccf0794c594bad32a320eea0d6bfe40c.jpegpricestring
Example:
10.10totalstring
Example:
10.10weightstring
Example:
1.10properties object[]
namestring
Example:
sizevaluestring
Example:
Scustom_properties object
object
refund_quantityinteger
Default value:
0Example:
0refund_totalstring
Example:
0.00taxableboolean
Default value:
trueExample:
truerequires_shippingboolean
Default value:
trueExample:
trueshipping_quantityinteger
Default value:
0Example:
1{
"fulfillment": {
"id": "23042b57-f30b-4642-8740-cbdc33115c8a",
"order_id": "633130-00000001",
"status": "cancelled",
"tracking_company": "shoplazza",
"tracking_number": "111111111",
"tracking_company_code": "-1",
"tracking_url": "",
"created_at": "2024-04-17T09:05:54Z",
"updated_at": "2024-04-22T08:49:08Z",
"line_items": [
{
"id": "3eba6ade-e249-4e4d-b216-624cf2936e9e",
"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": 1,
"note": "",
"fulfillment_status": "waiting",
"sku": "T-M-S-blue-T-A001004",
"weight_unit": "kg",
"vendor": "shoplazza",
"product_url": "/products/shirt",
"compare_at_price": "12.10",
"image": "//cdn.shoplazza.com/ccf0794c594bad32a320eea0d6bfe40c.jpeg",
"price": "10.10",
"total": "10.10",
"weight": "1.10",
"properties": [
{
"name": "size",
"value": "S"
}
],
"custom_properties": {},
"refund_quantity": 0,
"refund_total": "0.00",
"taxable": true,
"requires_shipping": true,
"shipping_quantity": 1
}
]
}
}
{
"fulfillment": {
"id": "23042b57-f30b-4642-8740-cbdc33115c8a",
"order_id": "633130-00000001",
"status": "cancelled",
"tracking_company": "shoplazza",
"tracking_number": "111111111",
"tracking_company_code": "-1",
"tracking_url": "",
"created_at": "2024-04-17T09:05:54Z",
"updated_at": "2024-04-22T08:49:08Z",
"line_items": [
{
"id": "3eba6ade-e249-4e4d-b216-624cf2936e9e",
"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": 1,
"note": "",
"fulfillment_status": "waiting",
"sku": "T-M-S-blue-T-A001004",
"weight_unit": "kg",
"vendor": "shoplazza",
"product_url": "/products/shirt",
"compare_at_price": "12.10",
"image": "//cdn.shoplazza.com/ccf0794c594bad32a320eea0d6bfe40c.jpeg",
"price": "10.10",
"total": "10.10",
"weight": "1.10",
"properties": [
{
"name": "size",
"value": "S"
},
{
"name": "color",
"value": "blue"
},
{
"name": "type",
"value": "T"
}
],
"custom_properties": {},
"refund_quantity": 0,
"refund_total": "0.00",
"taxable": true,
"requires_shipping": true,
"shipping_quantity": 1
}
]
}
}