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

# Retrieve shipment activities

> Retrieve shipment activities



## OpenAPI

````yaml https://openapi.commercengine.io/ce-pos.json get /pos/shipping/shipments/{reference_number}/activities
openapi: 3.1.0
info:
  title: CE POS APIs
  description: >-
    The consolidated Point of Sale surface. Every operation is served under the
    storefront base URL; operations tagged POSAdmin are proxied to the admin
    service by the POS backend.
  version: '1.0'
servers:
  - url: https://staging.api.commercengine.io/api/v1/{store_id}/storefront
    description: Staging Server
    variables:
      store_id:
        description: Store ID
        default: store_id
    x-speakeasy-server-id: staging
  - url: https://prod.api.commercengine.io/api/v1/{store_id}/storefront
    description: Prod Server
    variables:
      store_id:
        description: Store ID
        default: store_id
    x-speakeasy-server-id: prod
security:
  - Authorization: []
tags:
  - name: POS
    description: Operations backed by the storefront service
  - name: POSAdmin
    description: Operations proxied to the admin service
paths:
  /pos/shipping/shipments/{reference_number}/activities:
    get:
      tags:
        - POSAdmin
      summary: Retrieve shipment activities
      description: Retrieve shipment activities
      operationId: pos-get-shipment-activities
      parameters:
        - name: reference_number
          in: path
          description: Shipment reference number
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                  success:
                    type: boolean
                  content:
                    properties:
                      activities:
                        type: array
                        items:
                          $ref: '#/components/schemas/ShipmentActivity'
                      pagination:
                        $ref: '#/components/schemas/AdminPagination'
                    type: object
      security:
        - Authorization: []
components:
  schemas:
    ShipmentActivity:
      title: ShipmentActivity
      type: object
      required:
        - activity_type
        - comment
        - status
        - user_type
        - user_name
        - details
        - created_at
        - modified_at
      properties:
        activity_type:
          type: string
        comment:
          type: string
        status:
          enum:
            - success
            - failed
        user_type:
          type: string
        user_name:
          type: string
        details:
          type:
            - string
            - 'null'
        created_at:
          type: string
          format: date-time
        modified_at:
          type: string
          format: date-time
    AdminPagination:
      title: Pagination
      description: pagination metadata structure
      type: object
      properties:
        total_records:
          type: integer
        total_pages:
          type: integer
        previous_page:
          description: Previous page number
          type:
            - integer
            - 'null'
        limit:
          type: integer
          default: 25
        next_page:
          description: Next page number
          type:
            - integer
            - 'null'
  securitySchemes:
    Authorization:
      type: http
      description: Access token
      scheme: bearer

````