On this page6 sections
POST/api/promotions/delete-promotionsPromotionsPermission: promotion.delete
Delete Promotions
Deletes or archives up to 100 promotions within the active tenant.
Authentication: Requires Authorization: Bearer <ACCESS_TOKEN> (Supabase JWT, OAuth2 M2M token, or integration token).
Request
Provide the following fields in the request payload.
idsarray<string (uuid)>required
ids parameter.
Responses
Select a status code to inspect schema.
OK — Promotions deleted successfully.application/json
successenum('true')
Success (true).
messagestring
Message.
dataobject | null
Response payload or null.
POST/api/promotions/delete-promotions
curl -X POST "https://api.invoger.com/api/promotions/delete-promotions" \
-H "Authorization: Bearer <ACCESS_TOKEN>" \
-H "Content-Type: application/json" \
-d '{ "ids": [ "p1a2b3c4-d5e6-7f8a-9b0c-1d2e3f4a5b6c" ] }'Interactive playground
Response
application/json
{
"success": true,
"message": "Success",
"data": {
"count": 1
}
}