Skip to main content
GET
Get Discount

Authorizations

Authorization
string
header
required

API Key. Example: sk_live_xxxxx or pk_live_xxxxx

Path Parameters

id
string
required

Resource ID

Response

200 - application/json

Success

id
string
name
string
description
string
code
string | null
type
enum<string>
Available options:
code,
automatic
value_type
enum<string>
Available options:
fixed,
percentage,
free_shipping
value
number
target
enum<string>
Available options:
order,
line_item,
shipping
usage_limit
integer | null
usage_count
integer
per_customer_limit
integer | null
minimum_amount
object
maximum_discount
object
starts_at
string<date-time>
ends_at
string<date-time> | null
is_active
boolean
conditions
object[]
metadata
object
created_at
string<date-time>