curl --location -g --request POST '{{BASE_URL}}/admin/campaigns//promotions' \
--header 'Content-Type: application/json' \
--data-raw '{
"add": [
"string"
],
"remove": [
"string"
]
}'
{
"campaign": {
"id": "string",
"name": "string",
"description": "string",
"currency": "string",
"campaign_identifier": "string",
"starts_at": "string",
"ends_at": "string",
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z",
"deleted_at": "2019-08-24T14:15:22Z",
"budget": {
"id": "string",
"currency_code": "string",
"limit": 0,
"used": 0,
"type": "spend"
}
}
}
+
it will be added to the default fields, using -
will remove it from the default fields. without prefix it will replace the entire default fields.