Create a Developer API object import job
bearerAuthorizationBearer <secret_api_key>Use Authorization: Bearer <secret_api_key>.
x-idempotency-key?stringOptional idempotency key for safely retrying import job creation
application/json- body
name*stringPublic object name.
1 <= lengthvariants*array<>Uploaded source model variants in display order.
1 <= itemsdescription?stringOptional public object description.
1 <= lengthtags?array<>Optional public object tags.
category?stringOptional Go backend category id.
1 <= lengthmechanic?stringPlacement mechanic used by the imported object.
"all""wall""floor""ceiling""carpet"product_type?stringProduct the object is created and published in. When omitted: the one product the API key is limited to, else the product the key was created in, else core-ar. The API key must be allowed this product and the account needs an active plan of it.
"core-ar""core-ar-shopify""wallart""wallart-shopify""rugs""flooring""ai-try-on""ai-try-on-shopify""view-360""panels"ai_generate?booleanWhen true, attempts best-effort AI preview generation.
publish?booleanWhether the object is published once it is imported. true publishes it, so its public URL opens right away; false leaves a draft to publish later. When omitted, the account setting "publish automatically" decides (off by default).
Invalid import request or upload session state
application/json- response
status*number100101102103200201202203204205206207208210300301302303304307308400401402403404405406407408409410411412413414415416417418421422423424428429456500501502503504505507508code*stringMachine-readable error id (i18n dictionary key), e.g. shopify.ERROR_ID_TOKEN_INVALID; http_error.<STATUS> when there is no specific one.
error*array<string>retryAfterSeconds?integer0 <= value <= 9007199254740991manageUrl?stringWhere this account pays instead: the Vizbl app billing page in the Shopify admin (subscription.ERROR_PAYMENTS_THROUGH_SHOPIFY_APP).
urimanage_url?stringDeprecatedDeprecated: the same as manageUrl, kept for the clients that still read it.
uristack?stringcurl -X POST 'https://api.vizbl.com/developer-api/objects/imports' \ -H 'Content-Type: application/json' \ -d '{ "name": "Oak lounge chair", "variants": [ { "uploadId": "upl_01HX7P6P1P7J9W8V4Y2R7A1KQ9", "name": "Default" } ], "description": "Low profile lounge chair with wooden legs.", "tags": [ "chair", "wood" ], "category": "chairs", "mechanic": "floor", "ai_generate": true}'{ "status": 100, "code": "string", "error": [ "string" ], "retryAfterSeconds": 0, "manageUrl": "http://example.com", "manage_url": "http://example.com", "stack": "string"}