Skip to main content
POST
Apply a discount code to an unpaid proforma invoice

Yetkilendirmeler

Authorization
string
header
gerekli

The access token received from the authorization server in the OAuth 2.0 flow.

Başlıklar

X-Tenant
number
gerekli

Tenant identifier. Send the Tenant ID in the X-Tenant header to scope API requests to a specific tenant.

Yol Parametreleri

id
integer
gerekli

The proforma invoice identifier

Gövde

application/json
discount_code
string
gerekli

The discount code to apply to this proforma invoice.

Maximum string length: 64

Yanıt

success
string
gerekli
data
ProformaInvoiceResource · object
gerekli