Importing Products

Git RepositoryEdit on Github
Last update: 7 months ago by Francesco de LorenziReading time: 2 min

If you are migrating from a custom backend or frontend marketplace to Jetti, you may need to import your existing product catalog into Jetti. To do this, you'll need to call POST /api/channels/import-connector-variant-batch.json endpoint with the following payload. This will import the variants and their associated data (e.g. prices, option values etc) in a single payload.

"externalGroupId": "external-group",
"variants": [{
"externalGroupId": "external-group-id",
"vendorName": "My vendor",
"name": "product-name",
"description": "product-description",
"productType": "product-type",
"handle": "my-project",
"externalId": "external-id",
"sku": "external-id",
"inventoryQuantity": 10,
"costPrice": 5.99,
"retailPrice": 9.99,
"compareAtPrice": 19.99,
"inventoryPolicy": "track",
"images": [],
"grams": 10,
"options": [{
"name": "Colour",
"value": "Blue"
"source": "custom",
"cleanup": true
๐Ÿ’ป Custom channel โ€” Previous
Importing orders
Next โ€” ๐Ÿ’ป Custom channel
Inventory webhook