Skip to main content
PATCH

Parameters

id
string
The ID of the settings record. Can be either a UID (SecureRandom.uuid) for unauthenticated access or an ID for authenticated access.
reward_earned
hash
Settings for when a user earns a loyalty reward
reward_unused
hash
Settings for when a user has an unused reward
reward_progress
hash
Settings for when a user earns loyalty progress
reward_offer
hash
Settings for when a merchant sends an offer
feedback_available
hash
Settings for when a user has the opportunity to leave feedback for a purchase
marketing_general
hash
Settings for when a merchant sends general marketing

Response

id
string
The ID of the settings record
merchant_id
string
The ID of the merchant
merchant_handle
string
The handle of the merchant
user_id
string
The ID of the user
reward_earned
hash
Settings for when a user earns a loyalty reward
reward_unused
hash
Settings for when a user has an unused reward
reward_progress
hash
Settings for when a user earns loyalty progress
reward_offer
hash
Settings for when a merchant sends an offer
feedback_available
hash
Settings for when a user has the opportunity to leave feedback for a purchase
marketing_general
hash
Settings for when a merchant sends general marketing

Authentication

This endpoint supports two authentication modes:
  • Unauthenticated: Use the setting’s UID to update preferences without authentication
  • Authenticated: Use the setting’s hashid with OAuth bearer token for authenticated access