POST /v1/newsletter/lists/{id}/sync-crm
POST/v1/newsletter/lists/{id}/sync-crm
Sync CRM contacts to a newsletter list based on tags/filters
Corps de la requête
| Nom | Type | Description |
|---|
tags | string[] | |
partyTypes | string[] | |
Paramètres de chemin
| Nom | Type | Description |
|---|
idobligatoire | string | |
Exemple
curl -X POST https://api.codemeta-os.de/v1/newsletter/lists/{id}/sync-crm \
-H "X-Tenant-Id: $TENANT" \
-H "Content-Type: application/json" \
-b cookies.txt \
-d '{
"tags": [],
"partyTypes": []
}'
const result = await cm.newsletter.post({
"tags": [],
"partyTypes": []
});
Codes de réponse
| HTTP |
Signification |
200 |
Default Response |