The hosts the storefront is served from now: replaces only the hosts this connection added to the account's allowed domains. For a key bound to a store only
bearerAuthorizationBearer <secret_api_key>Use Authorization: Bearer <secret_api_key>.
application/json- body
domains*array<>Every host the storefront is served from now: the store's domain, its www. twin, its subdomains, and for Shopify the store's own .myshopify.com — any other host is 400. Replaces only the hosts this connection added; hosts the account had already are never removed.
items <= 20A domain is not a plain host name, or is not one of the store's own hosts (its domain, www. twin, subdomains, its myshopify.com address)
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 PUT 'https://api.vizbl.com/developer-api/store-connection/domains' \ -H 'Content-Type: application/json' \ -d '{ "domains": [ "example.com", "www.example.com", "example.myshopify.com" ]}'{ "status": 100, "code": "string", "error": [ "string" ], "retryAfterSeconds": 0, "manageUrl": "http://example.com", "manage_url": "http://example.com", "stack": "string"}Disconnect the store (the app is uninstalled): every key of the store is revoked, this one included, and the hosts this connection added leave the allowed domains. Products and links stay DELETE
Previous Page
A new store key, shown once; the previous keys of the store keep working for 24 hours. For a key bound to a store only POST
Next Page