Delete a sales order
Changed onPermanently deletes a sales order. The deletion will fail if the sales order is currently in use or has any linked transactions that are in use.
delete/quickbooks-desktop/sales-orders/{id}
Request
- Base URLhttps://api.conductor.is/v1
- AuthHTTP bearer
- TypeScripthttps://skmtc.dev/conductor-is/apis/conductor-api/docs/quickbooks-desktop/sales-orders/:id/delete.tsA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring required
The QuickBooks-assigned unique identifier of the sales order to delete.
Example:123ABC-1234567890
Headers
Conductor-End-User-Idstring required
The ID of the End-User to receive this request.
Example:end_usr_1234567abcdefg
Response
Returns a confirmation of the deletion with the ID of the deleted sales order.
Example response
{
"id": "123ABC-1234567890",
"objectType": "qbd_sales_order",
"refNumber": "SO-1234",
"deleted": true
}Changes
- warning
for the
pathrequest parameterid, the maxLength was set to36
- warning
- breaking
response property
refNumberlist-of-types was widened by adding typesnullto media typeapplication/jsonof response200
- breaking