Skip to main content
PUT
Update an offer

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 offer identifier

Gövde

application/json
customer_id
integer

Customer ID. Must belong to current tenant.

currency_id
integer

Currency ID.

exchange_rate
number

Exchange rate (e.g. 1 or 34.5).

Gerekli aralık: x >= 0
valid_until
string<date-time>

Date until which the offer is valid.

status
enum<string>

Offer status: draft, sent, accepted, rejected.

Mevcut seçenekler:
draft,
sent,
accepted,
rejected
user_id
integer | null

User ID (optional).

notes
string | null

Notes (optional).

Maximum string length: 65535
items
object[]

Offer line items (optional on update).

Minimum array length: 1

Yanıt

success
string
gerekli
data
OfferResource · object
gerekli