cancel_order
Cancel an order in ShipHero by providing the order ID and optional reason, ensuring efficient order management and processing.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
order_id | 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": {
"order_id": {
"description": "The ID of the order to cancel",
"type": "string"
},
"reason": {
"description": "Reason for cancellation",
"type": "string"
}
},
"required": [
"order_id"
],
"type": "object"
}