Skip to main content
POST
/
api
/
public
/
v1
/
promotions
/
delete
Delete promotions
curl --request POST \
  --url https://app.localhost:3000/api/public/v1/promotions/delete \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "ids": [
    "promo_123",
    "promo_456"
  ],
  "storeId": "store_123"
}
'
{
  "success": true
}

Authorizations

Authorization
string
header
required

Enter your API key as: Bearer your-api-key

Body

application/json
ids
string[]
required

Array of promotion IDs to delete

storeId
string
required

The store ID the promotions belong to

Response

Successful response

success
boolean