Description

Updates an existing offer. Currently, offers are immutable except for the end date of the offer which can only be adjusted from a future date (if set) or from no end date. Offers should be expired and created new to modify.

General

End Point
https://www.mogl.com/api/v2/offers/{offer}/update
HTTP Method POST
Requires SSL true
Requires Acting User true (learn more)
Scope(s) None

Path Parameters

Path parameters are ALWAYS required.

offer The offer to update.

Request Parameters

Parameters are NOT REQUIRED unless noted otherwise.

endDate The expiration date for the offer
maxRedeemDate The maximum date the offer could be redeemed.
rewardValue The new reward value for the offer (offer must have been created as dynamic).
notActivatedRewardValue The not activated reward value for the offer (offer must have been created as dynamic).
feeValue The new fee value for the offer (offer must have been created as dynamic).

Response Fields

offer An offer See offer details

Try It Now

Endpoint
Client Id
(required)
Access Token
(required)
User Token
*(see below -- client_credentials only)
endDate
Add
maxRedeemDate
Add
rewardValue
Add
notActivatedRewardValue
Add
feeValue
Add
*Partners that authenticate with client_credentials should provide a user_token.