latestOpenAPI 3.0.02026-08-1535120202.6 KB
f59881dadecd
Campaigns
Assign designations to a campaign
This request allows you to assign designations to a campaign. Each item is processed independently; the response reports the per-item outcome. Only base campaign types are supported.
post/v1/campaigns/{id}/designations/assign
Path parameters
idstring required
Example:FUNXXXXXXXX
Unique identifier of the campaign, formatted as FUN[A-Z\d]{8}.
Request body
Example request
{
"items": [
{
"frequencies": [
"once",
"monthly"
],
"id": "EXXXXXXX"
}
],
"livemode": true
}Response
On success, the API returns the overall status and a per-item result array describing which designations were assigned.
Example response
{
"results": [
{
"error": {
"code": "designation_not_found",
"message": "Designation not found."
},
"frequencies": [
"once",
"monthly"
],
"id": "EXXXXXXX"
}
],
"status": "complete"
}