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 · headerrequiredManagement API token, sent as Authorization: Bearer <token>.
Path parameters
app_slugstringrequiredApp slug
team_slugstringrequiredTeam slug
order_idstringrequiredOrder ID (UUID)
line_idstringrequiredOrder line ID (UUID)
Responses
200
Order line deleted successfully
datainternal_pkg_webserver_v1.MessageResponserequiredShow propertiesHide properties
messagestringdetailsstring[]Additional contextual information about the response. Used to provide supplementary details beyond the main data payload, such as validation warnings or processing notes
successbooleanrequired400
Invalid request (line doesn't belong to order)
detailsstring[]messagestringsuccessbooleanrequired401
Unauthorized access
detailsstring[]messagestringsuccessbooleanrequired404
Order or order line not found
detailsstring[]messagestringsuccessbooleanrequired500
Internal server error
detailsstring[]messagestringsuccessbooleanrequired