id
integer

Internal ID of the resource

uniqid
string

Unique ID of the resource, used as reference across the API

shop_id
integer

The shop ID to which this coupon belongs

type
enum<string>

Coupon type, whether it's for a product or subscription. SUBSCRIPTION coupons are only for Sellix-own subscriptions, this field will always return PRODUCT

Available options:
PRODUCT,
SUBSCRIPTION
coupon_type
enum<string>
Available options:
CLASSIC
code
string

Coupon code to be used during the checkout phase

stripe_promo_id
string

The stripe ID for the promotion

stripe_coupon_id
string

The stripe ID for the coupon

use_type
enum<string>

If LIMITED, an array of products must be specified as this coupon will be used only with them

Available options:
LIMITED,
ANY
discount
number

Discount value for this coupon

currency
string

Currency of the coupon discount value

used
integer

How many times this coupon has been used

disabled_with_volume_discounts
boolean

Whether or not this coupon is valid if a volume discount is applied

all_recurring_bill_invoices
boolean

Whether or not this coupon should be applied for each product SUBSCRIPTION renewal

max_uses
integer

Maximum usage for this coupon

smart_contract_address
string

The smart contract address for the coupon

token_id
string

The token ID for the coupon

blockchain
enum<string>

The blockchain of the crypto currency

Available options:
ERC20,
BEP20,
TRC20,
MATIC,
SOL
expire_at
string

The datetime object corresponding to the expiration time of the coupon

created_at
integer

Timestamp for the creation of the coupon

updated_at
integer

Date, available if the category has been edited

updated_by
integer

User ID of the user who updated the coupon

products_bound
string[]

Array of product uniqids. Differs from the categories API as this endpoint does not need specific details about a product. Use the products API to get details about a single product

products_bound_extended
object[]

Details about the products in the products_bound field

products_count
integer

How many products are present in the products_bound array