v1
latestOpenAPI 3.1.02026-07-24290162.6 KBExibir informações de item do carrinho
Carrinho de Compras
get/api/v2/me/cart/{id}
Path parameters
idstring required
ID do Pedido
Headers
Acceptstring required
application/json
Authorizationstring required
User-Agentstring required
É obritatório que seja adicionado o cabeçalho HTTP User-Agent com o nome da sua aplicação junto a um email de contato/suporte.
Response
200
Example response
{
"id": "c7e6f6a1-88a2-4b76-95e1-eb9f344f2885",
"protocol": "ORD-20220397320",
"service_id": 3,
"agency_id": 49,
"quote": 25.35,
"price": 25.35,
"discount": 5.71,
"delivery_min": 5,
"delivery_max": 6,
"status": "pending",
"insurance_value": 50,
"format": "box",
"billed_weight": 3.5,
"created_at": "2022-03-29 14:17:08",
"updated_at": "2022-03-29 14:17:08",
"from": {
"name": "Teste Magento",
"phone": "5598105050",
"email": "melhorenvio@teste.com",
"document": "16571478358",
"company_document": "04517623000197",
"state_register": "563025255115",
"postal_code": "7110000",
"address": "Rua Teste",
"location_number": "100",
"complement": "CASA",
"district": "Bairro teste",
"city": "Guarulhos",
"state_abbr": "SP",
"country_id": "BR",
"note": "observação"
},
"to": {
"name": "Melhor Envio",
"phone": "1999999999",
"email": "melhorenvio@teste.com",
"document": "73646548010",
"company_document": "89794131000100",
"state_register": "123456",
"postal_code": "26210000",
"address": "Avenida Marechal Floriano Peixoto",
"location_number": "123",
"complement": "ap 2",
"district": "Centro",
"city": "Nova Iguacu",
"state_abbr": "RJ",
"country_id": "BR",
"note": "Observação"
},
"service": {
"id": 3,
"name": ".Package",
"status": "available",
"type": "normal",
"range": "interstate",
"restrictions": "{\"insurance_value\":{\"min\":0,\"max\":29900},\"formats\":{\"box\":{\"weight\":{\"min\":0.001,\"max\":120},\"width\":{\"min\":1,\"max\":105},\"height\":{\"min\":1,\"max\":100},\"length\":{\"min\":1,\"max\":181},\"sum\":386}}}",
"requirements": "[\"names\",\"phones\",\"addresses\",\"documents\",\"invoice\"]",
"optionals": "[\"AR\",\"VD\"]",
"company": {
"id": 2,
"name": "Jadlog",
"status": "available",
"picture": "/images/shipping-companies/jadlog.png"
}
},
"agency": {
"id": 49,
"company_id": 2,
"name": "CO MIRASSOL 01 ",
"initials": "CO-MSL-01",
"code": "1008588",
"status": "available",
"company_name": "RODOZELLI EXPRESS LTDA ME",
"email": "bozelli.msl@jadlog.com.br",
"created_at": "2017-09-11 17:47:14",
"updated_at": "2018-03-12 23:48:11",
"address": {
"id": 49,
"label": "Agência JadLog",
"postal_code": "15130000",
"address": "Rua Frei Antonio Zimmermann 2020",
"district": "Jardim Alvorada",
"latitude": -20.8201453,
"longitude": -49.4951883,
"created_at": "2017-09-11 17:47:14",
"updated_at": "2017-10-19 16:47:34",
"city": {
"id": 5047,
"city": "Mirassol",
"state": {
"id": 25,
"state": "São Paulo",
"state_abbr": "SP",
"country": {
"id": "BR",
"country": "Brazil"
}
}
}
},
"phone": {
"id": 49,
"label": "Agência JadLog",
"phone": "1732532042",
"type": "fixed",
"country_id": "BR",
"created_at": "2017-09-11 17:47:14",
"updated_at": "2017-09-11 17:47:14"
}
},
"invoice": {
"model": "55",
"number": "9248",
"serie": "1",
"key": "31190307586261000184550010000092481404848162",
"issued_at": "2019-03-01 00:00:00"
},
"products": [
{
"name": "Papel adesivo para etiquetas 1",
"quantity": 3,
"unitary_value": 100
}
],
"volumes": [
{
"id": 101609,
"height": "10.00",
"width": "15.00",
"length": "20.00",
"diameter": "0.00",
"weight": "3.50",
"format": "box",
"created_at": "2022-03-29 14:17:08",
"updated_at": "2022-03-29 14:17:08"
}
]
}