Skip to main content
GET
할인 상세 조회

인증

Authorization
string
header
필수

API Key. Example: sk_live_xxxxx or pk_live_xxxxx

경로 매개변수

id
string
필수

Resource ID

응답

200 - application/json

성공

id
string
name
string
description
string
code
string | null
type
enum<string>
사용 가능한 옵션:
code,
automatic
value_type
enum<string>
사용 가능한 옵션:
fixed,
percentage,
free_shipping
value
number
target
enum<string>
사용 가능한 옵션:
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>