Logo de LiminarLiminar
AyudaDocs APINovedades
Ir a Liminar

Órdenes

Listar, consultar y crear órdenes

GET/api/v1/ordersscope: orders:read

Parámetros

NombreTipoObligatorioNotas
pagenumbernodefault 1
pageSizenumbernodefault 20, tope 100
logisticsStatusstringnoN/D
billingStatusstringnoN/D
paymentStatusstringnoN/D
fromstringnofecha ISO, inicio de rango
tostringnofecha ISO, fin de rango

Cómo se ve en el sistema

Tablero de Órdenes.

GET/api/v1/orders/:idscope: orders:read
POST/api/v1/ordersscope: orders:write

Parámetros

NombreTipoObligatorioNotas
itemNamestringsíN/D
quantitynumbersíN/D
clientIdstringnoN/D
clientNamestringnoN/D
purchasePricenumbernoN/D
salePricenumbernoN/D

Ejemplo de request

curl -X POST https://tu-tenant.liminar.cloud/api/v1/orders \
-H "Authorization: Bearer lim_live_xxxxxxxx" \
-H "Content-Type: application/json" \
-d '{"itemName":"Tornillo M6x20","quantity":100,"clientName":"Cliente Demo"}'

Cómo se ve en el sistema

Las órdenes creadas por API aparecen en el tablero de Órdenes con el mismo estado (logística, facturación, pago) que las creadas manualmente.