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

# Update order item status

> Update the fulfillment status of an order item (e.g., accept, reject, schedule, complete). Use this to manage the order workflow from acceptance to completion.



## OpenAPI

````yaml /openapi/openapi-provider.json patch /provider/orders/{itemId}/status
openapi: 3.0.0
info:
  title: OfferGrid API
  description: >-
    **Provider API** - Create and manage service offerings, fulfill orders from
    resellers.


    As a provider, you can:

    - Create and publish service offerings (internet, electricity)

    - Control which resellers can access your offers (all, preferred, or
    selected)

    - View and manage orders from resellers

    - Update order fulfillment status and schedule installations

    - Track order lifecycle from pending to completion
  version: '1.0'
  contact: {}
servers:
  - url: https://api.offergrid.io
    description: Production
  - url: http://localhost:3000
    description: Local development
security: []
tags:
  - name: provider-offers
    description: 'Provider: Manage your service offerings'
  - name: provider-orders
    description: 'Provider: Fulfill orders from resellers'
paths:
  /provider/orders/{itemId}/status:
    patch:
      tags:
        - provider-orders
      summary: Update order item status
      description: >-
        Update the fulfillment status of an order item (e.g., accept, reject,
        schedule, complete). Use this to manage the order workflow from
        acceptance to completion.
      operationId: ProviderOrdersController_updateStatus
      parameters:
        - name: itemId
          required: true
          in: path
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateItemStatusDto'
      responses:
        '200':
          description: Order item status successfully updated
        '404':
          description: Order item not found or does not belong to your team
      security:
        - api-key: []
components:
  schemas:
    UpdateItemStatusDto:
      type: object
      properties:
        status:
          type: string
          enum:
            - pending
            - submitted_to_provider
            - accepted
            - rejected
            - scheduled
            - in_progress
            - completed
            - active
            - cancelled
            - failed
          description: New status for the order item
          example: accepted
        providerNotes:
          type: string
          description: Notes from provider about this status update
          example: Installation scheduled for next Tuesday
        scheduledFor:
          type: string
          description: Scheduled date/time for installation or activation (ISO 8601)
          example: '2025-01-15T10:00:00Z'
        metadata:
          type: object
          description: Additional metadata for this status update
          example:
            trackingNumber: ABC123
            estimatedCompletion: '2025-01-20'
      required:
        - status
      title: Update Item Status Request
  securitySchemes:
    api-key:
      type: apiKey
      in: header
      name: x-api-key
      description: >-
        Team API key for authentication. Your team role
        (provider/reseller/hybrid) determines which endpoints you can access.

````