Skip to main content
PUT
Set or remove discount on offer

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Accept
enum<string>
default:application/json
required

API response format

Available options:
application/json

Path Parameters

offer
integer
required
Example:

123

Body

application/json
discount_percent
integer
required

Discount percentage. 0 = remove discount.

Required range: 0 <= x <= 40
Example:

20

Response

Success

applied
boolean

true if discount was applied immediately, false if pending or removed

Example:

false

discount_eligible_at
string<date-time> | null

When pending discount will be applied. null if applied immediately or no pending discount.

Example:

"2026-08-04T00:00:00+00:00"