cURL
curl --request PUT \ --url https://api.comm.com/api/v1/offers/{offer} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "url": "<string>", "profit": 123 } '
{ "data": { "id": "<string>", "name": "<string>", "url": "<string>", "profit": "<string>", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z" } }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The offer ID
OfferResource
Show child attributes