labels

Update Label Data Meta

Changed on

Update LabelDataFieldMeta (upsert).

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

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

field_name'brand_name' | 'product_name' | 'contacts' | 'registration_number' | 'registration_claim' | 'lot_number' | 'net_weight' | 'volume' | 'exemption_claim' | 'country_of_origin' required

Valid field names for LabelDataFieldMeta.

needs_reviewboolean nullable
notestring nullable
ai_generatedboolean nullable

Response

Successful Response

field_namestring required
needs_reviewboolean required
notestring nullable required
ai_generatedboolean required

Changes

    • breaking

      removed the enum value brand_name_en of the request property

    • breaking

      removed the enum value brand_name_fr of the request property

    • breaking

      removed the enum value product_name_en of the request property

    • breaking

      removed the enum value product_name_fr of the request property

    • info

      added the new brand_name enum value to the request property

    • info

      added the new country_of_origin enum value to the request property

    • info

      added the new exemption_claim enum value to the request property

    • info

      added the new product_name enum value to the request property

    • info

      added the new registration_claim enum value to the request property

    • info

      endpoint added