PUT
/
api
/
v1
/
promotions
/
{id}
/
listings
/
unassign
"Unassigned 5 listings from promotion 123e4567-e89b-12d3-a456-426614174000"

Authorizations

x-calry-api-key
string
header
required

Headers

x-calry-tenant-id
string

Optional tenant ID to specify which tenant to operate as. Controls access to promotions and their associated listings. If not provided, the default tenant will be used.

Path Parameters

id
string
required

ID of the promotion to unassign listings from

Example:

"123e4567-e89b-12d3-a456-426614174000"

Body

application/json

Response

200
application/json

Listings unassigned from promotion successfully

The response is of type string.

Example:

"Unassigned 5 listings from promotion 123e4567-e89b-12d3-a456-426614174000"