labels

Update Label Data

Changed on

Update LabelData (partial update).

patch/api/v1/labels/{label_id}/data

Request

  • The document declares no server URL.
  • Auth: OAuth 2 (password, token URL /api/v1/login/access-token)

Path parameters

label_idstring uuid required

Request body

registration_numberstring nullable
lot_numberstring nullable
net_weightstring nullable
volumestring nullable
country_of_originstring nullable

Example request

{
  "contacts": [
    {
      "type": "manufacturer"
    }
  ]
}

Response

Successful Response

registration_numberstring nullable
lot_numberstring nullable
net_weightstring nullable
volumestring nullable
country_of_originstring nullable

Example response

{
  "contacts": [
    {
      "type": "manufacturer"
    }
  ]
}

Changes

    • warning

      changed the pattern of the request property / from ^([0-9]{7}[FfPpGgHhMmSs])?$ to ^([0-9]{7}[A-Za-z])?$

    • info

      the / response's property pattern was changed from ^([0-9]{7}[FfPpGgHhMmSs])?$ to ^([0-9]{7}[A-Za-z])?$ for the status

    • breaking

      added the pattern ^([0-9]{7}[FfPpGgHhMmSs])?$ to the request property /

    • warning

      removed the request property

    • warning

      removed the request property

    • warning

      removed the request property

    • warning

      removed the request property

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      the / response's property pattern ^([0-9]{7}[FfPpGgHhMmSs])?$ was added for the status