curl --request DELETE \
--url https://public-api.stora.co/2025-09/orders/{order_id}/line_items/{line_item_id} \
--header 'Authorization: Bearer <token>'{
"success": {
"message": "Line item deleted successfully."
},
"meta": {
"request_id": "01563646-58c1-4607-8fe0-cae3e92c4477",
"curies": [
{
"name": "bo",
"href": "https://app.stora.test{rel}",
"templated": true,
"title": "Backoffice"
},
{
"name": "sf",
"href": "https://acme.stora.test{rel}",
"templated": true,
"title": "Storefront"
}
]
}
}Delete an existing line item. Only line items from orders in draft status can be removed.
Required authorization scope: public.order:write
curl --request DELETE \
--url https://public-api.stora.co/2025-09/orders/{order_id}/line_items/{line_item_id} \
--header 'Authorization: Bearer <token>'{
"success": {
"message": "Line item deleted successfully."
},
"meta": {
"request_id": "01563646-58c1-4607-8fe0-cae3e92c4477",
"curies": [
{
"name": "bo",
"href": "https://app.stora.test{rel}",
"templated": true,
"title": "Backoffice"
},
{
"name": "sf",
"href": "https://acme.stora.test{rel}",
"templated": true,
"title": "Storefront"
}
]
}
}Documentation Index
Fetch the complete documentation index at: https://docs.stora.co/llms.txt
Use this file to discover all available pages before exploring further.
Bearer Token necessary to use API
The ID of the order
The ID of the line item
Was this page helpful?