Reward Instances API

The Reward Instances API allows merchants to retrieve details of coupon-based rewards issued to their customers. This API supports querying reward instances based on discount type, expiration, and usage status.

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

Supported Discount Types

Discount TypeDescription
fixed_amountDeducts a specific monetary value from the total price.
percentageApplies a percentage-based discount to the total price.
generic_fixed_amountDeducts a specific monetary value from the total price.

Response Structure

Reward Instance Object


KeyTypeDescription
idNumberThe unique ID of the reward instance.
reward_option_idNumberThe ID of the reward option.
reward_textStringThe unique coupon code.
discount_typeStringType of discount (fixed_amount, percentage).
usedBooleanIndicates whether the reward has been used.
created_atDateThe issue date of the reward.
expiration_dateDateThe expiration date (or NULL if there is no expiration or the data is unavailable). Only available for Shopify.
customer_idNumberThe ID of the customer linked to the reward (or NULL if unavailable).
customer_store_account_idStringThe store-specific customer ID (or NULL if unavailable).
customer_emailStringThe email of the associated customer (or NULL if unavailable).
custom_fieldsObjectAdditional data relevant to the discount type.

Custom Field Objects


KeyTypeApplicable Discount TypeDescription
value_centsStringfixed_amountThe coupon's value in cents.
discount_percentageNumberpercentageThe discount percentage applied to the price.

Pagination Object


KeyTypeDescription
next_page_infoStringEncoded information for retrieving the next set of results.
📘

Note

  • Query param expiration_days is only available for Shopify merchants.
  • If a merchant updates a coupon's expiration date after its creation, the API will not reflect the updated date.
  • There's a rate limit of 300 requests per minute.
Path Params
string
required

The unique identifier of the store (app_key).

Query Params
string
required

Filter by coupon type (fixed_amount, percentage, generic_fixed_amount). Supports multiple values separated by commas.

int32
Defaults to null

Filters coupons expiring within the specified number of days. Only available for Shopify.

boolean
Defaults to false

Filters based on coupon usage status (1 or 0).

string
Defaults to false

Used to fetch the next page (from the previous response).

int32
Defaults to null

Number of records per page (default: 20, max: 500).

string

Use to filter only for the rewards relevant for this customer's Email

Headers
string

Your Yotpo account access token. See Yotpo Authentication to learn how to generate your token.

Responses

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