Crear orden

Crea/envía una orden (pagado = 0). Resuelve el UID de Firebase del cliente desde su correo (lo crea si no existe). Con flag_enviar_invo: true reenvía la orden a facturación INVU. Códigos de error por campo faltante: 2 cliente, 3 carrito, 4 metodoPago, 5 address, 6 total, 7 metodoEnvio, 8 subtotal, 9 id, 10 descuento, 11 tax, 18 error BD.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required

Correo del cliente.

string
required

ID de negocio de la orden (orden_id).

carrito
array
required

Carrito (carito_json).

carrito*
metodoPago
array
required
metodoPago*
metodoEnvio
object
required
addressEntrega
array
required
addressEntrega*
number
required
number
required
number
required

discountAmount.

number
required
boolean
string

Solo si flag_enviar_invo.

string

Solo si flag_enviar_invo.

Response

Language
Credentials
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json