> ## 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.

# Accept reorder request

> Accepts a pending reorder request and creates a manifest for the shipment.



## OpenAPI

````yaml api-reference/v1/openapi.yaml post /v1/partner/reorder-requests/{id}/accept
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/partner/reorder-requests/{id}/accept:
    post:
      tags:
        - Partner Reorder Requests
      summary: Accept reorder request
      description: >-
        Accepts a pending reorder request and creates a manifest for the
        shipment.
      parameters:
        - schema:
            type: string
            format: uuid
          required: true
          name: id
          in: path
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                expected_delivery_date:
                  type: string
                notes:
                  type: string
      responses:
        '200':
          description: Request accepted and manifest created
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  manifest:
                    type: object
                    properties:
                      id:
                        type: string
                        format: uuid
                      taxonomy_id:
                        type: string
                        nullable: true
                      manifest_number:
                        type: integer
                      partner_brand_id:
                        type: string
                        format: uuid
                      status:
                        type: string
                        enum:
                          - draft
                          - pending_brand_approval
                          - approved
                          - in_transit
                          - received
                          - partially_received
                          - cancelled
                      expected_delivery_date:
                        type: string
                        nullable: true
                      actual_received_at:
                        type: string
                        nullable: true
                      tracking_number:
                        type: string
                        nullable: true
                      carrier:
                        type: string
                        nullable: true
                      notes:
                        type: string
                        nullable: true
                      reorder_request_id:
                        type: string
                        nullable: true
                        format: uuid
                      created_at:
                        type: string
                        format: date-time
                      updated_at:
                        type: string
                        format: date-time
                    required:
                      - id
                      - taxonomy_id
                      - manifest_number
                      - partner_brand_id
                      - status
                      - expected_delivery_date
                      - actual_received_at
                      - tracking_number
                      - carrier
                      - notes
                      - reorder_request_id
                      - created_at
                      - updated_at
                  request:
                    type: object
                    properties:
                      id:
                        type: string
                        format: uuid
                      partner_brand_id:
                        type: string
                        format: uuid
                      status:
                        type: string
                        enum:
                          - pending
                          - accepted
                          - rejected
                          - expired
                          - cancelled
                      requested_at:
                        type: string
                        format: date-time
                      expires_at:
                        type: string
                        format: date-time
                      responded_at:
                        type: string
                        nullable: true
                        format: date-time
                      response_notes:
                        type: string
                        nullable: true
                      manifest_id:
                        type: string
                        nullable: true
                        format: uuid
                      is_auto_generated:
                        type: boolean
                      notes:
                        type: string
                        nullable: true
                      created_at:
                        type: string
                        format: date-time
                    required:
                      - id
                      - partner_brand_id
                      - status
                      - requested_at
                      - expires_at
                      - responded_at
                      - response_notes
                      - manifest_id
                      - is_auto_generated
                      - notes
                      - created_at
                required:
                  - success
                  - manifest
                  - request
        '400':
          description: Request is not pending or has expired
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  message:
                    type: string
                required:
                  - error
        '403':
          description: Not authorized
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  message:
                    type: string
                required:
                  - error
        '404':
          description: Request not found
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  message:
                    type: string
                required:
                  - error
        '500':
          description: Server error
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  message:
                    type: string
                required:
                  - error

````