Delete reference
deleteReferencePermission program
Delete an OC, as «Borrar» does, only with the `confirmationToken` its preview returned once the usuario said yes: 422 `CONFIRMATION_REQUIRED` without it, 409 `PREVIEW_STALE` when it ran out or the OC changed since.
/v1/external/organizations/{organizationId}/references/{referenceId}Authorization
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 DELETE "https://api.fluenta.io/v1/external/organizations/0/references/0" \ -H "Authorization: Bearer fluenta_live_XXXX" \ -H "Content-Type: application/json" \ -d '{}'{ "id": 0, "name": "string", "orderNumber": "string", "moduleId": 0, "moduleName": "string", "deleted": true}Update reference PATCH
Edit an OC, as «Editar» does: only the fields sent change. A new «Meta por hora» keeps the past days’ goals; a new price re-prices today.
Mark reference arrived POST
«Llegó»: the taller marks a brand’s OC («OC anticipada») as physically arrived, with the «Meta por hora» and the units its «ficha técnica» says.