> ## 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 Import Draft

> Precompile the admin product form from one remote product.

A read, and only a read — no category, no product, no slug is created here.
The operator may abandon the form, and a GET that left rows behind would
litter the catalog with every product anyone ever clicked.



## OpenAPI

````yaml https://api.vellaro.io/openapi.json get /api/v1/admin/nextera/catalog/{nextera_id}/draft
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/catalog/{nextera_id}/draft:
    get:
      tags:
        - admin:nextera
      summary: Get Import Draft
      description: >-
        Precompile the admin product form from one remote product.


        A read, and only a read — no category, no product, no slug is created
        here.

        The operator may abandon the form, and a GET that left rows behind would

        litter the catalog with every product anyone ever clicked.
      operationId: get_import_draft_api_v1_admin_nextera_catalog__nextera_id__draft_get
      parameters:
        - name: nextera_id
          in: path
          required: true
          schema:
            type: string
            title: Nextera Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiResponse_NexteraDraftOut_'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    ApiResponse_NexteraDraftOut_:
      properties:
        data:
          anyOf:
            - $ref: '#/components/schemas/NexteraDraftOut'
            - 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[NexteraDraftOut]
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    NexteraDraftOut:
      properties:
        nextera_product_id:
          type: string
          title: Nextera Product Id
        code:
          anyOf:
            - type: string
            - type: 'null'
          title: Code
        name:
          type: string
          title: Name
        slug:
          type: string
          title: Slug
        sku:
          type: string
          title: Sku
        barcode:
          anyOf:
            - type: string
            - type: 'null'
          title: Barcode
        price:
          anyOf:
            - type: string
              pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
            - type: 'null'
          title: Price
        vat_percent:
          anyOf:
            - type: string
              pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
            - type: 'null'
          title: Vat Percent
        vat_allowed:
          type: boolean
          title: Vat Allowed
          default: true
        allowed_vat_percent:
          anyOf:
            - type: string
              pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
            - type: 'null'
          title: Allowed Vat Percent
        category_id:
          anyOf:
            - type: string
              format: uuid
            - type: 'null'
          title: Category Id
        category_mapped:
          type: boolean
          title: Category Mapped
          default: false
        nextera_category_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Nextera Category Id
        nextera_category_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Nextera Category Name
        image_url:
          anyOf:
            - type: string
            - type: 'null'
          title: Image Url
        unit:
          anyOf:
            - type: string
            - type: 'null'
          title: Unit
        unit_known:
          type: boolean
          title: Unit Known
          default: true
        type:
          type: string
          title: Type
          default: Simple
        is_active:
          type: boolean
          title: Is Active
          default: true
        is_active_default:
          type: boolean
          title: Is Active Default
          default: false
        already_linked:
          type: boolean
          title: Already Linked
          default: false
        linked_product_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Linked Product Id
        warnings:
          items:
            type: string
          type: array
          title: Warnings
      type: object
      required:
        - nextera_product_id
        - name
        - slug
        - sku
      title: NexteraDraftOut
      description: >-
        Everything needed to PRECOMPILE the admin product form for one remote

        product. A draft is a read: it creates nothing, not even the category.


        `image_url` is Nextera's presigned link — good for the form preview
        being

        rendered right now, useless an hour later. `POST /import-one`
        re-downloads

        it server-side; the client must never send it back as a product image
        URL.
    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

````