Apply Shopify Vendor Suppliers
POST/api/shopify/:integration_instance_id/vendor-suppliers/apply
Apply the vendor decisions as the background job Map Shopify Vendors to Suppliers: create the missing suppliers, save the decisions, turn on the store's Content Sync vendor → default supplier mapping and set the default supplier on linked products. Products that already have a default supplier keep it unless replace is true. The store's vendor target is updated too: an undecided store becomes supplier, and a store set to brand becomes both.
integrations:writeGrant this scope to your token under Settings → Developer → Personal Access Tokens.
Body parameters:
rows(array, required, min 1) — one decision per vendor.rows.*.vendor(string, required, max 255) — the Shopify vendor.rows.*.action(string, required) —create(a new supplier named after the vendor),map(an existing supplier) orskip(leave its products alone).rows.*.supplier_id(integer, required whenactionismap) — an existing supplier.replace(boolean, optional, defaultfalse) — also replace the default supplier on products that already have one.
Returns the background job id; poll the jobs API to track progress. A non-Shopify instance answers 422.
Requires integrations.update. Scope: integrations:write.
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.