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

# Retrieve a shipment

> Returns a shipment owned by the authenticated partner.



## OpenAPI

````yaml /openapi.json get /api/partner/v1/shipments/{id}
openapi: 3.1.0
info:
  title: UrbnBox integration API
  version: 1.0.0
  description: >-
    Create and track delivery orders, send parcels between pickup points, and
    connect Shopify.
servers:
  - url: https://portal.urbnbox.io
    description: UrbnBox production and test-key server
security: []
tags:
  - name: Shipments
    description: Quote, create, and retrieve pickup-point shipments.
  - name: Checkout sessions
    description: Hold lockers for partner checkout sessions.
  - name: Public bookings
    description: Create browser-based locker bookings.
  - name: Store discovery
    description: Find active UrbnBox stores.
  - name: Shopify
    description: Callbacks called by Shopify.
  - name: Vendor API
    description: >-
      Vendor-authenticated endpoints for delivery orders, pickup-point shipments
      and webhooks. All require an X-API-Key header with a vendor key.
paths:
  /api/partner/v1/shipments/{id}:
    get:
      tags:
        - Shipments
      summary: Retrieve a shipment
      description: Returns a shipment owned by the authenticated partner.
      operationId: getShipment
      parameters:
        - name: id
          in: path
          required: true
          description: Shipment ID returned during creation.
          schema:
            type: string
      responses:
        '200':
          description: Current shipment details.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Shipment'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '500':
          $ref: '#/components/responses/ServerError'
      security:
        - partnerKey: []
components:
  schemas:
    Shipment:
      type: object
      properties:
        id:
          type: string
        tracking_token:
          type: string
        tracking_url:
          type: string
          format: uri
        status:
          type: string
        origin_locker:
          $ref: '#/components/schemas/Locker'
        destination_locker:
          $ref: '#/components/schemas/Locker'
        fee_breakdown:
          $ref: '#/components/schemas/FeeBreakdown'
      required:
        - id
        - tracking_token
        - tracking_url
        - status
        - origin_locker
        - destination_locker
        - fee_breakdown
    Locker:
      type: object
      properties:
        name:
          type: string
        city:
          type: string
        address:
          type: string
      required:
        - name
        - city
        - address
    FeeBreakdown:
      type: object
      properties:
        origin_locker_fee_kes:
          type: integer
          format: int64
        destination_locker_fee_kes:
          type: integer
          format: int64
        transit_rider_fee_kes:
          type: integer
          format: int64
        platform_fee_kes:
          type: integer
          format: int64
        total_kes:
          type: integer
          format: int64
      required:
        - origin_locker_fee_kes
        - destination_locker_fee_kes
        - transit_rider_fee_kes
        - platform_fee_kes
  responses:
    Unauthorized:
      description: The credential is missing, invalid, or inactive.
      content:
        text/plain:
          schema:
            type: string
    Forbidden:
      description: The credential is not authorized for this operation.
      content:
        text/plain:
          schema:
            type: string
    NotFound:
      description: The resource does not exist for the authenticated partner.
      content:
        text/plain:
          schema:
            type: string
    ServerError:
      description: UrbnBox could not complete the request.
      content:
        text/plain:
          schema:
            type: string
  securitySchemes:
    partnerKey:
      type: apiKey
      in: header
      name: X-API-Key
      description: Partner key. Shipment creation requires a secret key.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.