Get Shopify Vendor Usage
GET/api/shopify/:integration_instance_id/vendor-usage
Get what Vendor means for this store: the saved choice, what the store's data suggests, and the counts behind the suggestion. The suggestion is none when most products carry the store's own name as Vendor, supplier when most vendors match or resemble a supplier, both when they also match existing brands, else brand.
integrations:readGrant this scope to your token under Settings → Developer → Personal Access Tokens.
Fields:
target— the saved choice:brand,supplier,bothornone; null while undecided.suggested/suggestion_reason— what the store's data suggests, with a plain-language explanation of the numbers behind it.vendors— distinct vendors on the store's products;linked_products— catalog products linked to the store's products.match_existing_supplier,close_to_supplier,no_supplier_match— vendors that match a supplier's name exactly, look like one (e.g. differ only by a company suffix), or match none.match_existing_brand— vendors that match an existing brand.store_name_vendor— the vendor that is the store's own name and how many products carry it; null when none.example_close_supplier— one vendor/supplier look-alike pair, for illustration; null when none.brand_mapping_enabled/supplier_mapping_enabled— whether the store's Content Sync vendor → brand and vendor → default supplier mappings are on.brand_decisions/supplier_decisions— vendor decisions saved by earlier brand and supplier reviews.field_mapping_targets— where the store's product field mappings also send Vendor on newly imported products (brand,default_supplier).
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.