Rewards API
Create reward
POST
Create reward
Authorizations
Body
application/json
Required string length:
1 - 500Available options:
percentage, fixed_amount, free_shipping Required range:
0 <= x <= 100000000Maximum string length:
5000Available options:
DISCOUNT, GATED_CONTENT, FREE_CLAIM, EARLY_ACCESS, CREDIT Available options:
sitewide, collection, product, variant Required range:
x >= 0Required range:
x >= 0Required range:
x >= 0Required range:
x >= 0Available options:
automatic, global_code, unique_codes Required string length:
1 - 64Available options:
draft, active, paused, expired, archived Response
Created reward
Available options:
DISCOUNT, GATED_CONTENT, FREE_CLAIM, EARLY_ACCESS, CREDIT Available options:
sitewide, collection, product, variant Available options:
percentage, fixed_amount, free_shipping Available options:
automatic, global_code, unique_codes Available options:
draft, active, paused, expired, archived Create reward