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

# Pause or resume a merchant enrollment

> Pause an active enrollment so new carts cannot use the merchant, or resume a paused one; existing orders are unaffected and repeating the current state is a no-op. Returns `409` unless the enrollment is active or paused, and `429` when resuming would exceed the plan's merchant limit. Requires the `merchants:manage` scope; Sandbox only (`403 catalog_managed` in Production).



## OpenAPI

````yaml /api-reference.json patch /v1/enrollments/{enrollment_id}
openapi: 3.1.0
info:
  description: >-
    Multi-merchant checkout infrastructure (808labs). UAE/AED first on Stripe;
    Saudi/SAR follows separate certification. OpenAPI is canonical; customers
    can integrate without an SDK. Customer dashboard authentication uses
    verified OIDC; workspace access requires an invitation or explicitly enabled
    Sandbox self-registration; machine integrations use scoped API keys. Plans
    and usage are defined in the developer guide. Internal operator and provider
    callback contracts are excluded.
  title: Ignyt Platform API
  version: 0.1.0
servers:
  - url: https://sandbox.ignite-checkout.ai
    description: 'Planned Sandbox host: use assigned deployment URL until activated'
  - url: https://api.ignite-checkout.ai
    description: 'Planned Production host: separate approval and Live credentials required'
security: []
tags:
  - name: Integration
    description: Identity, usage and the public schema for the calling integration.
  - name: Merchants
    description: Discover merchants, manage enrollments and invite stores.
  - name: Catalog
    description: Products, variants, categories and synchronization.
  - name: Carts and checkout
    description: >-
      Build carts, freeze quotes, submit purchases and manage optional Sandbox
      buyer sharing.
  - name: Webhooks and events
    description: Endpoints, deliveries, retries and the event feed.
  - name: Refunds
    description: Request and follow refunds on merchant orders.
  - name: Purchases and orders
    description: Purchases, merchant orders, cancellations and returns.
  - name: Payments and finance
    description: Payment breakdowns, statements and disputes.
  - name: Custom fields
    description: Approved custom field schemas and order extensions.
paths:
  /v1/enrollments/{enrollment_id}:
    patch:
      tags:
        - Merchants
      summary: Pause or resume a merchant enrollment
      description: >-
        Pause an active enrollment so new carts cannot use the merchant, or
        resume a paused one; existing orders are unaffected and repeating the
        current state is a no-op. Returns `409` unless the enrollment is active
        or paused, and `429` when resuming would exceed the plan's merchant
        limit. Requires the `merchants:manage` scope; Sandbox only (`403
        catalog_managed` in Production).
      operationId: set_enrollment_enabled_v1_enrollments__enrollment_id__patch
      parameters:
        - in: path
          name: enrollment_id
          required: true
          schema:
            title: Enrollment Id
            type: string
        - in: header
          name: authorization
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Authorization
        - in: header
          name: x-ignite-app-id
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: X-Ignite-App-Id
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ignite__catalog__router__EnabledIn'
        required: true
      responses:
        '200':
          content:
            application/json:
              example:
                activated_at: '2026-11-30T08:20:00+00:00'
                agreement_ref: terms:mer_01M8P0B2D4F6H8J0K2M4N6P8R0:v1
                environment: sandbox
                id: enr_01M8P0C1D3F5H7K9M1N3Q5S7V9
                merchant_id: mer_01M8P0B2D4F6H8J0K2M4N6P8R0
                policy: instant
                requested_at: '2026-11-30T08:20:00+00:00'
                selections: {}
                status: paused
                tenant_id: ten_01M8P0A1B2C3D4E5F6G7H8J9K0
              schema:
                $ref: '#/components/schemas/EnrollmentRead'
          description: The enrollment after the change.
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IgniteErrorEnvelope'
          description: Missing, expired or invalid credentials (`unauthorized`).
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IgniteErrorEnvelope'
          description: >-
            The credential is valid but lacks the required scope, role,
            environment or ownership for this resource (`forbidden` or a more
            specific code).
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IgniteErrorEnvelope'
          description: >-
            The resource does not exist or is not visible to this credential
            (`not_found`).
        '409':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IgniteErrorEnvelope'
          description: >-
            The request conflicts with the resource's current state, repeats an
            idempotency key with a different body, or is not available here
            (`conflict`, `unsupported_operation` or a more specific code). Read
            the resource again before deciding how to proceed.
        '422':
          content:
            application/json:
              schema:
                properties:
                  error:
                    properties:
                      code:
                        type: string
                      details:
                        anyOf:
                          - items:
                              properties:
                                loc:
                                  items:
                                    anyOf:
                                      - type: string
                                      - type: integer
                                  type: array
                                msg:
                                  type: string
                                type:
                                  type: string
                              required:
                                - type
                                - loc
                                - msg
                              type: object
                            type: array
                          - type: object
                      message:
                        type: string
                      request_id:
                        type: string
                    required:
                      - code
                      - message
                      - details
                      - request_id
                    type: object
                required:
                  - error
                type: object
          description: Validation Error
        '429':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IgniteErrorEnvelope'
          description: >-
            A plan allowance, rate limit or resource limit was reached. For
            `rate_limited` (a per-second ceiling) or the monthly API allowance
            (`plan_quota_exceeded`), wait for the `Retry-After` interval before
            retrying. A specific `*_rate_limited` code, such as
            `invitation_email_rate_limited`, is an hourly limit sent without
            `Retry-After`: retry later with bounded backoff. A resource limit
            described by the operation, such as active merchant requests or
            uploads, does not clear by waiting: complete or withdraw existing
            items first. Monthly allowance and cost limits never block servicing
            of accepted orders; per-second ceilings still apply to servicing
            routes.
          headers:
            Retry-After:
              description: >-
                Seconds to wait before retrying, sent only when the monthly API
                allowance is exhausted (`plan_quota_exceeded`) or a per-second
                rate limit (`rate_limited`) is reached; specific
                `*_rate_limited` codes omit it.
              schema:
                type: integer
      security:
        - MachineKey: []
        - CustomerOIDC: []
