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

NameData TypeRequiredNotes
budgetCapDoubleYes

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 CodeDescriptionNotes
400Bad Request