Request
Provide your bearer token in the Authorization
header when making requests to protected resources. Example:Authorization: Bearer ********************
Body Params application/json
>= 3 characters<= 20 characters
measurementUnit
enum<string>
requiredAllowed values:kggmllbags
{
"productName": "amet minima expedita",
"quantity": 100,
"currentUnitPrice":50.50,
"measurement": "l"
}
Request samples
curl --location --request POST '/products' \
--header 'Content-Type: application/json' \
--data-raw '{
"productName": "amet minima expedita",
"quantity": 100,
"currentUnitPrice":50.50,
"measurement": "l"
}'
Responses
application/json Modified at 2024-09-26 11:58:32