components:
  schemas:
    ignite__catalog__router__EnabledIn:
      additionalProperties: false
      properties:
        enabled:
          description: '`false` pauses the merchant for new carts; `true` resumes it.'
          title: Enabled
          type: boolean
        reason:
          description: Why the merchant is paused or resumed.
          maxLength: 300
          minLength: 10
          title: Reason
          type: string
      required:
        - enabled
        - reason
      title: EnabledIn
      type: object
    EnrollmentRead:
      properties:
        activated_at:
          anyOf:
            - type: string
            - type: 'null'
          title: Activated At
        agreement_ref:
          anyOf:
            - type: string
            - type: 'null'
          title: Agreement Ref
        environment:
          title: Environment
          type: string
        id:
          title: Id
          type: string
        merchant_id:
          title: Merchant Id
          type: string
        policy:
          title: Policy
          type: string
        requested_at:
          title: Requested At
          type: string
        selections:
          additionalProperties: true
          title: Selections
          type: object
        status:
          title: Status
          type: string
        tenant_id:
          title: Tenant Id
          type: string
      required:
        - id
        - tenant_id
        - merchant_id
        - environment
        - status
        - policy
        - selections
        - agreement_ref
        - requested_at
        - activated_at
      title: EnrollmentRead
      type: object
    IgniteErrorEnvelope:
      description: Document the existing error handler without changing its serialization.
      properties:
        error:
          $ref: '#/components/schemas/IgniteErrorDetail'
      required:
        - error
      title: IgniteErrorEnvelope
      type: object
    IgniteErrorDetail:
      description: Stable error fields; details remain open to each domain's JSON evidence.
      properties:
        code:
          title: Code
          type: string
        details:
          title: Details
        message:
          title: Message
          type: string
        request_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Request Id
      required:
        - code
        - message
        - details
        - request_id
      title: IgniteErrorDetail
      type: object
  securitySchemes:
    MachineKey:
      description: Server-side scoped Ignyt API key.
      scheme: bearer
      type: http
    CustomerOIDC:
      bearerFormat: JWT
      description: >-
        Customer access token; current membership, role and app selection are
        enforced. Protected actions use recent email-code verification in the
        configured Sandbox or recent authenticator verification in legacy
        password mode. Available when customer authentication is enabled.
      scheme: bearer
      type: http

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.