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

# Where this offer is distributed

> Resolve the three independent gates that decide whether an offer reaches anyone — active status, active-market coverage, and each distribution channel (consumer /shop and reseller B2B). An offer can be active with a valid service area and still reach no one; `visibleNowhere` flags exactly that, and `warnings` says how to fix it.



## OpenAPI

````yaml /openapi/openapi-provider.json get /provider/offers/{id}/distribution
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
security: []
tags:
  - name: provider-offers
    description: 'Provider: Manage your service offerings'
  - name: provider-orders
    description: 'Provider: Fulfill orders from resellers'
  - name: provider-webhooks
    description: 'Provider: Receive order events for your offers'
paths:
  /provider/offers/{id}/distribution:
    get:
      tags:
        - provider-offers
      summary: Where this offer is distributed
      description: >-
        Resolve the three independent gates that decide whether an offer reaches
        anyone — active status, active-market coverage, and each distribution
        channel (consumer /shop and reseller B2B). An offer can be active with a
        valid service area and still reach no one; `visibleNowhere` flags
        exactly that, and `warnings` says how to fix it.
      operationId: ProviderOffersController_getDistribution
      parameters:
        - name: id
          required: true
          in: path
          schema:
            type: string
      responses:
        '200':
          description: Distribution summary for the offer
        '401':
          description: Missing, malformed, or revoked `x-api-key` header.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: >-
            Valid API key, but your team's role does not grant access to this
            endpoint.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Offer not found or does not belong to your team
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Unexpected server error. Safe to retry idempotent requests.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - api-key: []
components:
  schemas:
    ErrorResponse:
      type: object
      title: Error
      description: Standard error envelope returned by every 4xx and 5xx response.
      required:
        - statusCode
        - message
      properties:
        statusCode:
          type: integer
          description: HTTP status code, repeated in the body.
          example: 404
        message:
          type: string
          description: Human-readable explanation of what went wrong.
          example: Offer not found
        error:
          type: string
          description: Short, stable name for the status code.
          example: Not Found
  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.

````