POST
/v1/pricing-scheme-values/
curl \
--request POST 'https://localhost/v1/pricing-scheme-values/' \
--header "Content-Type: application/json" \
--data '{"seasonId":"sea_xxxxxxxxxxxx","quantity":1,"price":1000}'
Request examples
{
"seasonId": "sea_xxxxxxxxxxxx",
"quantity": 1,
"price": 1000
}
Response examples (200)
{
"id": "psv_xxxxxxxxxxx",
"companyId": "co_123123123123",
"seasonId": "sea_123123123123",
"quantity": 10,
"price": 100,
"deletedAt": "2023-12-05 14:30:41",
"createdAt": "2023-12-05 14:30:41",
"updatedAt": "2023-12-05 14:30:41"
}
Response examples (403)
{
"statusCode": 42.0,
"messages": [
"string"
],
"exception": {}
}
Response examples (422)
{
"statusCode": 42.0,
"messages": [
"string"
],
"exception": {}
}