Update Loyalty Program

Updates a loyalty program's name, default flag and configuration. All three fields are required — the given config replaces the stored one entirely. Requires the p/manage-loyalty permission and a paid subscription.

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

Loyalty program id.

Body Params
string
required
length ≤ 100
boolean
required
config
object
required

Same shape as on program creation; replaces the stored config.

Headers
string
required

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

Response

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