Update Fixed Discount

Renames a fixed discount. Only name can be changed — the discount type and value are immutable after creation (other fields in the body are ignored). Requires the p/manage-settings permission — the standard app role does not include it, so this operation is documented from code.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
integer
required

Fixed discount id.

Body Params
string
required
length ≤ 255
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