⚙️Examples
Request:
curl --location --request GET 'https://api.alephcrm.com/v2/orders?API_KEY=AAAAAAAA-XXX-XXX-XXX-XXXXXXXXXXXX&accountID=NNNN&integrated=false \
--header 'Content-Type: application/json' \
--header 'Cookie: xxx' \
Responses:
GET orders example:
{
"Paging":{
"Limit":1,
"Offset":0,
"Total":1
},
"AvailableSorts":[
{
"Id":"Id",
"Name":"Order by internal ID asc"
},
{
"Id":"dateCreated",
"Name":"Order by date of sale asc"
}
],
"Total":1,
"Results":[
{
"Id":58X52,
"SellerAccount":{
"Id":11111111,
"Name":"Razon social",
"BusinessName":"Nombre de fantasía"
},
"ExternalOrderId":"20X034X460",
"IntegratedOrderId":"",
"PackId":"",
"Items":[
{
"Id":61745,
"Product":{
"Id":183X76,
"Sku":"PX2000TX-AR",
"Brand":"Black + Decker",
"SellerSku":"",
"EAN":"885X11407519",
"Title":"Hidrolavadora 2000W",
"IntegrationCode":"MLA785X40296",
"Category":{
"Key":"MLA3X840",
"Value":"Hidrolavadoras"
}
},
"ProductListing":{
"Id":5097398,
"ExternalId":"MLA3X8409928",
"Title":"Super oferta de Hidrolavadora 2000W",
"ListingType":{
"Key":7,
"Value":"free"
},
"PermanentLink":"https://articulo.mercadolibre.com.ar/MLA-83XXXXX/masinfo_JM"
},
"Quantity":2,
"UnitPrice":1135.83,
"Status":{
"Key":90,
"Value":"Cancelado"
},
"StatusType":{
"Key":99,
"Value":"Cancelado"
},
"Type":{
"Key":0,
"Value":"Product"
},
"IsCancelled":true
}
],
"Payments":[
{
"ExternalPaymentId":474X41X716,
"Amount":1967.17,
"AmountNoDiscount":1967.17,
"ShippingAmount":0.0,
"ShippingAmountNoDiscount":0.0,
"Installments":1,
"Notes":"Hidrolavadora 2000w",
"CurrencySymbol":"ARS",
"Method":{
"Key":0,
"Value":"account_money"
},
"Status":{
"Key":1,
"Value":"approved - accredited"
},
"Taxes":{
},
"DateCreated":"2019-05-08T22:42:58Z",
"DateApproved":"2019-05-08T22:43:04Z",
"LastUpdate":"2019-05-08T22:43:04Z"
},
{
"ExternalPaymentId":4749562101,
"Amount":304.49,
"AmountNoDiscount":304.49,
"ShippingAmount":0.0,
"ShippingAmountNoDiscount":0.0,
"Installments":1,
"InstallmentAmount":304.49,
"Notes":"Hidrolavadora 2000w 150bar Black Decker PX2000tx",
"CurrencySymbol":"ARS",
"Method":{
"Key":5,
"Value":"debvisa"
},
"Status":{
"Key":1,
"Value":"approved - accredited"
},
"Taxes":{
},
"AuthorizationCode":"257857",
"DateCreated":"2019-05-08T22:42:59Z",
"DateApproved":"2019-05-08T22:43:04Z",
"LastUpdate":"2019-05-08T22:43:04Z"
}
],
"Shipping":{
"ExternalShippingId":28X8798X85,
"Method":{
"Key":1,
"Value":"Mercado Envios"
},
"Status":{
"Key":80,
"Value":"delivered"
},
"LogisticType":{
"Key":3,
"Value":"me2"
},
"ShippingLabels":{
"ShippingLabelUrlPdf":"",
"ShippingLabelUrlZip":""
},
"ReceiverAddress":{
"CountryId":"AR",
"StreetName":"9",
"StreetNumber":"XXXX",
"ZipCode":"6660",
"Description":"9 XXXX, - (6660)"
},
"Receiver":{
"Name":"Paz XXXX",
"Phone":"5X492X54499X8"
},
"EstimatedDeliveryDate":"2020-01-02T03:00:00Z",
"DateCreated":"2019-09-01T22:53:32Z",
"LastUpdated":"2019-09-06T17:47:08Z"
},
"Buyer":{
"Name":"MAURICIO HECTOR XXXX",
"Phone":"35X34010X95",
"Email":"gerenc.920iydcmbtgq4tkmju@mail.mercadolibre.com",
"DocType":"DNI",
"DocNumber":"2X334X54",
"BillingInfo":{
"DocType":"DNI",
"DocNumber":"2X334X54",
"Address":{
"City":"las varillas",
"State":"Córdoba",
"CountryId":"AR",
"StreetName":"Corrientes",
"StreetNumber":"3X9",
"ZipCode":"5X40",
"Notes":"cavallo",
"Description":"Corrientes 3X9, las varillas - Córdoba (5940)"
}
},
"Address":{
"City":"Las varillas",
"State":"AR-X",
"CountryId":"AR",
"Phone":"",
"AlternativePhone":""
}
},
"Integrated":true,
"Status":{
"Key":90,
"Value":"Cancelado"
},
"StatusType":{
"Key":99,
"Value":"Cancelado"
},
"MarketPlace":{
"Key":1,
"Value":"Mercado Libre",
"Channel": ""
},
"DateCreated":"2019-05-08T22:42:57Z",
"LastUpdated":"2019-05-08T22:43:04Z",
"DateClosed":"2019-05-08T22:43:04Z",
"IsCancelled":true
}
]
}
GET orders example with a KIT-type product:
{
"Paging": {
"Limit": 100,
"Offset": 0,
"Total": 1
},
"AvailableSorts": [
{
"Id": "Id",
"Name": "Order by internal ID asc"
},
{
"Id": "dateCreated",
"Name": "Order by date of sale asc"
}
],
"Total": 1,
"Results": [
{
"Id": 100000,
"ExternalOrderId": "4000000000",
"PackId": "",
"SellerAccount": {
"Id": 00000,
"Name": "Tienda de prueba",
"BusinessName": "Tienda de prueba"
},
"Items": [
{
"Id": 1384025,
"Type": {
"Key": 1,
"Value": "Kit"
},
"Product": {
"Id": 2012445,
"Sku": "1000000-02",
"Brand": "Firestone",
"SellerSku": "",
"EAN": "",
"Title": "F-700",
"IntegrationCode": "MLB190000000",
"Category": {
"Key": "MLB2233",
"Value": "Pneus de Carros e Caminhonetes"
}
},
"ProductListing": {
"Id": 1600000,
"ExternalId": "MLB10000000",
"Title": "F-700 Firestone",
"ListingType": {
"Key": 32,
"Value": "gold_special"
},
"PermanentLink": "https://produto.mercadolivre.com.br/MLB-190000000-f-700-firestone-_JM"
},
"Quantity": 1,
"UnitPrice": 8000.0,
"FullUnitPrice": 8000.0,
"UnitPriceCost": 0.0,
"CalculatedComponentUnitPrice": 0.0,
"CalculatedComponentFullUnitPrice": 0.0,
"SaleFee": 920.0,
"Status": {
"Key": 10,
"Value": "A preparar"
},
"StatusType": {
"Key": 1,
"Value": "Pendiente"
},
"IsCancelled": false
},
{
"Id": 1384026,
"Type": {
"Key": 2,
"Value": "Component"
},
"ParentItemId": 1384025,
"Product": {
"Id": 2012443,
"Sku": "10000000",
"Brand": "Firestone",
"SellerSku": "",
"EAN": "",
"Title": "F-700",
"IntegrationCode": "",
"Category": {
"Key": "MLB2233",
"Value": "Pneus de Carros e Caminhonetes"
}
},
"ProductListing": {
"ListingType": {
"Key": 0
}
},
"Quantity": 2,
"UnitPrice": 0.0,
"FullUnitPrice": 0.0,
"UnitPriceCost": 0.0,
"CalculatedComponentUnitPrice": 4000.0,
"CalculatedComponentFullUnitPrice": 4000.0,
"Status": {
"Key": 10,
"Value": "A preparar"
},
"StatusType": {
"Key": 1,
"Value": "Pendiente"
},
"IsCancelled": false
}
],
"Payments": [
{
"ExternalPaymentId": "100000000",
"Amount": 8165.91,
"AmountNoDiscount": 8165.91,
"ShippingAmount": 165.91,
"ShippingAmountNoDiscount": 165.91,
"TransactionAmount": 8000.0,
"Installments": 1,
"InstallmentAmount": 8165.91,
"Notes": "F-700 Firestone",
"CurrencySymbol": "BRL",
"Method": {
"Key": 4,
"Value": "elo"
},
"Status": {
"Key": 1,
"Value": "approved - accredited"
},
"Taxes": {},
"AuthorizationCode": "1234567",
"DateCreated": "2021-07-01T21:21:25Z",
"DateApproved": "2021-07-01T21:21:25Z",
"LastUpdate": "2021-07-01T21:22:31Z"
}
],
"Shipping": {
"ExternalShippingId": 400000000,
"Cost": 165.91,
"ReceiverCost": 165.91,
"SenderCost": 0.0,
"Method": {
"Key": 3,
"Value": "Mercado Envios"
},
"Status": {
"Key": 10,
"Value": "pending"
},
"LogisticType": {
"Key": 2,
"Value": "Mercado Envios 1"
},
"ShippingLabels": {
"SubStatus": "pending",
"ShippingLabelUrlPdf": "",
"ShippingLabelUrlZip": ""
},
"ReceiverAddress": {
"CountryId": "BR",
"StateCode": "BR-SP",
"State": "São Paulo",
"City": "Campinas",
"Neighborhood": "Mansões Santo Antônio",
"StreetName": "Rua Adelino Martins",
"StreetNumber": "0000",
"ZipCode": "000000",
"Notes": "",
"Description": "Rua Adelino Martins 0000, Campinas - São Paulo (000000)"
},
"Receiver": {
"Name": "TEST TEST",
"Phone": "19987893219"
},
"DateCreated": "2021-07-01T21:21:25Z",
"LastUpdated": "2021-07-01T21:21:28Z"
},
"Buyer": {
"Code": 0,
"Name": "Test Test",
"Phone": "(01) 1111-1111 ",
"Email": "ttest.554f2t+2-ogq3dqmzygqzdqmrv@mail.mercadolivre.com",
"DocType": "CPF",
"DocNumber": "00000000",
"Nickname": "TETE7160135",
"Address": {
"CountryId": "BR",
"StateCode": "BR-SP",
"State": "Sao Paulo",
"City": "São Paulo",
"Phone": "",
"AlternativePhone": ""
},
"BillingInfo": {
"DocType": "CPF",
"DocNumber": "000000000"
}
},
"Integrated": false,
"IntegratedOrderId": "",
"Invoice": {
"DanfePdfUrl": "",
"XmlUrl": ""
},
"Status": {
"Key": 10,
"Value": "A preparar"
},
"StatusType": {
"Key": 1,
"Value": "Pendiente"
},
"MarketPlace": {
"Key": 1,
"Value": "Mercado Livre"
},
"DateCreated": "2021-07-01T21:21:24Z",
"LastUpdated": "2021-07-01T21:23:32Z",
"DateClosed": "2021-07-01T21:21:26Z",
"IsCancelled": false
}
]
}
GET orders example with a shopping cart:
{
"Paging":{
"Limit":100,
"Offset":0,
"Total":1
},
"AvailableSorts":[
{
"Id":"Id",
"Name":"Order by internal ID asc"
},
{
"Id":"dateCreated",
"Name":"Order by date of sale asc"
}
],
"Total":2,
"Results":[
{
"Id":784629,
"SellerAccount":{
"Id":11111111,
"Name":"Razon social",
"BusinessName":"Nombre de fantasía"
},
"ExternalOrderId":"2XX24XX652",
"IntegratedOrderId":"",
"PackId":"2000000730043114",
"Items":[
{
"Id":615065,
"Product":{
"Id":643442,
"Sku":"E101EAJ500",
"Brand":"Subaru",
"SellerSku":"XYZ",
"EAN":"",
"Title":"COBERTOR ABATIBLE PARACHOQUE TRASERO",
"IntegrationCode":"MLC5XX26XX22",
"Category":{
"Key":"MLC176992",
"Value":"Otros Cobertores"
}
},
"ProductListing":{
"Id":5097398,
"ExternalId":"MLA3X8409928",
"Title":"Super oferta COBERTOR ABATIBLE PARACHOQUE TRASERO",
"ListingType":{
"Key":7,
"Value":"free"
},
"PermanentLink":"https://articulo.mercadolibre.com.ar/MLA-83XXXXX/masinfo_JM"
},
"Quantity":1,
"UnitPrice":XX094,
"CalculatedComponentUnitPrice":0,
"SaleFee":XX82,
"Status":{
"Key":10,
"Value":"A Preparar"
},
"StatusType":{
"Key":1,
"Value":"Pendiente"
},
"UnitPriceCost":XXXX062,
"Type":{
"Key":0,
"Value":"Product"
},
"IsCancelled":false
}
],
"Payments":[
{
"ExternalPaymentId":7XX7XX6760,
"Amount":XX094,
"AmountNoDiscount":XX094,
"ShippingAmount":0,
"ShippingAmountNoDiscount":0,
"Installments":1,
"Notes":"Cobertor Abatible Parachoque Trasero Subaru E101eaj500",
"CurrencySymbol":"CLP",
"Method":{
"Key":0,
"Value":"account_money"
},
"Status":{
"Key":1,
"Value":"approved - accredited"
},
"Taxes":{
},
"DateCreated":"2020-07-31T17:46:56Z",
"DateApproved":"2020-07-31T17:46:56Z",
"LastUpdate":"2020-07-31T17:46:56Z"
}
],
"Shipping":{
"ExternalShippingId":X0032XXX264,
"Method":{
"Key":3,
"Value":"Mercado Envios"
},
"Status":{
"Key":10,
"Value":"ready_to_ship"
},
"LogisticType":{
"Key":3,
"Value":"me2"
},
"ShippingLabels":{
"SubStatus":"ready_to_print",
"ShippingLabelUrlPdf":"https://api.alephcrm.com/Pedidos/XYZ/MeliEtiqueta?IdCuenta=XYZ&formato=pdf&api_key=abcabcabc",
"ShippingLabelUrlZip":"https://api.alephcrm.com/Pedidos/XYZ/MeliEtiqueta?IdCuenta=XYZ&formato=zpl2&api_key=abcabcabc"
},
"ReceiverAddress":{
"City":"Rancagua",
"State":"Libertador B. O'Higgins",
"Neighborhood":"XXXX",
"CountryId":"CL",
"StreetName":"XXXX villalobos",
"StreetNumber":"XXX",
"Description":"XXXX villalobos XXXX, Rancagua - Libertador B. O'Higgins ()"
},
"Receiver":{
"Name":"Luis XXXX",
"Phone":"XYZYX"
},
"EstimatedDeliveryDate":"2020-09-17T04:00:00Z",
"DateCreated":"2020-07-31T17:46:47Z",
"LastUpdated":"2020-07-31T17:50:53Z"
},
"Buyer":{
"Name":"Luis Gabriel XYZ",
"Email":"lconsue.f8jqbr+2-ogi3damrugqztmojw@mail.mercadolibre.cl",
"DocType":"RUT",
"DocNumber":"23X82XX33",
"Nickname":"CATADOR1989",
"BillingInfo":{
"DocType":"RUT",
"DocNumber":"23X82XX33",
"Address":{
"City":"XXX",
"State":"Libertador B. O'Higgins",
"Neighborhood":"Rancagua",
"CountryId":"CL",
"StreetName":"XXXX villalobos",
"StreetNumber":"1075",
"Notes":"XXXX",
"Description":"XXXX villalobos XXX, Rancagua - Libertador B. O'Higgins ()"
}
},
"Address":{
"City":"Rancagua",
"State":"CL-LI",
"CountryId":"CL",
"Phone":"",
"AlternativePhone":""
}
},
"Integrated":true,
"Status":{
"Key":10,
"Value":"A Preparar"
},
"StatusType":{
"Key":1,
"Value":"Pendiente"
},
"MarketPlace":{
"Key":1,
"Value":"Mercado Libre"
},
"DateCreated":"2020-07-31T17:46:47Z",
"LastUpdated":"2020-07-31T17:46:57Z",
"DateClosed":"2020-07-31T17:46:57Z",
"IsCancelled":false
},
{
"Id":785787,
"SellerAccount":{
"Id":11111111,
"Name":"Razon social",
"BusinessName":"Nombre de fantasía"
},
"ExternalOrderId":"2XX24XX652",
"IntegratedOrderId":"",
"PackId":"2000000730043114",
"Items":[
{
"Id":615065,
"Product":{
"Id":643442,
"Sku":"E101EAJ500",
"Brand":"Subaru",
"SellerSku":"XYZ",
"EAN":"",
"Title":"COBERTOR ABATIBLE PARACHOQUE TRASERO",
"IntegrationCode":"MLC5XX26XX22",
"Category":{
"Key":"MLC176992",
"Value":"Otros Cobertores"
}
},
"ProductListing":{
"Id":5097398,
"ExternalId":"MLA3X8409928",
"Title":"Super oferta COBERTOR ABATIBLE PARACHOQUE TRASERO",
"ListingType":{
"Key":7,
"Value":"free"
},
"PermanentLink":"https://articulo.mercadolibre.com.ar/MLA-83XXXXX/masinfo_JM"
},
"Quantity":1,
"UnitPrice":XX094,
"CalculatedComponentUnitPrice":0,
"SaleFee":XX82,
"Status":{
"Key":10,
"Value":"A Preparar"
},
"StatusType":{
"Key":1,
"Value":"Pendiente"
},
"UnitPriceCost":XXXX062,
"Type":{
"Key":0,
"Value":"Product"
},
"IsCancelled":false
}
],
"Payments":[
{
"ExternalPaymentId":7XX7XX6760,
"Amount":XX094,
"AmountNoDiscount":XX094,
"ShippingAmount":0,
"ShippingAmountNoDiscount":0,
"Installments":1,
"Notes":"Cobertor Abatible Parachoque Trasero Subaru E101eaj500",
"CurrencySymbol":"CLP",
"Method":{
"Key":0,
"Value":"account_money"
},
"Status":{
"Key":1,
"Value":"approved - accredited"
},
"Taxes":{
},
"DateCreated":"2020-07-31T17:46:56Z",
"DateApproved":"2020-07-31T17:46:56Z",
"LastUpdate":"2020-07-31T17:46:56Z"
}
],
"Shipping":{
"ExternalShippingId":X0032XXX264,
"Method":{
"Key":3,
"Value":"Mercado Envios"
},
"Status":{
"Key":10,
"Value":"ready_to_ship"
},
"LogisticType":{
"Key":3,
"Value":"me2"
},
"ShippingLabels":{
"SubStatus":"ready_to_print",
"ShippingLabelUrlPdf":"https://api.alephcrm.com/Pedidos/XYZ/MeliEtiqueta?IdCuenta=XYZ&formato=pdf&api_key=abcabcabc",
"ShippingLabelUrlZip":"https://api.alephcrm.com/Pedidos/XYZ/MeliEtiqueta?IdCuenta=XYZ&formato=zpl2&api_key=abcabcabc"
},
"ReceiverAddress":{
"City":"Rancagua",
"State":"Libertador B. O'Higgins",
"Neighborhood":"XXXX",
"CountryId":"CL",
"StreetName":"XXXX villalobos",
"StreetNumber":"XXX",
"Description":"XXXX villalobos XXXX, Rancagua - Libertador B. O'Higgins ()"
},
"Receiver":{
"Name":"Luis XXXX",
"Phone":"XYZYX"
},
"EstimatedDeliveryDate":"2020-09-17T04:00:00Z",
"DateCreated":"2020-07-31T17:46:47Z",
"LastUpdated":"2020-07-31T17:50:53Z"
},
"Buyer":{
"Name":"Luis Gabriel XYZ",
"Email":"lconsue.f8jqbr+2-ogi3damrugqztmojw@mail.mercadolibre.cl",
"DocType":"RUT",
"DocNumber":"23X82XX33",
"Nickname":"CATADOR1989",
"BillingInfo":{
"DocType":"RUT",
"DocNumber":"23X82XX33",
"Address":{
"City":"XXX",
"State":"Libertador B. O'Higgins",
"Neighborhood":"Rancagua",
"CountryId":"CL",
"StreetName":"XXXX villalobos",
"StreetNumber":"1075",
"Notes":"XXXX",
"Description":"XXXX villalobos XXX, Rancagua - Libertador B. O'Higgins ()"
}
},
"Address":{
"City":"Rancagua",
"State":"CL-LI",
"CountryId":"CL",
"Phone":"",
"AlternativePhone":""
}
},
"Integrated":true,
"Status":{
"Key":10,
"Value":"A Preparar"
},
"StatusType":{
"Key":1,
"Value":"Pendiente"
},
"MarketPlace":{
"Key":1,
"Value":"Mercado Libre"
},
"DateCreated":"2020-07-31T17:46:47Z",
"LastUpdated":"2020-07-31T17:46:57Z",
"DateClosed":"2020-07-31T17:46:57Z",
"IsCancelled":false
}
]
}
GET orders example with a shipping cost:
{
"Paging":{
"Limit":100,
"Offset":0,
"Total":1
},
"AvailableSorts":[
{
"Id":"Id",
"Name":"Order by internal ID asc"
},
{
"Id":"dateCreated",
"Name":"Order by date of sale asc"
}
],
"Total":1,
"Results":[
{
"Id":299811,
"SellerAccount":{
"Id":11111111,
"Name":"Razon social",
"BusinessName":"Nombre de fantasía"
},
"ExternalOrderId":"2194744582",
"IntegratedOrderId":"",
"PackId":"",
"Items":[
{
"Id":242119,
"Product":{
"Id":232290,
"Sku":"VA-081",
"Brand":"Iael",
"SellerSku":"",
"EAN":"",
"Title":"Compresor Portatil 12v Aire Rueda Auto Moto 4x4 Cuatriciclo",
"IntegrationCode":"MLA759446632",
"Category":{
"Key":"MLA370796",
"Value":"Compresores"
}
},
"Quantity":1,
"UnitPrice":814.13,
"CalculatedComponentUnitPrice":0,
"Status":{
"Key":90,
"Value":"Cancelado"
},
"StatusType":{
"Key":99,
"Value":"Cancelado"
},
"UnitPriceCost":0,
"Type":{
"Key":0,
"Value":"Product"
},
"IsCancelled":true
}
],
"Payments":[
{
"ExternalPaymentId":5386108032,
"Amount":1484.12,
"AmountNoDiscount":1484.12,
"ShippingAmount":299.99,
"ShippingAmountNoDiscount":299.99,
"Installments":6,
"InstallmentAmount":247.35,
"Notes":"Compresor Portatil 12v Aire Rueda Auto Moto 4x4 Cuatriciclo",
"CurrencySymbol":"ARS",
"Method":{
"Key":4,
"Value":"master"
},
"Status":{
"Key":6,
"Value":"refunded - bpp_refunded"
},
"Taxes":{
},
"AuthorizationCode":"691801",
"DateCreated":"2019-10-30T04:10:16Z",
"DateApproved":"2019-10-30T04:10:18Z",
"LastUpdate":"2019-10-30T04:13:58Z"
}
],
"Shipping":{
"ExternalShippingId":28140424540,
"Cost":299.99,
"ReceiverCost":99.99,
"SellerCost":200,
"Method":{
"Key":0,
"Value":"Mercado Envios"
},
"Status":{
"Key":90,
"Value":"cancelled"
},
"LogisticType":{
"Key":3,
"Value":"me2"
},
"ShippingLabels":{
"ShippingLabelUrlPdf":"",
"ShippingLabelUrlZip":""
},
"ReceiverAddress":{
"CountryId":"AR",
"StreetName":"Pasaje Tierra Del Fuego Sn",
"StreetNumber":"SN",
"ZipCode":"4178",
"Description":"Pasaje Tierra Del Fuego Sn SN, - (4178)"
},
"Receiver":{
},
"DateCreated":"2019-10-30T04:10:15Z"
},
"Buyer":{
"Name":"pablo duminao",
"Phone":"1162128487 ",
"Email":"pdumina.48zggq+2-ogiytsnbxgq2dmmjx@mail.mercadolibre.com",
"DocType":"DNI",
"DocNumber":"26119424",
"Nickname":"PABLODUMINAO",
"BillingInfo":{
"DocType":"DNI",
"DocNumber":"26119424",
"Address":{
"City":"Ranchillos",
"State":"Tucumán",
"CountryId":"AR",
"StreetName":"Mitre",
"StreetNumber":"500",
"ZipCode":"4178",
"Description":"Mitre 500, Ranchillos - Tucumán (4178)"
}
},
"Address":{
"City":"San martin bs as",
"State":"AR-B",
"CountryId":"AR",
"Phone":"",
"AlternativePhone":""
}
},
"Integrated":false,
"Status":{
"Key":90,
"Value":"Cancelado"
},
"StatusType":{
"Key":99,
"Value":"Cancelado"
},
"MarketPlace":{
"Key":1,
"Value":"Mercado Libre"
},
"DateCreated":"2019-10-30T04:10:15Z",
"LastUpdated":"0001-01-01T00:00:00Z",
"DateClosed":"2019-10-30T04:10:18Z",
"IsCancelled":true
}
]
}
GET orders example with a “IVA inscripto” buyer-type:
{
"Paging":{
"Limit":100,
"Offset":0,
"Total":1
},
"AvailableSorts":[
{
"Id":"Id",
"Name":"Order by internal ID asc"
},
{
"Id":"dateCreated",
"Name":"Order by date of sale asc"
}
],
"Total":1,
"Results":[
{
"Id":803694,
"SellerAccount":{
"Id":11111111,
"Name":"Razon social",
"BusinessName":"Nombre de fantasía"
},
"ExternalOrderId":"2XX198XX80",
"IntegratedOrderId":"",
"PackId":"",
"Items":[
{
"Id":636275,
"Product":{
"Id":427391,
"Sku":"1.055-409.0",
"Brand":"Kärcher",
"SellerSku":"",
"EAN":"4054278522289",
"Title":"Limpiadora de Pisos Fc5",
"IntegrationCode":"MLA7XX38XX05",
"Category":{
"Key":"MLA1899",
"Value":"Otros"
}
},
"ProductListing":{
"Id":5097398,
"ExternalId":"MLA3X8409928",
"Title":"Super oferta Limpiadora de Pisos Fc5",
"ListingType":{
"Key":7,
"Value":"free"
},
"PermanentLink":"https://articulo.mercadolibre.com.ar/MLA-83XXXXX/masinfo_JM"
},
"Quantity":1,
"UnitPrice":2XX00,
"CalculatedComponentUnitPrice":0,
"SaleFee":X8X4,
"Status":{
"Key":10,
"Value":"A Preparar"
},
"StatusType":{
"Key":1,
"Value":"Pendiente"
},
"UnitPriceCost":0,
"Type":{
"Key":0,
"Value":"Product"
},
"IsCancelled":false
}
],
"Payments":[
{
"ExternalPaymentId":8XXX8XXX786,
"Amount":2XX00,
"AmountNoDiscount":2XX00,
"ShippingAmount":0,
"ShippingAmountNoDiscount":0,
"Installments":1,
"InstallmentAmount":2XX00,
"Notes":"Limpiadora De Pisos Fc5 Kärcher",
"CurrencySymbol":"ARS",
"Method":{
"Key":4,
"Value":"master"
},
"Status":{
"Key":1,
"Value":"approved - accredited"
},
"Taxes":{
},
"AuthorizationCode":"640630",
"DateCreated":"2020-08-14T12:16:43Z",
"DateApproved":"2020-08-14T12:16:45Z",
"LastUpdate":"2020-08-14T12:16:45Z"
}
],
"Shipping":{
"ExternalShippingId":40058150923,
"Cost":10.49,
"Method":{
"Key":3,
"Value":"Mercado Envios"
},
"Status":{
"Key":10,
"Value":"ready_to_ship"
},
"LogisticType":{
"Key":3,
"Value":"me2"
},
"ShippingLabels":{
"SubStatus":"ready_for_pickup",
"ShippingLabelUrlPdf":"https://api.alephcrm.com/Pedidos/xxxx/MeliEtiqueta?IdCuenta=xxx&formato=pdf&api_key=xxxx",
"ShippingLabelUrlZip":"https://api.alephcrm.com/Pedidos/xxxx/MeliEtiqueta?IdCuenta=xxx&formato=zpl2&api_key=xxxx"
},
"ReceiverAddress":{
"City":"Alto Los Cardales",
"State":"Buenos Aires",
"CountryId":"AR",
"StreetName":"Bº LA RESERVA SOFITEL CARDALES",
"StreetNumber":"XXX",
"ZipCode":"2814",
"Description":"Bº LA RESERVA SOFITEL CARDALES 80, Alto Los Cardales - Buenos Aires (2814)"
},
"Receiver":{
"Name":"CARLOS XXXX",
"Phone":"011 XX4XX1615"
},
"EstimatedDeliveryDate":"2020-09-30T03:00:00Z",
"DateCreated":"2020-08-14T12:16:43Z",
"LastUpdated":"2020-08-14T12:27:43Z"
},
"Buyer":{
"Name":"CARLOS XXXX",
"Email":"gerenc.920zcb+2-ogi3dgmjzha3domjw@mail.mercadolibre.com",
"DocType":"CUIT",
"DocNumber":"30X1X13XX8X",
"Nickname":"XYZASACACA",
"BillingInfo":{
"DocType":"CUIT",
"DocNumber":"30X1X13XX8X",
"TaxPayerType":"IVA Responsable Inscripto",
"BusinessName":"XXXX S.A.",
"Address":{
"City":"MARTINEZ",
"State":"Buenos Aires",
"CountryId":"AR",
"StreetName":"AV SANTA FE",
"StreetNumber":"XXXX",
"ZipCode":"1640",
"Notes":"XYZ",
"Description":"AV SANTA FE XXX, MARTINEZ - Buenos Aires (1640)"
}
},
"Address":{
"CountryId":"AR",
"Phone":"",
"AlternativePhone":""
}
},
"Integrated":false,
"Status":{
"Key":10,
"Value":"A Preparar"
},
"StatusType":{
"Key":1,
"Value":"Pendiente"
},
"MarketPlace":{
"Key":1,
"Value":"Mercado Libre"
},
"DateCreated":"2020-08-14T12:16:42Z",
"LastUpdated":"2020-08-14T12:16:46Z",
"DateClosed":"2020-08-14T12:16:46Z",
"IsCancelled":false
}
]
}
GET orders example with an Alephee B2B portal order:
{
"Paging": {
"Limit": 100,
"Offset": 0,
"Total": 1
},
"AvailableSorts": [
{
"Id": "Id",
"Name": "Order by internal ID asc"
},
{
"Id": "dateCreated",
"Name": "Order by date of sale asc"
}
],
"Total": 1,
"Results": [
{
"Id": 955022,
"SellerAccount": {
"Id": 111111187,
"Name": "VENDEDOR",
"BusinessName": "VENDEDOR SRL"
},
"ExternalOrderId": "",
"IntegratedOrderId": "",
"PackId": "",
"Items": [
{
"Id": 808058,
"Product": {
"Id": 194548,
"Sku": "943",
"Brand": "MULTICAP",
"SellerSku": "2276",
"EAN": "",
"Title": "LONA",
"IntegrationCode": "",
"Category": {
"Key": "MLA429253",
"Value": "Lonas Marítimas"
}
},
"ProductListing": {
"ListingType": {
"Key": 0
}
},
"Quantity": 1,
"UnitPrice": 13860,
"FullUnitPrice": 0,
"CalculatedComponentUnitPrice": 0,
"CalculatedComponentFullUnitPrice": 0,
"Status": {
"Key": 0,
"Value": "Nuevo"
},
"StatusType": {
"Key": 0,
"Value": "Nuevo"
},
"Type": {
"Key": 0,
"Value": "Product"
},
"IsCancelled": false,
"UnitPriceCost": 0
}
],
"Shipping": {
"Cost": 0,
"Method": {
"Key": 4,
"Value": "Propio"
},
"Status": {
"Key": 0
},
"LogisticType": {
"Key": 4,
"Value": "Personalizado"
},
"DateCreated": "2020-11-30T14:42:00",
"LastUpdated": "2020-11-30T14:42:00"
},
"Buyer": {
"Name": "Gonzalo",
"Phone": "15493939393939",
"Email": "asxxxx@xxxx,com",
"DocType": "",
"DocNumber": "",
"Nickname": "",
"BillingInfo": {
"DocType": "",
"DocNumber": "",
"TaxPayerType": "",
"BusinessName": "Cristian Gonzalo",
"Address": {
"City": "Boulogne",
"State": "Buenos Aires",
"CountryId": "AR",
"StreetName": "Avelino Rolon",
"StreetNumber": "1",
"ZipCode": "1609",
"Description": "Avelino Rolon 1 - Boulogne (CP: 1609) Buenos Aires",
"Phone": "(011)49999999",
"AlternativePhone": ""
}
},
"Address": {
"City": "Boulogne",
"State": "Buenos Aires",
"CountryId": "AR",
"StreetName": "Avelino Rolon",
"StreetNumber": "1",
"ZipCode": "1609",
"Description": "Avelino Rolon 1 - Boulogne (CP: 1609) Buenos Aires",
"Phone": "(011)47661572",
"AlternativePhone": ""
}
},
"Integrated": false,
"Status": {
"Key": 0,
"Value": "Nuevo"
},
"StatusType": {
"Key": 0,
"Value": "Nuevo"
},
"MarketPlace": {
"Key": 0,
"Value": "AlephCRM",
"Channel": "B2B Portal"
},
"DateCreated": "2020-11-30T14:42:00",
"LastUpdated": "2020-11-30T14:42:00",
"IsCancelled": false
}
]
}
Last updated