cancelSalesOrder
WRITECancel sales order.
POST /api/v1/sales/cancelSalesOrder
curl -X POST '<your-host>/api/v1/sales/cancelSalesOrder' \
-H 'Authorization: Bearer <api-key>' \
-H 'Content-Type: application/json' \
-d '{
"id": "string"
}'Response
{
"success": true,
"message": "string",
"cancelledJobIds": [
"string"
]
}Parameters
ParameterType
Input schema
schema
{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"jobs": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"id"
]
}