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

# Get cart by ID

> Get detailed information about a specific cart including totes and stocking items



## OpenAPI

````yaml api-reference/v1/openapi.yaml get /v1/equipment/carts/{id}
openapi: 3.1.0
info:
  title: Goods API
  version: 1.0.0
  description: >-
    API for Goods grocery operations - scanner app, admin dashboard, and
    customer features
  contact:
    name: Goods Team
    url: https://goods.app
servers:
  - url: http://localhost:3000
    description: Local development
  - url: https://dev.api.switchyard.run
    description: Development
  - url: https://api.switchyard.run
    description: Production
security: []
tags:
  - name: v1
    description: API v1 - unified domain-based endpoints
  - name: Scanner
    description: Scanner app endpoints for drivers and pickers
  - name: Sweeps
    description: Sweep management - retail store pickup operations
  - name: RFC Picks
    description: Ready-for-checkout picking operations
  - name: Inventory
    description: Inventory management and barcode lookup
  - name: Admin
    description: Admin dashboard endpoints
  - name: Orders
    description: Order management
  - name: Products
    description: Product catalog management
  - name: Notifications
    description: Push, email, SMS, and Slack notification management
paths:
  /v1/equipment/carts/{id}:
    get:
      tags:
        - Equipment
      summary: Get cart by ID
      description: >-
        Get detailed information about a specific cart including totes and
        stocking items
      parameters:
        - schema:
            type: string
            description: 18-digit taxonomy ID
            example: '011000001000020053'
          required: true
          name: id
          in: path
      responses:
        '200':
          description: Cart details
          content:
            application/json:
              schema:
                type: object
                properties:
                  cart:
                    type: object
                    properties:
                      id:
                        type: string
                        description: 18-digit taxonomy ID
                        example: '011000001000020053'
                      display_id:
                        type: string
                        example: C-0001
                      label:
                        type: string
                        example: Cart 01
                      type:
                        type: string
                        enum:
                          - order
                          - stocking
                      location:
                        type: string
                      order_id:
                        type: string
                        nullable: true
                        format: uuid
                      order_display_id:
                        type: string
                        nullable: true
                      customer_name:
                        type: string
                        nullable: true
                      active_tote_id:
                        type: string
                        nullable: true
                        description: 18-digit taxonomy ID
                        example: '011000001000020053'
                      active_tote:
                        type: object
                        nullable: true
                        properties:
                          id:
                            type: string
                            description: 18-digit taxonomy ID
                            example: '011000001000020053'
                          display_id:
                            type: string
                            example: T-0001
                          status:
                            type: string
                          item_count:
                            type: number
                        required:
                          - id
                          - display_id
                          - status
                          - item_count
                      totes:
                        type: array
                        items:
                          type: object
                          properties:
                            id:
                              type: string
                              description: 18-digit taxonomy ID
                              example: '011000001000020053'
                            display_id:
                              type: string
                              example: T-0001
                            status:
                              type: string
                            item_count:
                              type: number
                          required:
                            - id
                            - display_id
                            - status
                            - item_count
                      tote_count:
                        type: number
                      max_totes:
                        type: number
                      stocking_items:
                        type: array
                        items:
                          type: object
                          properties:
                            id:
                              type: string
                              format: uuid
                            product_id:
                              type: string
                              format: uuid
                            product_name:
                              type: string
                            product_brand:
                              type: string
                              nullable: true
                            product_image_url:
                              type: string
                              nullable: true
                            quantity:
                              type: number
                            received_at:
                              type: string
                              format: date-time
                            restocked_at:
                              type: string
                              nullable: true
                              format: date-time
                            target_slot:
                              type: object
                              nullable: true
                              properties:
                                slot_id:
                                  type: string
                                location_code:
                                  type: string
                                aisle_number:
                                  type: number
                                bay_number:
                                  type: number
                                shelf_number:
                                  type: number
                              required:
                                - slot_id
                                - location_code
                                - aisle_number
                                - bay_number
                                - shelf_number
                          required:
                            - id
                            - product_id
                            - product_name
                            - product_brand
                            - product_image_url
                            - quantity
                            - received_at
                            - restocked_at
                            - target_slot
                      stocking_item_count:
                        type: number
                      items_pending_restock:
                        type: number
                      created_at:
                        type: string
                        format: date-time
                      updated_at:
                        type: string
                        format: date-time
                    required:
                      - id
                      - display_id
                      - label
                      - type
                      - location
                      - order_id
                      - order_display_id
                      - customer_name
                      - active_tote_id
                      - active_tote
                      - totes
                      - tote_count
                      - max_totes
                      - created_at
                      - updated_at
                required:
                  - cart
        '404':
          description: Cart not found
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    description: Error message
                    example: Not found
                required:
                  - error

````