Preview Shopify Vendor Brands
GET/api/shopify/:integration_instance_id/vendor-brands/preview
Every vendor on the store with its Shopify and linked product counts, the brand it would become (an existing brand matched by name or managed-brand alias, else a new one; once applied, the saved decision) and near-duplicate flags to confirm (never merged automatically). A vendor that is the store's own name (is_store_name: true) is proposed as skip with match_type: store_name, unless an earlier apply already mapped it to a brand.
integrations:readGrant this scope to your token under Settings → Developer → Personal Access Tokens.
Row fields: proposed_action is map, create or skip; match_type is exact (case-insensitive name), alias (a managed brand's alias), saved (the brand an earlier apply mapped this vendor to, under another name), store_name or none; current_decision / current_brand_id are the saved decision, if any.
summary counts vendors by their effective action (the saved decision, else the proposal): to_create, to_map and skipped; flagged counts rows with near-duplicates. summary.content_sync_vendor_mapping_enabled says whether the store's Content Sync vendor → brand mapping is on (summary.vendor_mapping_enabled is the same value). A non-Shopify instance answers 422.
Scope: integrations:read.
Request
Responses
- 200
- 401
- 403
- 404
- 422
- 429
OK
Response Headers
Unauthenticated — the bearer token is missing, revoked, expired, or malformed. Never retry automatically; fix the credential. See the Errors guide.
Forbidden — the token lacks a required scope, the endpoint is not available to API tokens, or the user behind the token lacks the permission. A human must adjust the token scopes or user permissions; do not retry.
Not found — no record with the given identifier (or the route does not exist). Verify the ID before retrying.
Unprocessable Content
Response Headers
Rate limited — platform limit is 1,000 requests/min; individual tokens may carry lower limits. Honor the Retry-After header before retrying. See the Rate Limits guide.