Skip to main content

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.

Required scope: integrations:read

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Fields:

  • target — the saved choice: brand, supplier, both or none; 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​

OK

Response Headers
    Content-Type