Skip to main content
POST
Crear nota de crédito por devolución

Authorizations

Authorization
string
header
required

Incluí tu API key en el header Authorization con el prefijo Bearer.

Headers

Idempotency-Key
string
required

Clave estable para deduplicar reintentos de la misma operación.

Path Parameters

sale_id
string<uuid>
required

ID de la venta original

Body

application/json
items
object[]
required
Minimum array length: 1
payment_date
string<date>
notes
string
refund_amounts_by_method
object
restock_inventory
boolean
integration_source
string | null
integration_id
string | null
auto_invoicing
boolean
skip_refund_payment
boolean
operator_id
string<uuid>

Response

Nota de crédito creada exitosamente

request_id
string
data
object
warnings
any[]