v1
latestOpenAPI 3.1.02026-07-24170121.2 MBEdit Split Payment Campaign
patch/v1/agent-hub/campaigns/{campaign_id}
Path parameters
campaign_idstring required
Headers
Acceptstring required
Indicates which content types, expressed as MIME types, the client is able to understand.
Content-Typestring required
Indicates the media type of the resource sent in the HTTP message body. <br /><br /><b>Possible Values:</b><br /> application/json<br />application/x-www-form-urlencoded
Request body
Response
200
Example response
{
"data": {
"object": "Campaign",
"id": "nvajm67v9gbxrlko",
"name": "Teste",
"description": "dsfgsfdg",
"notes": "sdfgdfsg",
"status": "active",
"base_charge": 100,
"perc_charge": 20,
"is_default": "0",
"created_at": "2024-10-18T12:44:03.000000Z",
"updated_at": "2024-11-04T19:23:44.000000Z",
"readable_created_at": "2 weeks ago",
"readable_updated_at": "1 second ago"
}
}