products

Create a new product.

post/api/v1/products

Request

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

Request body

registration_numberstring nullable
product_typestring required
brand_name_enstring nullable
brand_name_frstring nullable
name_enstring nullable
name_frstring nullable

Response

Successful Response

idstring uuid required
brand_name_enstring nullable
brand_name_frstring nullable
name_enstring nullable
name_frstring nullable
registration_numberstring nullable
created_atstring date-time required

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 /

    • info

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