Skip to main content

Check Fulfillments Deletable

POST 

/api/sales-order-fulfillments/deletable

Check whether fulfillments can be voided (deleted). A fulfillment is not deletable when its linked shipping-provider order is already marked as shipped at the provider.

Required scope: orders:write

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Body:

  • ids (array of integers, required, min 1) — fulfillment IDs to check. Unknown IDs fail validation with 422.

Returns one entry per fulfillment with deletable and, when not deletable, a human-readable reason. Use before calling the void (DELETE) endpoint.

Read-only — no external calls and no changes. Requires the orders:write token scope.

Request

Responses

OK

Response Headers
    Content-Type