Alladdin

Work in progress

Site en construction

الموقع قيد الإنشاء

Alladdin
DELETE

Delete a sales channel

Scope: sales:sales-channels.write https://api.alladdin.com/api/v2/sales-channels/{salesChannelId}

Permanently deletes a sales channel. You cannot delete a channel that is assigned to contacts or documents.
Consider archiving it instead to preserve existing references.

Parameters

Path parameters

salesChannelId string required

Sales Channel ID (24-char hex ObjectId)

Request

python
import requests

url = "https://api.alladdin.com/api/v2/sales-channels/{salesChannelId}"
headers = {
    "Authorization": "Bearer YOUR_API_KEY",
    "Accept": "application/json",
}

response = requests.delete(url, headers=headers)
print(response.json())

Responses

Success responses

204 Resource deleted

Error responses

401 Invalid or missing API key application/json 403 Insufficient permissions application/json 404 Sales channel not found application/json

← PreviousGet a sales channel by ID →