Vai al contenuto principale
POST
Create Voucher

Autorizzazioni

Authorization
string
header
obbligatorio

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

Corpo

application/json
code
string
obbligatorio
from_name
string
obbligatorio
from_email
string
obbligatorio
to_name
string
obbligatorio
to_email
string
obbligatorio
voucher_theme_id
string<uuid>
obbligatorio
amount
obbligatorio
order_id
string<uuid> | null
message
string | null
is_active
boolean
predefinito:true

Risposta

Successful Response

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