Vai al contenuto principale
POST
Import One Product

Autorizzazioni

Authorization
string
header
obbligatorio

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Corpo

application/json
nextera_product_id
string
obbligatorio
Minimum string length: 1
product
NexteraImportProductIn · object
obbligatorio

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.

variant
NexteraImportVariantIn · object
obbligatorio

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.

import_image
boolean
predefinito:true

Risposta

Successful Response

data
NexteraImportOneOut · object | null
meta
PaginationMeta · object | null
error
string | null
error_code
string | null