Carrier response value
LINK CARRIER_CALLBACK_URL
Everytime there is a user in the checkout of the ecommerce store you will get the following payload.
{
"origin": {
"name": "TestingPruebas",
"company": "EcartAPI",
"email": "admin@ecartapi.com",
"phone": "81111111111",
"street": "Florencio Varela",
"number": "2471",
"district": null,
"city": "San Justo",
"state": "Buenos Aires",
"country": "AR",
"postalCode": "1754"
},
"destination": {
"name": " ",
"company": "EcartAPI",
"email": "admin@ecartapi.com",
"phone": "81111111111",
"street": "street",
"number": "1",
"district": "General San Martin",
"city": "General San Martin",
"state": "Buenos Aires",
"country": "AR",
"postalCode": "5012"
},
"items": [
{
"name": "Productito",
"sku": "PKNTO1",
"quantity": "1",
"price": "50",
"weight": "1",
"width": 10,
"height": 10,
"depth": 10,
"productId": "123530131",
"variantId": null
}
],
"package": {
"content": null,
"amount": "1",
"type": "box",
"dimensions": {
"length": 10,
"width": 10,
"height": 10
},
"weight": "1",
"lengthUnit": null,
"weightUnit": null,
"insurance": "0",
"declaredValue": "0"
},
"currency": "MXN",
"locale": null
}