Import a taxonomy preset (importer une librairie d'axes)
Installs every axis of the preset the merchant does not already have, and reports what it did. ADDITIVE and IDEMPOTENT: an existing axis is never overwritten (so a re-import cannot clobber a renamed node — a product binds Record<axisName, label> and skuId() hashes those pairs, so dropping a label would orphan its products), and importing twice installs nothing the second time. Collisions are matched on the axis NAME, not just the id, because that is what products bind by. The whole install runs in ONE transaction under a lock, so a partial import is impossible and two concurrent imports cannot both create the same axis. Needs pos.catalog.manage; 404s an unknown preset id.
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 preset id (e.g. solya-fashion).
1
