Skip to main content
POST
/lohaco/coupons

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
count
integer
required
Required range: x >= 1
timeout
integer
default:300
Required range: 20 <= x <= 1500
kind
enum<string>
default:all
Available options:
all,
bulk_discount
sort
enum<string>
default:recommended
Available options:
recommended,
newest,
discount_ratio_desc,
discount_amount_desc,
ending_soon

Response

Successful Response

id
string
required
name
string
required
@type
string
default:LohacoCoupon
url
string | null
image
string | null
discount_amount
number | null
discount_type
string | null
coupon_type
integer | null
starts_at_date
string | null
ends_at_date
string | null
is_group
boolean | null
is_mall_coupon
boolean | null