Before using this API version, you have to request an initial setup of your company's account to our support team. You'll be provided with a cURL example to an Auth0 application that we will have created for you (we're sorry for this unsophisticated way, we are working on a better setup). The Auth0 app provides valid access tokens to call our API methods.
Get Pickups as a Company/Seller
Lista todos los retiros creados por una Empresa/Seller.
path Parameters
| shipper_id required | integer <int64> ID of the Company/Seller, generated by Enviame |
header Parameters
| Accept required | string Default: application/json Not modified |
Responses
Response samples
- 200
- 422
- 500
{- "code": 201,
- "data": [
- {
- "identifier": "1285372591218",
- "company": {
- "id": {
- "carrier_code": "BLX",
- "warehouse_code": "bod_ruka1",
- "weight": 5,
- "qty": 4,
- "contact_name": "User Test",
- "contact_phone": 987654321,
- "warehouse_contact_email": "contacto@bodega.com",
- "range_time": "13:00 - 14:00",
- "pick_up_date": "2026-03-01",
- "size": "c",
- "width": 40,
- "length": 40,
- "height": 40,
- "information": "Este es un retiro"
}, - "place_id": 378,
- "full_address": "Avenida Vitacura 123",
- "place": "Santiago",
- "information": "H23",
- "place_parents": {
- "parent1": {
- "id": 61,
- "name": "Santiago",
- "level_name": "Provincia"
}, - "parent2": {
- "id": 7,
- "name": "Metropolitana de Santiago",
- "level_name": "Region"
}
}, - "place_level_name": "Comuna",
- "zip_code": null
}, - "carrier": {
- "code": "BLX",
- "name": "Bluexpress",
- "country": "CL",
- "is_integrated": 1,
- "time_zome": "America/Santiago",
- "config": {
- "time_limit": "10:29",
- "time_limit_key": "default"
}
}, - "range_time": "13:00 - 18:00",
- "qty": 7,
- "weight": 10,
- "contact": {
- "name": "John Doe",
- "phone": 999999999
}, - "status": {
- "code": "created",
- "name": "retiro creado",
- "date": "2025-04-04 16:50:11"
}, - "created_at": "2025-04-04 16:50:11",
- "updated_at": "2025-04-04 16:50:11",
- "deleted_at": null,
- "uuid": "d3e8a7ae-5a2a-43b3-a77b-e8c0a3e1718a",
- "marketplace": {
- "id": 10,
- "code": "enviame",
- "name": "Envíame"
}, - "type": {
- "code": "normal",
- "name": "retiro normal"
}, - "size": "s",
- "dimensions": "10cm x 15cm x 5cm",
- "pickup_date": "2025-04-07",
- "warehouse": {
- "id": 8710,
- "code": "DEV",
- "name": "DEV",
- "contact": {
- "name": "Javier Smith",
- "phone": 998874910,
- "email": "cinthia.garrido@enviame.io"
}
}, - "need_evaluation": false,
- "carrier_pickup_number": 1285372591218,
- "carrier_pickup_created": false,
- "max_cancelation_date": null,
- "id": "cRr8Kbj8zPAb4OsCyQxU"
}
]
}Create Pickup as a Company/Seller
Endpoint to create pickup as a Company/Seller. The response depends on the schedule of each carrier.
path Parameters
| shipper_id required | integer <int64> ID of the Company/Seller, generated by Enviame |
header Parameters
| Accept required | string Default: application/json Not modified |
Request Body schema: multipart/form-data
| carrier_code required | string Carrier code to which the pickup will be requested. |
| warehouse_code required | string Warehouse code from which the pickup will be requested. |
| qty required | number <int64> Quantity of packages |
| contact_name required | string Name of the contact responsible for the pickup. |
| contact_phone required | string Number phone of the contact responsible for the pickup. |
| warehouse_contact_email | string <email> Email of the contact responsible for the pickup at the warehouse. |
| range_time required | string Range time for the pickup (Ej: 13:00 - 14:00) |
| pick_up_date required | string <date> Date of pickup in format AAAA-MM-DD. |
| information | string <= 250 characters Aditional information to add to the pickup. |
| weight required | integer Weight (Kg) of the packages. |
| size required | string Size of the packages (xs, s, m, l, c) |
| width | integer Width of the packages. Required when the size is "c" |
| length | integer Length of the packages. Required when the size is "c" |
| height | integer Height of the packages. Required when the size is "c" |
| description | string <= 250 characters Description of the packages. Required when the size is "c" |
Responses
Request samples
- Payload
{ "carrier_code": "BLX", "warehouse_code": "bod_ruka1", "weight": 5, "qty": 4, "contact_name": "Usuario Bodega", "contact_phone": 987654321, "warehouse_contact_email": "contacto@bodega.com", "range_time": "13:00 - 14:00", "pick_up_date": "2026-03-01", "size": "c", "width": 80, "length": 80, "height": 80, "information": "Este es un retiro", "description": "Requerido porque es tipo c" }
Response samples
- 200
- 422
- 500
{- "code": 201,
- "data": {
- "identifier": "1285372591218",
- "company": {
- "id": 2279,
- "code": "DEV",
- "name": "Development",
- "dni": 106719926
}, - "address": {
- "place_id": 378,
- "full_address": "Avenida Vitacura 123",
- "place": "Santiago",
- "information": "H23",
- "place_parents": {
- "parent1": {
- "id": 61,
- "name": "Santiago",
- "level_name": "Provincia"
}, - "parent2": {
- "id": 7,
- "name": "Metropolitana de Santiago",
- "level_name": "Region"
}
}, - "place_level_name": "Comuna",
- "zip_code": null
}, - "carrier": {
- "code": "BLX",
- "name": "Bluexpress",
- "country": "CL",
- "is_integrated": 1,
- "time_zome": "America/Santiago",
- "config": {
- "time_limit": "10:29",
- "time_limit_key": "default"
}
}, - "range_time": "13:00 - 18:00",
- "qty": 7,
- "weight": 10,
- "contact": {
- "name": "John Doe",
- "phone": 999999999
}, - "status": {
- "code": "created",
- "name": "retiro creado",
- "date": "2025-04-04 16:50:11"
}, - "created_at": "2025-04-04 16:50:11",
- "updated_at": "2025-04-04 16:50:11",
- "deleted_at": null,
- "uuid": "d3e8a7ae-5a2a-43b3-a77b-e8c0a3e1718a",
- "marketplace": {
- "id": 10,
- "code": "enviame",
- "name": "Envíame"
}, - "type": {
- "code": "normal",
- "name": "retiro normal"
}, - "size": "s",
- "dimensions": "10cm x 15cm x 5cm",
- "pickup_date": "2025-04-07 00:00:00",
- "warehouse": {
- "id": 8710,
- "code": "DEV",
- "name": "DEV",
- "contact": {
- "name": "Javier Smith",
- "phone": 998874910,
- "email": "cinthia.garrido@enviame.io"
}
}, - "need_evaluation": false,
- "carrier_pickup_number": 1285372591218,
- "carrier_pickup_created": false,
- "max_cancelation_date": null,
- "id": "cRr8Kbj8zPAb4OsCyQxU"
}
}Create Return Pickup as a Company/Seller
Endpoint to create return pickup as a Company/Seller. The response depends on the schedule of each carrier.
path Parameters
| shipper_id required | integer <int64> ID of the Company/Seller, generated by Enviame |
header Parameters
| Accept required | string Default: application/json Not modified |
Request Body schema: application/json
| carrier_code required | string Carrier code to which the pickup will be requested. |
| return_deliveries required | Array of strings OTs of the return deliveries. |
| qty required | integer Quantity of packages |
| weight required | integer Weight (Kg) of the packages. |
required | object |
| pick_up_date required | string <date> Pickup date in format AAAA-MM-DD. |
| contact_name required | string Name of the contact responsible for the pickup. |
| contact_phone required | string Number phone of the contact responsible for the pickup. |
| range_time required | string Range time of the pickup (Ej: 13:00 - 14:00) |
| information required | string <= 250 characters Aditional information to add to the return pickup. |
| size required | string Size of the packages (xs, s, m, l, c) |
| width | integer Width of the packages. Required when the size is "c" |
| length | integer Length of the packages. Required when the size is "c" |
| height | integer Height of the packages. Required when the size is "c" |
| description | string <= 250 characters Description of the packages. Required when the size is "c" |
Responses
Request samples
- Payload
{- "carrier_code": "CHX",
- "qty": 1,
- "weight": 1,
- "address": {
- "full_address": "Dirección 1",
- "place": "Santiago",
- "place_id": 367,
- "information": "Entre calles X e Y"
}, - "pick_up_date": "2026-01-02",
- "contact_name": "Nombre del contacto",
- "contact_phone": "999999999",
- "range_time": "15:00 - 16:00",
- "size": "c",
- "length": 80,
- "width": 80,
- "height": 80,
- "information": "Caja grande",
- "description": "Paquete de prueba",
- "return_deliveries": [
- "123456789"
]
}Response samples
- 200
- 422
- 500
{- "code": 201,
- "data": {
- "identifier": "1285372591218",
- "company": {
- "id": 2279,
- "code": "DEV",
- "name": "Development",
- "dni": 106719926
}, - "address": {
- "place_id": 378,
- "full_address": "Avenida Vitacura 123",
- "place": "Santiago",
- "information": "H23",
- "place_parents": {
- "parent1": {
- "id": 61,
- "name": "Santiago",
- "level_name": "Provincia"
}, - "parent2": {
- "id": 7,
- "name": "Metropolitana de Santiago",
- "level_name": "Region"
}
}, - "place_level_name": "Comuna",
- "zip_code": null
}, - "carrier": {
- "code": "BLX",
- "name": "Bluexpress",
- "country": "CL",
- "is_integrated": 1,
- "time_zome": "America/Santiago",
- "config": {
- "time_limit": "10:29",
- "time_limit_key": "default"
}
}, - "range_time": "13:00 - 18:00",
- "qty": 7,
- "weight": 10,
- "contact": {
- "name": "John Doe",
- "phone": 999999999
}, - "status": {
- "code": "created",
- "name": "retiro creado",
- "date": "2025-04-04 16:50:11"
}, - "created_at": "2025-04-04 16:50:11",
- "updated_at": "2025-04-04 16:50:11",
- "deleted_at": null,
- "uuid": "d3e8a7ae-5a2a-43b3-a77b-e8c0a3e1718a",
- "marketplace": {
- "id": 10,
- "code": "enviame",
- "name": "Envíame"
}, - "type": {
- "code": "normal",
- "name": "retiro normal"
}, - "size": "s",
- "dimensions": "10cm x 15cm x 5cm",
- "pickup_date": "2025-04-07 00:00:00",
- "warehouse": {
- "id": 8710,
- "code": "DEV",
- "name": "DEV",
- "contact": {
- "name": "Javier Smith",
- "phone": 998874910,
- "email": "cinthia.garrido@enviame.io"
}
}, - "need_evaluation": false,
- "carrier_pickup_number": 1285372591218,
- "carrier_pickup_created": false,
- "max_cancelation_date": null,
- "id": "cRr8Kbj8zPAb4OsCyQxU"
}
}Export pickups
Export pickups to a excel file
Request Body schema: application/json
| pickup_date_from | string <date> Date From |
| pickup_date_to | string <date> Date To |
| pickup_date | string <date> If this parameter is set, the pickup_date_from and pickup_date_to parameters will be ignored. |
| updated_at_from | string <date> Date of last update from |
| updated_at_to | string <date> Date of last update to |
| shipper_id | integer <int64> Shipper ID |
| organization_id | integer <int64> Organization ID |
| carrier_code | string Carrier code |
| carrier_pickup_number | string Carrier pickup number |
| status_code | Array of strings Items Enum: "scheduled" "done" "failed" "canceled" Statuses of the pickups to export |
| type | string Value: "return" Types of pickups |
Responses
Request samples
- Payload
{- "pickup_date_from": "2019-08-24",
- "pickup_date_to": "2019-08-24",
- "pickup_date": "2019-08-24",
- "updated_at_from": "2019-08-24",
- "updated_at_to": "2019-08-24",
- "shipper_id": 0,
- "organization_id": 0,
- "carrier_code": "string",
- "carrier_pickup_number": "string",
- "status_code": [
- "scheduled"
], - "type": "return"
}Response samples
- 200
- 422
- 500
{- "status": "success",
}List PUDOs by place
Retrieves a list of PUDOs, based on the provided place.
query Parameters
| type required | string Enum: "store" "courier" Example: type=store The type of PUDOs that you want to retrieve. |
| place_name required | string Specifies the name of the smallest geographic administrative unit for the specified country. For Chile, this refers to the name of the commune; for Colombia, it corresponds to the municipality; for Peru, it refers to the name of the district. In the case of Mexico, this parameter accepts the name of any administrative division such as neighborhood, city, municipality, or state. |
| parent_place_name | string required: only for Colombia and Peru. Specifies the name of the parent administrative division of the given place for the specified country. For Chile and Peru, this refers to the name of the province; for Colombia, it corresponds to the department. In the case of Mexico, this parameter is ignored and is not necessary. |
| place_level_name | string Enum: "state" "municipality" "city" "neighborhood" Example: place_level_name=city required: for Mexico only. Name of the geographical subdivision corresponding to the sent place. |
| zip_code | string applies: for Mexico only. The zip code of the neighborhood. If this field is provided, it is assumed that the place corresponds to a neighborhood. |
| page | integer The page number from which you want your page search results to be displayed. |
| limit | integer Default 20 per page. Number of results per page. |
Responses
Response samples
- 200
- 400
- 403
- 404
- 500
{- "status": "success",
- "message": "PUDOs obtained successfully",
- "paging": {
- "page": 1,
- "limit": 20,
- "data_count": 1,
- "page_count": 1
}, - "data": [
- {
- "code": "0001-stgo",
- "name": "PUDO 1 of Stgo",
- "address": "address of pudo 0001-stgo",
- "places": {
- "place": "Santiago Centro",
- "level1": "Santiago",
- "level2": "Región Metropolitana"
}
}
]
}Get all tickets
Retrieve a list of tickets.
query Parameters
| delivery_id | integer <int64> ID of the delivery |
| current_type | string current type of the ticket |
| current_status | string current status of the ticket |
| page | integer <int64> page number to retrieve |
| limit | integer <int64> number of tickets per page to retrieve |
| delivery_status | string filter ticket by current delivery status |
| ticket_mode | string Enum: "delivery" "return" filter by tickets mode (delivery or return) |
| order_by | string Enum: "CREATED_AT_ASC" "CREATED_AT_DESC" "LAST_MESSAGE_ASC" "LAST_MESSAGE_DESC" "WAITING_DAYS_ASC" "WAITING_DAYS_DESC" order by a specific field. The available fields are: CREATED_AT_ASC, CREATED_AT_DESC, LAST_MESSAGE_ASC, LAST_MESSAGE_DESC, WAITING_DAYS_ASC, WAITING_DAYS_DESC |
| created_at_from | string filter tickets created from a date in UTC timezone |
| created_at_to | string filter tickets created to a date in UTC timezone |
| country | string Enum: "CL" "PE" "CO" "MX" filter tickets where the carrier is from the specified country |
| carrier | string filter tickets by carrier code |
| shipper | string filter tickets by shipper code |
| shipper_id | string filter tickets by shipper id |
| current_status_date_from | string filter tickets where the date of their current status is equal to or greater than a specified date in utc |
| current_status_date_to | string filter tickets where the date of their current status is equal to or less than a specified date in utc |
| current_type_date_from | string filter tickets where the date of their current subject is equal to or less than a specified date in utc |
| current_type_date_to | string filter tickets where the date of their current subject is equal to or less than a specified date in utc |
| current_stage_date_from | string filter tickets where the date of their current stage is equal to or less than a specified date in utc |
| current_stage_date_to | string filter tickets where the date of their current stage is equal to or less than a specified date in utc |
| last_message_from | string filter tickets where the date of their last message is equal to or less than a specified date in utc |
| last_message_to | string filter tickets where the date of their last message is equal to or less than a specified date in utc |
| current_stage | string Enum: "ISSUE" "COMPLAINT" "COMPENSATION" "CLOSED" "DISAGREEMENT" filter tickets by current stage |
| fulfillment | boolean filter tickets by fulfillment type |
| organization | string filter tickets by organization code |
| organization_id | integer <int64> filter tickets by organization id |
| read_client | boolean filter tickets where the last message has been read or not by the client |
| read_agent | boolean filter tickets where the last message has been read or not by the agent |
Responses
Response samples
- 500
{- "status": "fail",
- "message": "string",
- "errors": [
- {
- "code": "string",
- "description": "string",
- "field": "string",
- "value": "string"
}
]
}Get ticket details by delivery id
Retrieve a ticket by delivery id.
path Parameters
| delivery_id required | integer <int64> ID of the delivery |
Responses
Response samples
- 500
{- "status": "fail",
- "message": "string",
- "errors": [
- {
- "code": "string",
- "description": "string",
- "field": "string",
- "value": "string"
}
]
}Create a message for a ticket
Create a message for a ticket.
path Parameters
| delivery_id required | integer <int64> ID of the delivery |
Request Body schema: application/json
| message | string The message to be sent. |
| timezone | string The timezone of the message. |
object | |
object |
Responses
Request samples
- Payload
{- "message": "string",
- "timezone": "string",
- "type": {
- "name": "string",
- "code": "string"
}, - "extra_fields": {
- "place_2": {
- "label": "string",
- "value": "string"
}, - "place_1": {
- "label": "string",
- "value": "string"
}, - "phone": {
- "label": "string",
- "value": "string"
}, - "ref2": {
- "label": "string",
- "value": "string"
}, - "place": {
- "label": "string",
- "value": "string"
}, - "full_address": {
- "label": "string",
- "value": "string"
}, - "ref1": {
- "label": "string",
- "value": "string"
}
}
}Response samples
- 500
{- "status": "fail",
- "message": "string",
- "errors": [
- {
- "code": "string",
- "description": "string",
- "field": "string",
- "value": "string"
}
]
}Manual Status Update
Allows manual updating of a shipment's status (delivery or return). By default, this is only allowed for internal transport (INT), unless the company or organization has the external carrier configuration enabled.
path Parameters
| delivery_id required | integer Internal shipment ID. |
Request Body schema: application/json
required | object | ||||||||||
| |||||||||||
Responses
Request samples
- Payload
{- "status_change": {
- "status": 6,
- "info": "Manual test movement",
- "user": "user@enviame.io",
- "date": "2026-02-20 17:25:11",
- "proof": {
- "date": "2026-02-20 17:20:00",
- "coordinates": {
- "lat": -33.456,
- "lng": -70.648
},
}
}
}Response samples
- 200
- 400
- 401
- 500
{- "status": "success",
- "message": "Status updated successfully"
}Get delivery and return tracking
Gets the tracking of a delivery using its identifier (delivery_id, imported_id, or tracking_number).
path Parameters
| identifier required | string delivery_id, imported_id, or tracking_number. |
Responses
Response samples
- 200
- 401
- 500
{- "data": {
- "identifier": 139174791,
- "imported_id": "6032667002262",
- "tracking_number": "9436431244",
- "status": {
- "id": 10,
- "name": "Entregado",
- "code": "DELIVERED_DOM",
- "info": "ENTREGADO",
- "created_at": "2026-02-10 18:52:13+00:00"
}, - "customer": {
- "full_name": "benjamin gon",
- "phone": "946890920",
- "email": "benjamin.g.andres@gmail.com"
}, - "shipping_address": {
- "full_address": "Principe Igor 5963 casa",
- "place": "San Joaquín",
- "type": "home"
}, - "country": "CL",
- "carrier": "BLUEXPRESS",
- "service": "priority",
- "label": {
- "ZPL": null,
- "PNG": null
}, - "barcodes": "5330094364312440013201131297",
- "tracking": [
- {
- "status_id": 10,
- "code": "DELIVERED_DOM",
- "name": "Entregado",
- "comment": "ENTREGADO",
- "created_at": "2026-02-10 18:52:13+00:00"
}, - {
- "status_id": 9,
- "code": "DISPATCHED",
- "name": "En Reparto",
- "comment": "EN REPARTO",
- "created_at": "2026-02-10 13:07:13+00:00"
}, - {
- "status_id": 6,
- "code": "IN_ORIGIN",
- "name": "En planta de origen",
- "comment": "PICK UP HUB",
- "created_at": "2026-02-10 05:43:34+00:00"
}, - {
- "status_id": 5,
- "code": "CREATED",
- "name": "Listo para despacho",
- "comment": "Ya creamos tu envío en: BLUEXPRESS ",
- "created_at": "2026-02-08 20:41:45+00:00"
}, - {
- "status_id": 1,
- "code": "PENDING",
- "name": "Creado",
- "comment": "Envio creado por api",
- "created_at": "2026-02-08 20:41:40+00:00"
}
], - "deadline_at": "11-02-2026",
- "created_at": "2026-02-08 20:41:41+00:00",
- "updated_at": "2026-02-10 18:52:34.356266+00:00"
}
}Create delivery
Endpoint to create deliveries for a Company.
path Parameters
| company_id required | integer <int64> Company ID, generated by Enviame |
header Parameters
| Accept required | string Default: application/json Do not modify |
| Content-Type required | string Default: application/json Do not modify |
Request Body schema:
Create a new delivery
object | |
object | |
object | |
object | |
object | |
Array of objects
|
Request samples
- Payload
{- "shipping_order": {
- "n_packages": 0,
- "content_description": "string",
- "imported_id": "string",
- "order_price": 0.1,
- "weight": 0.1,
- "volume": 0.1,
- "type": "delivery"
}, - "shipping_origin": {
- "warehouse_code": "string"
}, - "shipping_destination": {
- "customer": {
- "name": "string",
- "email": "string",
- "phone": "string"
}, - "delivery_address": {
- "place": "string",
- "full_address": "string",
- "information": "string",
- "level1": "string",
- "level2": "string",
- "level3": "string",
- "pickup_point_code": "string"
}
}, - "dimensions": {
- "width": 0.1,
- "height": 0.1,
- "length": 0.1
}, - "carrier": {
- "carrier_code": "string",
- "carrier_service": "string",
- "tracking_number": "string"
}, - "extra_fields": [
- {
- "name": "string",
- "value": "string"
}
]
}Create return
path Parameters
| id_seller required | integer Seller ID |
Request Body schema: application/json
required | object or object Return origin (address or PUDO/agency) |
required | object or object Return destination (address or warehouse) |
required | object |
required | object |
Responses
Request samples
- Payload
{- "origin": {
- "place": "Valparaíso",
- "full_address": "Av. Siempre Viva 123",
- "information": "White house, 2 floors",
- "contact": {
- "name": "Alicia Pérez",
- "phone": "+56911111111",
- "email": "alicia.perez@example.com"
}
}, - "destination": {
- "place": "Santiago",
- "full_address": "Av. Providencia 456",
- "information": "Apt 702",
- "contact": {
- "name": "Roberto Díaz",
- "phone": "+56922222222",
- "email": "roberto.diaz@example.com"
}
}, - "order": {
- "type": "return",
- "imported_id": "RET-001234",
- "n_packages": 1,
- "packages": [
- {
- "id": 1,
- "price": "4000",
- "description": "Generic accessory",
- "weight": "1",
- "volume": "2"
}
]
}, - "carrier": {
- "code": "CHX",
- "service": "nextdayReturn",
- "type": "",
- "attribute": ""
}
}Response samples
- 200
- 403
- 404
- 422
{- "code": "success",
- "message": "OK",
- "data": {
- "id": 123456,
- "parent_id": null,
- "type": "delivery"
}, - "errors": [ ]
}Create return from an existing delivery
path Parameters
| id_seller required | integer Seller ID |
| delivery_id required | integer Original delivery ID |
Request Body schema: application/json
object | |
object |
Responses
Request samples
- Payload
{- "order": {
- "imported_id": "string",
- "n_packages": 0,
- "packages": [
- {
- "id": 0,
- "description": "string",
- "price": 0.1,
- "weight": 0.1,
- "volume": 0.1
}
]
}, - "carrier": {
- "code": "string",
- "service": "string"
}
}Response samples
- 200
- 403
- 404
- 422
{- "code": "success",
- "message": "OK",
- "data": {
- "id": 123456,
- "parent_id": null,
- "type": "delivery"
}, - "errors": [ ]
}