Vai al contenuto principale
PATCH
Update Voucher

Autorizzazioni

Authorization
string
header
obbligatorio

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

Parametri del percorso

id
string<uuid>
obbligatorio

Corpo

application/json
order_id
string<uuid> | null
code
string | null
Required string length: 1 - 20
from_name
string | null
Required string length: 1 - 64
from_email
string<email> | null
to_name
string | null
Required string length: 1 - 64
to_email
string<email> | null
voucher_theme_id
string<uuid> | null
message
string | null
amount
Intervallo richiesto: x > 0
is_active
boolean | null

Risposta

Successful Response

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