Replace a brand's supplier (fournisseur) set
REPLACES the whole set of suppliers linked to a brand (add/remove is expressed as the new set, so a save is idempotent). The brand id rides the PATH, the supplier ids the body; a repeated id is deduplicated. An empty array clears every link. 404s for an unknown brand; 400s on a missing supplierIds.
Authorizations
Authorization: Bearer <token>. Accepts EITHER a Keycloak access token (scopes-in-token) OR an opaque POS session token; both resolve to the same pos.* scope vocabulary the route guards enforce.
Path Parameters
The brand id (a slug derived from the code, e.g. brand-nike).
1Body
The deduplicated supplier (fournisseur) ids the brand is sold by; empty clears every link.
1
