Recompute Price Groups
POST/api/shopify/b2b/:integrationInstance/price-groups/recompute
Queues a full recomputation of price groups from the mapped customers and the products listed on this store.
This endpoint currently requires session authentication; Personal Access Token scope support is in progress.
Writes nothing to Shopify — it only resolves prices and materializes groups, so it is safe to run at any time.
Returns the tracked job id so progress can be followed.
Authentication: requires a Bearer token.
Request
Responses
- 202
- 401
- 403
- 404
- 422
- 429
Accepted
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.
Validation failed — the body is a field → messages map (Laravel shape) or the platform envelope with a stable machine-readable code. Fix the payload and resubmit.
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.