Skip to content
Esc
↑↓navigate↵open⌘Jpreview

Delete order line

Removes an order line from an existing order. Creates an order history entry and publishes an order updated event.

DELETE/api/v1/{team_slug}/{app_slug}/orders/{order_id}/lines/{line_id}
Authorization
AuthorizationBearer token · headerrequired

Management API token, sent as Authorization: Bearer <token>.

Path parameters
app_slugstringrequired

App slug

team_slugstringrequired

Team slug

order_idstringrequired

Order ID (UUID)

line_idstringrequired

Order line ID (UUID)

Responses
200

Order line deleted successfully

datainternal_pkg_webserver_v1.MessageResponserequired
Show properties
messagestring
detailsstring[]

Additional contextual information about the response. Used to provide supplementary details beyond the main data payload, such as validation warnings or processing notes

successbooleanrequired
400

Invalid request (line doesn't belong to order)

detailsstring[]
messagestring
successbooleanrequired
401

Unauthorized access

detailsstring[]
messagestring
successbooleanrequired
404

Order or order line not found

detailsstring[]
messagestring
successbooleanrequired
500

Internal server error

detailsstring[]
messagestring
successbooleanrequired
Try it
Server
Authorization
Parameters
Request
curl -X DELETE 'https://api.enad.io/api/v1/string/string/orders/string/lines/string' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Accept: application/json'
Response
{
  "data": {
    "message": "string"
  },
  "details": [
    "string"
  ],
  "success": true
}