Account
Widget analytics totals for a period (compare=true adds the previous period)
GET
bearerheader
AuthorizationBearer <secret_api_key>Use Authorization: Bearer <secret_api_key>.
from*stringMatch
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$Format
dateto*stringMatch
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$Format
dateproduct_type?stringValue in
"core-ar""core-ar-shopify""wallart""wallart-shopify""rugs""flooring""ai-try-on""ai-try-on-shopify""view-360""panels""3d-gen""all"product_kind?stringValue in
"core-ar""wallart""rugs""flooring""ai-try-on""view-360""panels"channels?|array<>compare?string|booleangroup_by?stringValue in
"country""device""browser""objectId""variantId""apiKeyId""productType""source""domain""mode""productRef""channel"limit?integerRange
0 < value <= 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 GET 'https://api.vizbl.com/developer-api/analytics/summary?from=2019-08-24&to=2019-08-24'Example Response
{ "status": 100, "code": "string", "error": [ "string" ], "retryAfterSeconds": 0, "manageUrl": "http://example.com", "manage_url": "http://example.com", "stack": "string"}