Get supplier constraints for an organization
Returns all supplier constraints scoped to the organization, split into two arrays: lineConstraints (variant-level MOQ / pack-multiple / max-quantity rules, keyed on a scope tuple of variantId × productId × familyId × brandId) and orderConstraints (order-level minimum value, minimum quantity, and lead time, one row per supplier). Both arrays are optionally filtered by supplierId via the query parameter of the same name. Specificity-based resolution across the lineConstraints scope dimensions is the data platform’s responsibility — this endpoint returns the raw constraint rows. Requires Bearer token authentication (Authorization: Bearer <DATA_PLATFORM_API_TOKEN>).
Authorizations
Static internal-ops token used by the data platform and internal cron jobs (e.g. zombie-run sweep). Validated via requireBearerToken inside the handler against a service-specific environment variable.
Query Parameters
Identifier of the organization whose supplier constraints are queried
1Optional supplier filter; when omitted, returns constraints for all suppliers in the org
1
