Create Fixed Discount

Creates a preset (fixed) discount that cashiers can apply to bills or bill lines. Percent discounts cannot exceed 100. Requires the p/manage-settings permission — the standard app role does not include it, so this operation is documented from code and returns 403 FORBIDDEN without that permission.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required
length ≤ 255
string
enum
required
Allowed:
number
required

Greater than 0; at most 100 when discount_type is percent.

Headers
string
required

The merchant install this request acts on (install.store_id from the app.installed webhook).

Responses

403

Missing the p/manage-settings permission.

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json