Create Fulfillment Order
Description:
The order creation endpoint allows you to create a new fulfillment order in the Rayo system. You need to provide the following information:
- Your Rayo JWT Token
- the customer's identification information
- the customer's shipping address
- the items to be included in the order,
- the shipping service to be used (national, scheduled or express).
Parameter | Description |
---|---|
productos (Array) - Required |
product Array from shopping cart |
cantidad (integer) - Required |
amount of products for indicated “identificador” |
identificador (String) - Required |
identifier to each product (SKU or UPC) |
consumidor_destino (Object) - Required |
consumer shipping information |
calle (String) - Required |
street name |
codigo_postal (String) - Required |
postal code / zip-code |
no_exterior (String) - Required |
house number |
no_interior (String) - Required |
internal number / references |
estado (String) - Required |
State / Province |
ciudad (String) - Required |
City / Municipality |
nombre (String) - Required |
customer name |
telefono (String) - Required |
customer phone number (WhatsApp enabled) |
servicio_rayo (String) - Required |
quoted service to be used NACIONAL, EXPRESS or PROGRAMADO |
POST /api/rest/orders
curl \
-X POST cerebro.techrayo.com/api/rest/orders