Delete a sales order
Permanently 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.
Path parameters
The QuickBooks-assigned unique identifier of the sales order to delete.
The QuickBooks-assigned unique identifier of the sales order to delete.
Headers
The ID of the End-User to receive this request.
The ID of the End-User to receive this request.
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
Changed in 4 of the 46 revisions of this API.311
- ●
for the
pathrequest parameterid, the maxLength was set to36request-parameter-max-length-set
- ●
- ▲
response property
refNumberlist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
- ▲
the response property
refNumberbecame nullable for the status200response-property-became-nullable
- ○
response property
refNumberlist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response200response-property-list-of-types-narrowed
- ▲
- ▲
response property
refNumberlist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