⬆️Request and Response
Request to the API endpoint
Last updated
Request to the API endpoint
Last updated
POST
https://api.alephcrm.com/v2/orders/{orderId}/messages
Name | Type | Description |
---|---|---|
The API_KEY that was provided.
The Alephee account ID of the shipping label you are trying to get.
Alephee ID to identify the order. The Alephee order number. It is not the marketplace order number.
Text message to be sent to the customer. Max size = 350 characters. This is available only on certain message options. See below.
Message reason for the message to be sent. Available values are:
1 = REQUEST_VARIANTS (Request product variation information) When this option is selected, an automatic text message template is sent to the customer. Can not use a custom free text message (the “message” parameter). This reason is valid only for orders with allowed shipping modes: “cross docking” and “drop off” (refer to the LogisticType property on the GET orders endpoint). The following table illustrate several countries and text messages templates combinations:
2 = REQUEST_BILLING_INFO (Request billing information) When this option is selected, an automatic text message template is sent to the customer asking for billing information. Can not use a custom free text message (the “message” parameter). The following table illustrate several countries and text messages combinations:
3 = SEND_INVOICE_LINK (Send invoice link) When this option is selected, it is possible to send with message including the link of the generated invoice. Can use a custom free text message (the “message” parameter). Valid only in México.
4 = OTHER (Others, free field) When this option is selected, I can send any message to the customer, it's a free field. Can use a custom free text message (the “message” parameter).
5 = DELIVERY_PROMISE (Inform delivery promise) When this option is selected, you can inform the delivery promise. Can use a custom free text message (the “message” parameter). This reason is valid only for orders with allowed shipping modes: “Flex” (refer to the LogisticType property on the GET orders endpoint). A brief summary of available messaging reasons by country:
Also, it is possible to send messages with an attached document. There are two ways to attach a document:
Document file to attach into an order.
The document to attach into an order. Must be an encoded base64 string of the document´s full content.
Document name, only for base64 encoded files
Document extension, only for base64 encoded files
Country | Language | Message template |
---|---|---|
API_KEY*
String
(default=none)
accountId *
Integer
(default=none)
orderId
Integer
message
String
messageOptions
Integer
file
File
fileBase64
String
documentName
String
documentExtension
String
Argentina
Chile
Colombia
México
Uruguay
Spanish
Hola, por favor confirma las características que quieres del producto que compraste, así podemos concretar el envío.
Brazil
Portuguese
Olá! Por favor, confirme as características que quer para o produto que você comprou, assim, podemos fazer o envio.
Other countries
Not available
Argentina
Spanish
Para adjuntarte la factura de tu compra necesito los siguientes datos:
· Nombre y apellido
· DNI
· Domicilio
· Código postal
Colombia
Spanish
Para adjuntarte la factura de tu compra necesito los siguientes datos:
· Nombre y apellido
· Tipo y número de documento
· Domicilio
· Código postal
· Código de municipio
· Código de departamento
México
Spanish
Para adjuntarte la factura de tu compra necesito los siguientes datos:
· Nombre y apellido
· RFC
· Domicilio
· Código postal
Uruguay
Spanish
Para adjuntarte la factura de tu compra necesito los siguientes datos:
· Nombre y apellido
· Cédula
Other countries
Not available