Stores
Send a batch of a store catalog (up to 100 products); the same batch again changes nothing
PUT
bearerheader
AuthorizationBearer <secret_api_key>Use Authorization: Bearer <secret_api_key>.
application/json- body
store*products?array<>Items
items <= 100auto_link_kinds?array<>The product kinds to link automatically; left out, the batch only records the products.
Items
items <= 4removed_external_product_ids?array<>Products the store no longer has: each is deleted with all its variants and their links. Only this store's products.
Items
items <= 100Invalid request
application/json- response
status*numberValue in
100101102103200201202203204205206207208210300301302303304307308400401402403404405406407408409410411412413414415416417418421422423424428429456500501502503504505507508code*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?integerRange
0 <= value <= 9007199254740991manageUrl?stringWhere this account pays instead: the Vizbl app billing page in the Shopify admin (subscription.ERROR_PAYMENTS_THROUGH_SHOPIFY_APP).
Format
urimanage_url?stringDeprecatedDeprecated: the same as manageUrl, kept for the clients that still read it.
Format
uristack?stringcurl -X PUT 'https://api.vizbl.com/developer-api/stores/catalog' \ -H 'Content-Type: application/json' \ -d '{ "store": { "platform": "shopify", "domain": "example.com", "external_id": "example.myshopify.com" }, "products": [ { "external_product_id": "8112233445566", "title": "Oak chair", "url": "https://example.com/products/oak-chair", "image_url": "https://cdn.example.com/products/oak-chair.jpg", "sku": "CHAIR-OAK", "price": "$240.00", "product_type": "Chairs", "tags": [ "oak", "dining" ], "variants": [ { "external_variant_id": "45566778899001", "sku": "CHAIR-OAK-NAT", "title": "Natural", "options": [ "Natural" ], "price": "$240.00" } ] } ], "auto_link_kinds": [ "core-ar" ]}'Example Response
{ "status": 100, "code": "string", "error": [ "string" ], "retryAfterSeconds": 0, "manageUrl": "http://example.com", "manage_url": "http://example.com", "stack": "string"}