> ## 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 One Product

> Import ONE product with the data the operator completed in the form.

Separate from `POST /admin/products` because a Nextera product is not one
row: product, variant, map row and image must land together or not at all.
Without the variant it has neither price nor stock; without the map row the
sync never touches it and the catalog browser still offers to import it.



## OpenAPI

````yaml https://api.vellaro.io/openapi.json post /api/v1/admin/nextera/import-one
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-one:
    post:
      tags:
        - admin:nextera
      summary: Import One Product
      description: >-
        Import ONE product with the data the operator completed in the form.


        Separate from `POST /admin/products` because a Nextera product is not
        one

        row: product, variant, map row and image must land together or not at
        all.

        Without the variant it has neither price nor stock; without the map row
        the

        sync never touches it and the catalog browser still offers to import it.
      operationId: import_one_product_api_v1_admin_nextera_import_one_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/NexteraImportOneRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiResponse_NexteraImportOneOut_'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    NexteraImportOneRequest:
      properties:
        nextera_product_id:
          type: string
          minLength: 1
          title: Nextera Product Id
        product:
          $ref: '#/components/schemas/NexteraImportProductIn'
        variant:
          $ref: '#/components/schemas/NexteraImportVariantIn'
        import_image:
          type: boolean
          title: Import Image
          default: true
      type: object
      required:
        - nextera_product_id
        - product
        - variant
      title: NexteraImportOneRequest
    ApiResponse_NexteraImportOneOut_:
      properties:
        data:
          anyOf:
            - $ref: '#/components/schemas/NexteraImportOneOut'
            - 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[NexteraImportOneOut]
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    NexteraImportProductIn:
      properties:
        name:
          type: string
          minLength: 1
          title: Name
        slug:
          type: string
          minLength: 1
          title: Slug
        description:
          anyOf:
            - type: string
            - type: 'null'
          title: Description
        short_description:
          anyOf:
            - type: string
            - type: 'null'
          title: Short Description
        name_i18n:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Name I18N
        description_i18n:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Description I18N
        short_description_i18n:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Short Description I18N
        meta_title_i18n:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Meta Title I18N
        meta_description_i18n:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Meta Description I18N
        category_id:
          anyOf:
            - type: string
              format: uuid
            - type: 'null'
          title: Category Id
        brand_id:
          anyOf:
            - type: string
              format: uuid
            - type: 'null'
          title: Brand Id
        model_number:
          anyOf:
            - type: string
            - type: 'null'
          title: Model Number
        upc:
          anyOf:
            - type: string
            - type: 'null'
          title: Upc
        ean:
          anyOf:
            - type: string
            - type: 'null'
          title: Ean
        mpn:
          anyOf:
            - type: string
            - type: 'null'
          title: Mpn
        weight_kg:
          anyOf:
            - type: number
            - type: string
              pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
            - type: 'null'
          title: Weight Kg
        length_cm:
          anyOf:
            - type: number
            - type: string
              pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
            - type: 'null'
          title: Length Cm
        width_cm:
          anyOf:
            - type: number
            - type: string
              pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
            - type: 'null'
          title: Width Cm
        height_cm:
          anyOf:
            - type: number
            - type: string
              pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
            - type: 'null'
          title: Height Cm
        minimum_quantity:
          type: integer
          title: Minimum Quantity
          default: 1
        sort_order:
          type: integer
          title: Sort Order
          default: 0
        is_featured:
          type: boolean
          title: Is Featured
          default: false
        available_at:
          anyOf:
            - type: string
              format: date
            - type: 'null'
          title: Available At
        is_active:
          type: boolean
          title: Is Active
          default: false
        meta_title:
          anyOf:
            - type: string
            - type: 'null'
          title: Meta Title
        meta_description:
          anyOf:
            - type: string
            - type: 'null'
          title: Meta Description
        is_digital:
          type: boolean
          title: Is Digital
          default: false
        tax_class_id:
          anyOf:
            - type: string
              format: uuid
            - type: 'null'
          title: Tax Class Id
      type: object
      required:
        - name
        - slug
      title: NexteraImportProductIn
      description: >-
        The product form as the operator completed it.


        Mirrors the fields `POST /admin/products` actually persists —
        deliberately

        NOT `ProductCreate` itself: that schema accepts `variants`, and a second

        place to declare them next to `variant` below would be a trap. It also

        accepts
        `points`/`jan`/`isbn`/`location`/`stock_status_id`/`weight_class_id`

        /`length_class_id`/`shipping`/`subtract`, which its own router validates
        and

        then drops on the floor; they are omitted here rather than mirrored
        broken.
    NexteraImportVariantIn:
      properties:
        sku:
          type: string
          minLength: 1
          title: Sku
        price:
          anyOf:
            - type: number
              minimum: 0
            - type: string
              pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
          title: Price
        barcode:
          anyOf:
            - type: string
            - type: 'null'
          title: Barcode
      type: object
      required:
        - sku
        - price
      title: NexteraImportVariantIn
      description: |-
        The single variant. Stock is absent on purpose: it is the stock sync's
        to own from the first tick, and a hand-typed count would be overwritten.
    NexteraImportOneOut:
      properties:
        product_id:
          type: string
          title: Product Id
        variant_id:
          type: string
          title: Variant Id
        slug:
          type: string
          title: Slug
        nextera_product_id:
          type: string
          title: Nextera Product Id
        image_imported:
          type: boolean
          title: Image Imported
          default: false
        image_error:
          anyOf:
            - type: string
            - type: 'null'
          title: Image Error
        warnings:
          items:
            type: string
          type: array
          title: Warnings
      type: object
      required:
        - product_id
        - variant_id
        - slug
        - nextera_product_id
      title: NexteraImportOneOut
    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
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````