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

# Get Sync Status

> State of both delta streams + any run in flight. The module gate makes
this 409 when the module is off — the page shows that explicitly.



## OpenAPI

````yaml https://api.vellaro.io/openapi/admin.json get /api/v1/admin/nextera/sync
openapi: 3.1.0
info:
  title: Vellaro Admin API
  description: >-
    Store management under `/api/v1/admin`, for back ends and integrations.
    Every call takes `Authorization: Bearer <token>`: an admin API token or a
    staff user's token. The permissions of its role decide what it can do,
    always in its own store.
  version: 0.1.0
servers:
  - url: https://api.vellaro.io
    description: Produzione
security: []
tags:
  - name: Orders
    description: >-
      Orders and manual orders, payments, refunds, shipments, invoices, returns,
      customer subscriptions.
  - name: Products
    description: Products, variants, images, prices and discounts, product lookups.
  - name: Categories & catalog setup
    description: >-
      Categories, brands, attributes, options, filters, downloadable files,
      recurring profiles.
  - name: Inventory
    description: Stock of the variants and stock statuses.
  - name: Customers
    description: Customers, customer groups, custom fields.
  - name: Reviews & questions
    description: Moderation of product reviews and questions.
  - name: Promotions & coupons
    description: Coupons and gift vouchers.
  - name: Marketing
    description: Campaigns, newsletter subscribers, affiliates and their commissions.
  - name: Content
    description: >-
      CMS pages, menus, banners, information pages, flipbooks, media library,
      SEO URLs, email templates, translations.
  - name: Settings
    description: >-
      Store settings, email delivery, languages, currencies, physical stores,
      social login providers.
  - name: Shipping
    description: Couriers, shipping rates, weight and length classes.
  - name: Taxes & geo
    description: Tax classes, rates and rules; countries, zones and geo zones.
  - name: Integrations & modules
    description: >-
      Integrations, plugins and modules (Iute, extra warranty, Nextera, Financa
      5, WhatsApp, Firebase), outbound webhooks.
  - name: AI
    description: AI content generation and the settings of the AI shopping assistant.
  - name: Imports
    description: 'CSV imports and the universal import: runs, mappings, previews, undo.'
  - name: Reports & dashboard
    description: Dashboard figures and reports.
  - name: Users & API keys
    description: Staff users and roles, publishable keys, admin API tokens.
  - name: Audit
    description: The store's audit log.
paths:
  /api/v1/admin/nextera/sync:
    get:
      tags:
        - Integrations & modules
      summary: Get Sync Status
      description: |-
        State of both delta streams + any run in flight. The module gate makes
        this 409 when the module is off — the page shows that explicitly.
      operationId: get_sync_status_api_v1_admin_nextera_sync_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiResponse_NexteraSyncStatusOut_'
      security:
        - HTTPBearer: []
components:
  schemas:
    ApiResponse_NexteraSyncStatusOut_:
      properties:
        data:
          anyOf:
            - $ref: '#/components/schemas/NexteraSyncStatusOut'
            - type: 'null'
        meta:
          anyOf:
            - $ref: '#/components/schemas/PaginationMeta'
            - type: 'null'
        error:
          anyOf:
            - type: string
            - type: 'null'
          title: Error
        error_code:
          anyOf:
            - type: string
            - type: 'null'
          title: Error Code
      type: object
      title: ApiResponse[NexteraSyncStatusOut]
    NexteraSyncStatusOut:
      properties:
        price_enabled:
          type: boolean
          title: Price Enabled
        stock_enabled:
          type: boolean
          title: Stock Enabled
        interval_minutes:
          type: integer
          title: Interval Minutes
        warehouse_count:
          type: integer
          title: Warehouse Count
        states:
          items:
            $ref: '#/components/schemas/NexteraSyncStateOut'
          type: array
          title: States
        running:
          anyOf:
            - $ref: '#/components/schemas/NexteraSyncRunOut'
            - type: 'null'
        last_run:
          anyOf:
            - $ref: '#/components/schemas/NexteraSyncRunOut'
            - type: 'null'
        next_run_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Next Run At
      type: object
      required:
        - price_enabled
        - stock_enabled
        - interval_minutes
        - warehouse_count
        - states
      title: NexteraSyncStatusOut
      description: Everything the sync page's header needs in one call.
    PaginationMeta:
      properties:
        page:
          type: integer
          title: Page
        page_size:
          type: integer
          title: Page Size
        total:
          type: integer
          title: Total
        total_pages:
          type: integer
          title: Total Pages
      type: object
      required:
        - page
        - page_size
        - total
        - total_pages
      title: PaginationMeta
    NexteraSyncStateOut:
      properties:
        resource:
          type: string
          title: Resource
        enabled:
          type: boolean
          title: Enabled
        cursor_updated_since:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Cursor Updated Since
        last_run_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Last Run At
        last_status:
          anyOf:
            - type: string
            - type: 'null'
          title: Last Status
        last_error:
          anyOf:
            - type: string
            - type: 'null'
          title: Last Error
      type: object
      required:
        - resource
        - enabled
      title: NexteraSyncStateOut
      description: The cursor + last outcome for one delta stream (price or stock).
    NexteraSyncRunOut:
      properties:
        id:
          type: string
          title: Id
        resource:
          type: string
          title: Resource
        kind:
          type: string
          title: Kind
        dry_run:
          type: boolean
          title: Dry Run
        status:
          type: string
          title: Status
        started_at:
          type: string
          format: date-time
          title: Started At
        finished_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Finished At
        total:
          type: integer
          title: Total
        updated:
          type: integer
          title: Updated
        skipped:
          type: integer
          title: Skipped
        errors:
          type: integer
          title: Errors
        cursor_from:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Cursor From
        cursor_to:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Cursor To
        rows:
          items:
            $ref: '#/components/schemas/NexteraSyncRowOut'
          type: array
          title: Rows
        error:
          anyOf:
            - type: string
            - type: 'null'
          title: Error
      type: object
      required:
        - id
        - resource
        - kind
        - dry_run
        - status
        - started_at
        - total
        - updated
        - skipped
        - errors
      title: NexteraSyncRunOut
    NexteraSyncRowOut:
      properties:
        nextera_product_id:
          type: string
          title: Nextera Product Id
        product_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Product Id
        name:
          anyOf:
            - type: string
            - type: 'null'
          title: Name
        resource:
          type: string
          title: Resource
        action:
          type: string
          title: Action
        price_old:
          anyOf:
            - type: string
            - type: 'null'
          title: Price Old
        price_new:
          anyOf:
            - type: string
            - type: 'null'
          title: Price New
        stock_old:
          anyOf:
            - type: integer
            - type: 'null'
          title: Stock Old
        stock_new:
          anyOf:
            - type: integer
            - type: 'null'
          title: Stock New
        reason:
          anyOf:
            - type: string
            - type: 'null'
          title: Reason
      type: object
      required:
        - nextera_product_id
        - resource
        - action
      title: NexteraSyncRowOut
      description: |-
        One product's outcome in a run. Only real changes and errors are listed;
        no-op skips are counted, not enumerated.
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````

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