Delete an Order Item
Removes a line item from an order and recalculates the order totals. This cannot be undone.
Your API key, found under Store Settings on the API tab. This should be kept server-side.
Your store ID, found under Store Settings on the API tab.
Order Desk's internal order ID. This is not your source_id.
736745Order Desk's internal ID for the order item.
1670028The item was deleted.
Either success or error.
Describes the result. Always present when an error occurs.
Time taken to process the request.
0.1524 secondsAuthentication failed. See the Authentication guide, and note that an invalid store ID blocks your store rather than simply failing the request.
No record matches that ID in your store.
You are sending too fast. Wait X-Retry-After seconds. See
the Rate Limits guide.
The request could not be completed.
curl "https://app.orderdesk.me/api/v2/orders/736745/order-items/1670028" \
-X DELETE \
-H "ORDERDESK-STORE-ID: your-store-id" \
-H "ORDERDESK-API-KEY: your-api-key"
{
"status": "success",
"message": "Order Item Deleted",
"execution_time": "0.0836 seconds"
}Last updated
Was this helpful?

