v1
latestOpenAPI 3.0.12026-07-243686491.1 MBPrice Groups
Creates a price group
Required scope: price-groups:write </br>Organization authorization: supported
post/api/v1/price-groups
Request body
Example request
{
"teamId": 1,
"name": "Public Price Group",
"masterPrice": {
"description": "Starting Fee",
"percentage": 10.2,
"tariffId": 5,
"tagId": 10,
"applyAfterMinutes": 30,
"from": "2023-03-16T15:37:23Z",
"to": "2023-03-16T15:37:23Z",
"gracePeriods": [
{
"startTime": "09:00:00",
"endTime": "17:00:00"
}
]
},
"fees": [
{
"description": "Starting Fee",
"percentage": 10.2,
"tariffId": 5,
"tagId": 10,
"applyAfterMinutes": 30,
"from": "2023-03-16T15:37:23Z",
"to": "2023-03-16T15:37:23Z",
"gracePeriods": [
{
"startTime": "09:00:00",
"endTime": "17:00:00"
}
]
}
]
}Response
Price group successfully created