---
updatedAt: 2026-09-17T08:29:45.000Z
agentTools:
  projectIndex: https://nexp.readme.io/llms.txt
---

# Obter detalhes de expedição

Use esta api para buscar informações de expedição de um pedido

**Descrição dos filtros de busca**

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "logstore",
    "version": "2"
  },
  "servers": [
    {
      "url": "https://{environment}.app",
      "variables": {
        "environment": {
          "default": "environment"
        }
      }
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "oauth2",
        "flows": {
          "clientCredentials": {
            "tokenUrl": "https://example.com/oauth2/token",
            "scopes": {}
          }
        }
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/orders/{id}/shipments": {
      "get": {
        "summary": "Obter detalhes de expedição",
        "description": "Use esta api para buscar informações de expedição de um pedido",
        "operationId": "obter-detalhes-de-expedição",
        "parameters": [
          {
            "name": "X-Customer-Key",
            "in": "header",
            "description": "Um hash que identifica o cliente. Deve ser provido pela Logstore",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Authorization",
            "in": "header",
            "description": "Um \"bearer token\" obtido no endpoint de autenticação do Nexp. Ver https://nexp.readme.io/reference/createauthtoken",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "description": "Identificador único do pedido",
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n    \"id\": 12345678,\n    \"customerKey\": \"abCDefGHIjklmn0123456789XYz=\",\n    \"storeId\": 484,\n    \"storeName\": \"store\",\n    \"orderId\": 1234567,\n    \"orderNumber\": \"1234567891011-01\",\n    \"isExpress\": false,\n    \"confirmationRequired\": false,\n    \"keyCode\": \"123123123123123123123123123123123123123123123123123123123123123\",\n    \"invoiceCode\": \"123123123123123123123123123123123123123123\",\n    \"pickupType\": \"DeliveryMan\",\n    \"receiverName\": \"José da Silva\",\n    \"receiverDocumentType\": \"Cpf\",\n    \"receiverDocument\": \"12345678910\",\n    \"rating\": 0.00,\n    \"deliverymanName\": \"userProfile\",\n    \"deliverymanUsername\": \"userProfile\",\n    \"startedAt\": \"2023-01-01T00:00:00.0000000Z\",\n    \"shipedAt\": \"2023-01-01T00:00:00.0000000Z\",\n    \"confirmationCreatedAt\": \"2023-01-01T00:00:00.0000000Z\",\n    \"invoiceCreatedAt\": \"2023-01-01T00:00:00.0000000Z\",\n    \"deliveryDate\": \"2023-01-01T00:00:00.0000000Z\",\n    \"deliveryModeName\": \"Normal\",\n    \"status\": \"Delivered\",\n    \"totalPackages\": 1,\n    \"packages\": [\n        {\n            \"shipmentId\": 12345678,\n            \"code\": \"212998200\",\n            \"trackingCode\": \"a1b2c3d4e5f6g7h8i9j10k11l12m13\",\n            \"locker\": \"Delivery\",\n            \"packageType\": \"Envelope\",\n            \"confirmed\": true,\n            \"description\": null,\n            \"length\": null,\n            \"width\": null,\n            \"height\": null,\n            \"weightLimit\": null,\n            \"itemQuantity\": 0\n        }\n    ],\n    \"attachments\": [\n        {\n            \"shipmentId\": 12345678,\n            \"url\": \"https://exampleimage.com/example.signature.jpeg\",\n            \"type\": \"Signature\"\n        },\n        {\n            \"shipmentId\": 12345678,\n            \"url\": \"https://exampleimage.com/example.document.jpeg\",\n            \"type\": \"Document\"\n        }\n    ],\n    \"shippingCompanyIds\": null\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "integer",
                      "example": 12345678,
                      "default": 0
                    },
                    "customerKey": {
                      "type": "string",
                      "example": "abCDefGHIjklmn0123456789XYz="
                    },
                    "storeId": {
                      "type": "integer",
                      "example": 484,
                      "default": 0
                    },
                    "storeName": {
                      "type": "string",
                      "example": "store"
                    },
                    "orderId": {
                      "type": "integer",
                      "example": 1234567,
                      "default": 0
                    },
                    "orderNumber": {
                      "type": "string",
                      "example": "1234567891011-01"
                    },
                    "isExpress": {
                      "type": "boolean",
                      "example": false,
                      "default": true
                    },
                    "confirmationRequired": {
                      "type": "boolean",
                      "example": false,
                      "default": true
                    },
                    "keyCode": {
                      "type": "string",
                      "example": "123123123123123123123123123123123123123123123123123123123123123"
                    },
                    "invoiceCode": {
                      "type": "string",
                      "example": "123123123123123123123123123123123123123123"
                    },
                    "pickupType": {
                      "type": "string",
                      "example": "DeliveryMan"
                    },
                    "receiverName": {
                      "type": "string",
                      "example": "José da Silva"
                    },
                    "receiverDocumentType": {
                      "type": "string",
                      "example": "Cpf"
                    },
                    "receiverDocument": {
                      "type": "string",
                      "example": "12345678910"
                    },
                    "rating": {
                      "type": "integer",
                      "example": 0,
                      "default": 0
                    },
                    "deliverymanName": {
                      "type": "string",
                      "example": "userProfile"
                    },
                    "deliverymanUsername": {
                      "type": "string",
                      "example": "userProfile"
                    },
                    "startedAt": {
                      "type": "string",
                      "example": "2023-01-01T00:00:00.0000000Z"
                    },
                    "shipedAt": {
                      "type": "string",
                      "example": "2023-01-01T00:00:00.0000000Z"
                    },
                    "confirmationCreatedAt": {
                      "type": "string",
                      "example": "2023-01-01T00:00:00.0000000Z"
                    },
                    "invoiceCreatedAt": {
                      "type": "string",
                      "example": "2023-01-01T00:00:00.0000000Z"
                    },
                    "deliveryDate": {
                      "type": "string",
                      "example": "2023-01-01T00:00:00.0000000Z"
                    },
                    "deliveryModeName": {
                      "type": "string",
                      "example": "Normal"
                    },
                    "status": {
                      "type": "string",
                      "example": "Delivered"
                    },
                    "totalPackages": {
                      "type": "integer",
                      "example": 1,
                      "default": 0
                    },
                    "packages": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "shipmentId": {
                            "type": "integer",
                            "example": 12345678,
                            "default": 0
                          },
                          "code": {
                            "type": "string",
                            "example": "212998200"
                          },
                          "trackingCode": {
                            "type": "string",
                            "example": "a1b2c3d4e5f6g7h8i9j10k11l12m13"
                          },
                          "locker": {
                            "type": "string",
                            "example": "Delivery"
                          },
                          "packageType": {
                            "type": "string",
                            "example": "Envelope"
                          },
                          "confirmed": {
                            "type": "boolean",
                            "example": true,
                            "default": true
                          },
                          "description": {},
                          "length": {},
                          "width": {},
                          "height": {},
                          "weightLimit": {},
                          "itemQuantity": {
                            "type": "integer",
                            "example": 0,
                            "default": 0
                          }
                        }
                      }
                    },
                    "attachments": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "shipmentId": {
                            "type": "integer",
                            "example": 12345678,
                            "default": 0
                          },
                          "url": {
                            "type": "string",
                            "example": "https://exampleimage.com/example.signature.jpeg"
                          },
                          "type": {
                            "type": "string",
                            "example": "Signature"
                          }
                        }
                      }
                    },
                    "shippingCompanyIds": {}
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```