> ## 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 pending items for receiving

> Returns items from completed/delivered sweeps that are pending receiving.



## OpenAPI

````yaml api-reference/v1/openapi.yaml get /v1/receiving/pending
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/receiving/pending:
    get:
      tags:
        - Sweeps
      summary: Get pending items for receiving
      description: >-
        Returns items from completed/delivered sweeps that are pending
        receiving.
      parameters:
        - schema:
            type: string
            enum:
              - ambient
              - cold
            description: Filter by temperature zone
            example: ambient
          required: false
          name: filter
          in: query
        - schema:
            type: string
            format: uuid
            description: Filter by specific sweep ID
          required: false
          name: sweep_id
          in: query
      responses:
        '200':
          description: List of pending items
          content:
            application/json:
              schema:
                type: object
                properties:
                  items:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                        sweep_id:
                          type: string
                        sweep_number:
                          type: number
                          nullable: true
                        retailer_name:
                          type: string
                          nullable: true
                        product_id:
                          type: string
                        product_name:
                          type: string
                        product_image:
                          type: string
                          nullable: true
                        barcode:
                          type: string
                          nullable: true
                        quantity:
                          type: number
                        picked_quantity:
                          type: number
                          nullable: true
                        temperature_zone:
                          type: string
                        order_item_id:
                          type: string
                          nullable: true
                        order_id:
                          type: string
                          nullable: true
                        order_display_id:
                          type: number
                          nullable: true
                        status:
                          type: string
                      required:
                        - id
                        - sweep_id
                        - sweep_number
                        - retailer_name
                        - product_id
                        - product_name
                        - product_image
                        - barcode
                        - quantity
                        - picked_quantity
                        - temperature_zone
                        - order_item_id
                        - order_id
                        - order_display_id
                        - status
                  total:
                    type: number
                  filter:
                    type: string
                    nullable: true
                required:
                  - items
                  - total
                  - filter
        '500':
          description: Server error
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error

````