How to Manage Offer Caps and Files via the CAKE API

This article will cover the following:

When to use these endpoints:
Use these endpoints to automate cap enforcement — retrieve current cap status, update limits programmatically, and pull creative assets for external delivery.
Authentication: All CAKE API requests require your api_key parameter. Find yours under Setup → System Access → API Keys.
Part of a series: This focused guide is part of the complete CAKE API — Offers reference, which documents all available endpoints for this feature area.

Available Endpoints

Update Offer

Updates an existing offer's payout, status, or expiry without touching the CAKE UI — essential for bulk updates or automated campaign management via script.

When to use: Automated payout adjustments, pausing expired offers on a schedule, or syncing offer status changes from an external system.
POST /api/2/update_offer.json
ParameterTypeRequiredDescription
api_keystringYesYour CAKE API key.
offer_idintegerYesID of the offer to update.
offer_namestringNoNew display name.
offer_statusstringNoactive | inactive | pending
payoutdecimalNoUpdated affiliate payout.
revenuedecimalNoUpdated advertiser revenue.
expiration_datedatetimeNoNew expiry date (YYYY-MM-DD HH:MM:SS).

Sample request

POST https://yourdomain.cakemarketing.com/api/2/update_offer.json { "api_key": "YOUR_API_KEY", "offer_id": 12345, "offer_status": "inactive", "payout": 20.00, "expiration_date": "2026-09-30 23:59:59" }

Sample response

{ "request_status": "Success", "offer": { "offer_id": 12345, "offer_name": "Auto Insurance Quote - US", "offer_status": "inactive", "payout": 20.00, "expiration_date": "2026-09-30 23:59:59" } }



If you have any questions, please reach out to your dedicated CAKE Client Success Manager/Account Manager or contact the CAKE Support Team at support@getCAKE.com.

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.