cancel_order
Cancel an order in the ShipBob API by providing the order ID and optional reason, enabling efficient management of e-commerce fulfillment processes.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
orderId | Yes | The ID of the order to cancel | |
reason | No | Reason for cancellation |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"orderId": {
"description": "The ID of the order to cancel",
"type": "string"
},
"reason": {
"description": "Reason for cancellation",
"type": "string"
}
},
"required": [
"orderId"
],
"type": "object"
}