Bulk delete discounts
POST
https://api.tamio.com/v2/discounts/bulk/delete
Permanently deletes multiple discounts and all their associated data. Invalid or non-existent UUIDs are silently skipped.
Body Parameters
discounts
array of string*
Array of discount UUIDs to delete
Example
{
"discounts": [
"550e8400-e29b-41d4-a716-446655440001",
"550e8400-e29b-41d4-a716-446655440002"
]
}
Responses
200
Discounts deleted successfully
Discounts deleted successfully
status
integer
400
Validation error
Validation error
status
integer
error
string
error_code
integer
401
Unauthorized – invalid or missing Bearer token
Unauthorized – invalid or missing Bearer token
status
integer
error
string