Cancels a specific fulfillment for an order. This action marks the fulfillment as canceled, stopping any further processing or shipping operations

🔒

Requires write_order access scope. More access scope

The Cancel Fulfillment API cancels a specific fulfillment for an order. This action marks the fulfillment as canceled, stopping any further processing or shipping operations

Public Request Parameters

📘

Public Request Parameters

Path Parameters

ParameterTypeRequiredDescriptionExample
order_idstringYesOrder's unique identifier"ORD_123456"
fulfillment_idstringYesFulfillment's unique identifier"FUL_123456"

Response Description

Public Response Fields

📘

Public Response Parameters

Success Response

ParameterTypeRequiredDescriptionExample
codestringYesStatus code (e.g., "success")"success"
messagestringYesHuman-readable message"Fulfillment created"
dataobjectYes{}

Error Response

FieldTypeDescriptionExample
codestringThe error code indicating the type of issue.InvalidParameter
messagestringA detailed message describing the error.Order id is required.

Error Detail

Status CodeMessagePossible ReasonExample Response
400Bad RequestInvalid input format or request structure (e.g., missing required fields or incorrect data types).Bad Request
UnauthorizedThe request is missing valid authentication credentials or the credentials provided are invalid.Unauthorized
Language
Credentials
Header
URL
Click Try It! to start a request and see the response here!