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 } }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The campaign ID
The offer ID
OfferCampaignResource
The response is of type object.
object