Create catalogue entry
createCatalogueEntryPermission program
Add a reusable style to the «Catálogo de referencias», as its «Nueva referencia» does: the name is unique in the catálogo (409 `REFERENCE_TEMPLATE_EXISTS`).
/v1/external/organizations/{organizationId}/catalogueAuthorization
apiToken An API token created in Configuración › Tokens de API, or a connected app’s access token
In: header
Path Parameters
The organization, from getMe or listOrganizations.
Header Parameters
A fresh unique string per intended write (1 to 255 visible ASCII characters). Sent again unchanged only to retry THAT write after a timeout or a 409 IDEMPOTENCY_IN_PROGRESS: the stored answer comes back (Idempotency-Replayed: true) and nothing is written twice. The same key with another request is a 422 IDEMPOTENCY_KEY_REUSED.
1 <= length <= 255Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://api.fluenta.io/v1/external/organizations/0/catalogue" \ -H "Authorization: Bearer fluenta_live_XXXX" \ -H "Content-Type: application/json" \ -d '{ "name": "string" }'{ "id": 0, "name": "string", "description": "string", "garment": "string", "goal": 0, "price": 0, "color": "string", "orderNumber": "string", "total": 0, "step1Name": "string", "step1Goal": 0, "step2Name": "string", "step2Goal": 0}List catalogue GET
The «Catálogo de referencias»: the organization’s reusable styles by name, with the goal, price, category and «Subprocesos» a new OC from each starts with.
Update catalogue entry PATCH
Edit a template of the «Catálogo de referencias»: only the fields sent change; null clears an optional one. No OC changes.