Skip to main content
POST
La Pyme SDK

Authorizations

Authorization
string
header
required

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

Headers

Idempotency-Key
string
required

Clave única para evitar duplicados al reintentar la misma creación de cliente.

X-Request-Id
string

ID opcional de la solicitud para trazabilidad. Si se omite, el servidor genera uno.

Body

application/json
name
string
required
company_name
string | null
description
string | null
email
string<email> | null
phone
string | null
tax_id
string | null

Documento sin guiones, o "0" cuando tax_id_type es "Otro"

tax_id_type
enum<string> | null

"Otro" requiere tax_id="0" y categoría efectiva Consumidor Final

Available options:
CUIL/CUIT,
DNI,
Otro
tax_category
enum<string> | null
Available options:
registered_vat_taxpayer,
final_consumer,
monotributo_taxpayer,
vat_exempt,
vat_not_applicable
country
string | null
province
string | null
city
string | null
address
string | null
apartment
string | null
postal_code
string | null
delivery_carrier
string | null
delivery_address
string | null
assigned_salesperson_id
string<uuid> | null
default_price_list_id
string<uuid> | null
payment_term_id
enum<string> | null
Available options:
days_7,
days_15,
days_30,
days_45,
days_60,
days_90,
days_30_60,
days_30_60_90
payment_term_days
integer | null

Cantidad de días hasta el vencimiento. Usá 0 para Contado. Se prefiere sobre paymentTermId.

Required range: 0 <= x <= 365
is_active
boolean

Response

Cliente creado exitosamente

request_id
string
required
data
object
required
warnings
any[]
required