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

# Import Selected Products

> Import the operator's chosen products. Per-row savepoint, so one bad
product reports an error without rolling back the rest of the batch.



## OpenAPI

````yaml https://api.vellaro.io/openapi.json post /api/v1/admin/nextera/import
openapi: 3.1.0
info:
  title: Vellaro API
  description: Vellaro 2026 — E-commerce API
  version: 0.1.0
servers:
  - url: https://api.vellaro.io
    description: Produzione
security: []
tags: []
paths:
  /api/v1/admin/nextera/import:
    post:
      tags:
        - admin:nextera
      summary: Import Selected Products
      description: |-
        Import the operator's chosen products. Per-row savepoint, so one bad
        product reports an error without rolling back the rest of the batch.
      operationId: import_selected_products_api_v1_admin_nextera_import_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/NexteraImportRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiResponse_NexteraImportResultOut_'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    NexteraImportRequest:
      properties:
        nextera_product_ids:
          items:
            type: string
          type: array
          maxItems: 100
          minItems: 1
          title: Nextera Product Ids
        activate:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Activate
      type: object
      required:
        - nextera_product_ids
      title: NexteraImportRequest
      description: |-
        Explicit, operator-chosen list. There is no 'import everything' on
        purpose: the operator decides what goes online.
    ApiResponse_NexteraImportResultOut_:
      properties:
        data:
          anyOf:
            - $ref: '#/components/schemas/NexteraImportResultOut'
            - 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[NexteraImportResultOut]
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    NexteraImportResultOut:
      properties:
        total:
          type: integer
          title: Total
        created:
          type: integer
          title: Created
        linked:
          type: integer
          title: Linked
        skipped:
          type: integer
          title: Skipped
        errors:
          type: integer
          title: Errors
        rows:
          items:
            $ref: '#/components/schemas/NexteraImportRowOut'
          type: array
          title: Rows
      type: object
      required:
        - total
        - created
        - linked
        - skipped
        - errors
        - rows
      title: NexteraImportResultOut
    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
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
    NexteraImportRowOut:
      properties:
        nextera_product_id:
          type: string
          title: Nextera Product Id
        name:
          anyOf:
            - type: string
            - type: 'null'
          title: Name
        status:
          type: string
          title: Status
        product_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Product Id
        message:
          anyOf:
            - type: string
            - type: 'null'
          title: Message
      type: object
      required:
        - nextera_product_id
        - status
      title: NexteraImportRowOut
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````