PUT
/
v1
/
sms
/
campaigns
/
{campaign}
/
offers
/
{offer}
cURL
curl --request PUT \
  --url https://api.comm.com/api/v1/sms/campaigns/{campaign}/offers/{offer} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "is_active": true
}'
{
  "data": {
    "offer_id": "<string>",
    "sms_campaign_id": "<string>",
    "is_active": "<string>",
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z",
    "is_deleted": true
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

campaign
string<uuid>
required

The campaign ID

offer
string<uuid>
required

The offer ID

Body

application/json

Response

200
application/json

OfferCampaignResource

The response is of type object.