> ## Documentation Index
> Fetch the complete documentation index at: https://docs.shippeek.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get shipment details

> Retrieve full details for a specific shipment, including origin, destination, items, tracking, documents, and cost breakdown.



## OpenAPI

````yaml openapi.json get /shipments/{shipmentId}
openapi: 3.0.0
info:
  title: ShipPeek API
  version: 1.0.0
  description: Multi-carrier shipping rate aggregation, booking, and tracking API.
  contact:
    name: ShipPeek API Support
    email: yash@shippeek.com
  license:
    name: Apache 2.0
    url: https://www.apache.org/licenses/LICENSE-2.0.html
  termsOfService: https://shippeek.com/terms
servers:
  - url: https://api.shippeek.dev
    description: Sandbox
  - url: https://api.shippeek.com
    description: Production
security:
  - bearerAuth: []
tags:
  - name: Rates
    description: Get shipping rates from multiple carriers
  - name: Booking
    description: Book shipments and manage pickups
  - name: Tracking
    description: Track shipments by PRO or tracking number
  - name: Shipments
    description: Retrieve and search shipment data
paths:
  /shipments/{shipmentId}:
    get:
      tags:
        - Shipments
      summary: Get shipment details
      description: >-
        Retrieve full details for a specific shipment, including origin,
        destination, items, tracking, documents, and cost breakdown.
      operationId: getShipment
      parameters:
        - name: shipmentId
          in: path
          required: true
          description: Shipment ID
          schema:
            type: string
      responses:
        '200':
          description: Shipment details returned
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                  createdDate:
                    type: string
                    format: date-time
                  status:
                    type: string
                  origin:
                    $ref: '#/components/schemas/Address'
                  destination:
                    $ref: '#/components/schemas/Address'
                  items:
                    type: array
                    items:
                      $ref: '#/components/schemas/RateItem'
                  tracking:
                    type: object
                    properties:
                      status:
                        type: string
                      trackingNumber:
                        type: string
                      pickupDate:
                        type: string
                        format: date-time
                      deliveryDate:
                        type: string
                        format: date-time
                  documents:
                    type: array
                    items:
                      type: object
                      properties:
                        type:
                          type: string
                          enum:
                            - bol
                            - label
                            - invoice
                            - pod
                        url:
                          type: string
        '404':
          description: Shipment not found
components:
  schemas:
    Address:
      type: object
      properties:
        company:
          type: string
        address:
          type: string
        address2:
          type: string
        city:
          type: string
        state:
          type: string
        postalCode:
          type: string
        country:
          type: string
    RateItem:
      type: object
      required:
        - weight
        - freightClass
      properties:
        weight:
          type: number
          description: Weight in pounds
        freightClass:
          type: number
          description: NMFC freight class (50-500)
          enum:
            - 50
            - 55
            - 60
            - 65
            - 70
            - 77.5
            - 85
            - 92.5
            - 100
            - 110
            - 125
            - 150
            - 175
            - 200
            - 250
            - 300
            - 400
            - 500
        length:
          type: number
          description: Length in inches
        width:
          type: number
          description: Width in inches
        height:
          type: number
          description: Height in inches
        quantity:
          type: integer
          description: Number of handling units
          default: 1
        description:
          type: string
          description: Item description
        package:
          type: string
          description: Packaging type
        hazardous:
          type: boolean
          description: Whether this item is hazardous
          default: false
        nmfc:
          type: string
          description: NMFC code
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Your ShipPeek API token in the format `client_id.client_secret`.

````