Update Campaign
Currently this endpoint is only for updating budget details. We plan on expanding this endpoint in the near future.
Endpoint
Method: PUT
https://lifeapi.pulsepoint.com/RestApi/v2/campaign/{id}
Path Parameter: id is the ID of the campaign you want to update
Field List
| Name | Data Type | Required | Notes |
|---|---|---|---|
| budgetCap | Double | Yes |
Example Request
curl --request PUT \
--url https://lifeapi.pulsepoint.com/RestApi/v1/campaign/25143 \
--header 'accept: application/json' \
--header 'authorization: Bearer Og7_P99cNY40iRInIstPnAPnYvc' \
--header 'content-type: application/json' \
--data '{"budgetCap":301}'
Example Response
{
"campaignId": 25143,
"name": "WeightListed_Test",
"budgetCap": 240
}Errors
| Error Code | Description | Notes |
|---|---|---|
| 400 | Bad Request |
Updated 4 months ago
