Skip to main content
PUT
Correct the account or payment method of a sale collection

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

transactionId
integer
gerekli

The transaction identifier

Gövde

application/json
account_id
integer

The account the collection was received into. Must be an active account of the tenant that uses the collection's currency. Required when payment_method is omitted.

payment_method
enum<string>

The payment method the collection was received with. Required when account_id is omitted.

Mevcut seçenekler:
bank_account,
cash,
transfer_cash,
other,
clinic_credit_card,
credit_card,
private_insurance,
sgk

Yanıt

success
string
gerekli
data
object
gerekli