v1

latestOpenAPI 3.0.02026-07-2455104.8 MB
Sales Order

Cancel sales order

Cancels a sales order. Only sales orders in status 'created' or 'completed' can be canceled. For draft sales orders use the delete endpoint.<br><br>

<h2>Warning: Multiple request body content types</h2> <p> Due to technical limitations, the information provided here may not display all available request body content types. We are currently working with our third-party documentation provider to address this issue. For a complete and accurate representation of the available content types, we recommend referring to the <a target="_blank" href="https://github.com/xentral/api-spec-public">full OpenAPI specification</a>. </p> <p> We apologize for any inconvenience caused and appreciate your understanding as we work to resolve this matter. </p> <h3>Available request content types:</h3> <ul> <li><b>application/json</b></li> <li>application/x-www-form-urlencoded</li> </ul>
post/api/v1/salesOrders/{id}/actions/cancel

Path parameters

idstring required

Resource identifier.

Example:17

The resource's identifier.

Request body

notifyCustomerboolean nullable

Response

Operation completed successfully, no response body