Update a campaign.
curl --request PATCH \
--url https://api.topsort.com/public/v1/offsite-ads/campaigns/{campaign-id} \
--header 'Content-Type: application/json' \
--data '{
"budget": 123,
"endDate": "2023-11-07T05:31:56Z",
"locationIds": [
"<string>"
],
"name": "<string>",
"productIds": [
"<string>"
],
"startDate": "2023-11-07T05:31:56Z",
"status": "ENABLED"
}'
{
"jobId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
The ID of the campaign to update.
The ID of the vendor to update the campaign for.
Successful Response
The response is of type object
.
curl --request PATCH \
--url https://api.topsort.com/public/v1/offsite-ads/campaigns/{campaign-id} \
--header 'Content-Type: application/json' \
--data '{
"budget": 123,
"endDate": "2023-11-07T05:31:56Z",
"locationIds": [
"<string>"
],
"name": "<string>",
"productIds": [
"<string>"
],
"startDate": "2023-11-07T05:31:56Z",
"status": "ENABLED"
}'
{
"jobId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
Update a campaign.
curl --request PATCH \
--url https://api.topsort.com/public/v1/offsite-ads/campaigns/{campaign-id} \
--header 'Content-Type: application/json' \
--data '{
"budget": 123,
"endDate": "2023-11-07T05:31:56Z",
"locationIds": [
"<string>"
],
"name": "<string>",
"productIds": [
"<string>"
],
"startDate": "2023-11-07T05:31:56Z",
"status": "ENABLED"
}'
{
"jobId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
The ID of the campaign to update.
The ID of the vendor to update the campaign for.
Successful Response
The response is of type object
.
curl --request PATCH \
--url https://api.topsort.com/public/v1/offsite-ads/campaigns/{campaign-id} \
--header 'Content-Type: application/json' \
--data '{
"budget": 123,
"endDate": "2023-11-07T05:31:56Z",
"locationIds": [
"<string>"
],
"name": "<string>",
"productIds": [
"<string>"
],
"startDate": "2023-11-07T05:31:56Z",
"status": "ENABLED"
}'
{
"jobId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}