Vai al contenuto principale
PATCH
Update Coupon

Autorizzazioni

Authorization
string
header
obbligatorio

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Parametri del percorso

coupon_id
string<uuid>
obbligatorio

Corpo

application/json
name
string | null
code
string | null
type
string | null
discount
min_order_total
date_start
string<date> | null
date_end
string<date> | null
uses_total
integer | null
uses_per_customer
integer | null
requires_login
boolean | null
free_shipping
boolean | null
is_active
boolean | null

Risposta

Successful Response

data
CouponOut · object | null
meta
PaginationMeta · object | null
error
string | null
error_code
string | null