Delete an Inventory Item
Permanently deletes an inventory item. This cannot be undone.
Orders that already reference the SKU retain their line items, but will no longer match an inventory record, so stock will not be adjusted for them.
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 ID for the inventory item.
100009The 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/inventory-items/100009" \
-X DELETE \
-H "ORDERDESK-STORE-ID: your-store-id" \
-H "ORDERDESK-API-KEY: your-api-key"
{
"status": "success",
"message": "Inventory Item 2509 Deleted",
"execution_time": "0.0836 seconds"
}Last updated
Was this helpful?

