Update external ID for a material requisition

This endpoint allows the update of the external identifier (id_related or code_related) for a material requisition (outbound order) in Fracttal One. The update is performed on the annotations field of the outbound order, allowing you to associate or modify the external value reflected on the platform for integration or traceability purposes with other systems. Only the id_related or code_related fields within the requisition annotation can be modified.

Update the external identifier for a material requisition by sending the movement id in the URL and the property-value pair in the request body.

The _id_ parameter in the URL is the requisition movement ID. You can retrieve it here (field _id_).

Body parameters

Send the following information in the request body.

ParameterTypeRequiredDescription
propertyTextYesName of the property to update (id_related or code_related).
valueTextYesValue assigned to the specified property.

Response parameters

ParameterTypeDescription
idIntegerMovement ID
annotationsObjectJSON object with the updated outbound order annotations

Inside annotations:

  • id_related: Updated value for the id_related property (string)
  • code_related: Updated value for the code_related property (string)

Both fields inside annotations reflect the current values after the update.

Example

Request: PUT

{
  "property": "code_related",
  "value": "test1234"
}

Response:

{
  "success": true,
  "message": "200",
  "data": {
    "id": 38226228,
    "annotations": {
      "id_related": "test1234",
      "code_related": "test1234"
    }
  },
  "total": 1
}
Path Params
string
required
Response
200
Language
LoadingLoading…