v1
latestOpenAPI 3.0.12026-07-243686491.1 MBPrice Groups
Sets a price group as default
Required scope: price-groups:write </br>Organization authorization: supported
put/api/v1/price-groups/{id}/default
Path parameters
idinteger required
Response
Price group successfully set as default
Example response
{
"id": 522,
"teamId": 12,
"name": "Public Price Group",
"masterPrice": {
"id": 1,
"description": "Starting Fee",
"master": true,
"percentage": 10.2,
"tariffId": 5,
"updatedAt": "2023-03-16T15:37:23Z",
"applyAfterMinutes": 30,
"price": {
"amount": 12312,
"currency": {
"id": 1,
"master": true,
"identifier": "DKK",
"name": "Danish krone",
"decimals": 2
},
"locale": "en"
},
"priceMin": {
"amount": 12312,
"currency": {
"id": 1,
"master": true,
"identifier": "DKK",
"name": "Danish krone",
"decimals": 2
},
"locale": "en"
},
"priceMax": {
"amount": 12312,
"currency": {
"id": 1,
"master": true,
"identifier": "DKK",
"name": "Danish krone",
"decimals": 2
},
"locale": "en"
},
"feePriceMax": {
"amount": 12312,
"currency": {
"id": 1,
"master": true,
"identifier": "DKK",
"name": "Danish krone",
"decimals": 2
},
"locale": "en"
},
"additional": [
{
"value": {
"amount": 12312,
"currency": {
"id": 1,
"master": true,
"identifier": "DKK",
"name": "Danish krone",
"decimals": 2
},
"locale": "en"
}
}
],
"from": "2023-03-16T15:37:23Z",
"to": "2023-03-16T15:37:23Z",
"tagId": 109,
"gracePeriods": [
{
"startTime": "09:00:00",
"endTime": "17:00:00"
}
]
},
"tariffs": [
{
"id": 1,
"description": "Starting Fee",
"master": true,
"percentage": 10.2,
"tariffId": 5,
"updatedAt": "2023-03-16T15:37:23Z",
"applyAfterMinutes": 30,
"price": {
"amount": 12312,
"currency": {
"id": 1,
"master": true,
"identifier": "DKK",
"name": "Danish krone",
"decimals": 2
},
"locale": "en"
},
"priceMin": {
"amount": 12312,
"currency": {
"id": 1,
"master": true,
"identifier": "DKK",
"name": "Danish krone",
"decimals": 2
},
"locale": "en"
},
"priceMax": {
"amount": 12312,
"currency": {
"id": 1,
"master": true,
"identifier": "DKK",
"name": "Danish krone",
"decimals": 2
},
"locale": "en"
},
"feePriceMax": {
"amount": 12312,
"currency": {
"id": 1,
"master": true,
"identifier": "DKK",
"name": "Danish krone",
"decimals": 2
},
"locale": "en"
},
"additional": [
{
"value": {
"amount": 12312,
"currency": {
"id": 1,
"master": true,
"identifier": "DKK",
"name": "Danish krone",
"decimals": 2
},
"locale": "en"
}
}
],
"from": "2023-03-16T15:37:23Z",
"to": "2023-03-16T15:37:23Z",
"tagId": 109,
"gracePeriods": [
{
"startTime": "09:00:00",
"endTime": "17:00:00"
}
]
}
],
"fees": [
{
"id": 1,
"description": "Starting Fee",
"master": true,
"percentage": 10.2,
"tariffId": 5,
"updatedAt": "2023-03-16T15:37:23Z",
"applyAfterMinutes": 30,
"price": {
"amount": 12312,
"currency": {
"id": 1,
"master": true,
"identifier": "DKK",
"name": "Danish krone",
"decimals": 2
},
"locale": "en"
},
"priceMin": {
"amount": 12312,
"currency": {
"id": 1,
"master": true,
"identifier": "DKK",
"name": "Danish krone",
"decimals": 2
},
"locale": "en"
},
"priceMax": {
"amount": 12312,
"currency": {
"id": 1,
"master": true,
"identifier": "DKK",
"name": "Danish krone",
"decimals": 2
},
"locale": "en"
},
"feePriceMax": {
"amount": 12312,
"currency": {
"id": 1,
"master": true,
"identifier": "DKK",
"name": "Danish krone",
"decimals": 2
},
"locale": "en"
},
"additional": [
{
"value": {
"amount": 12312,
"currency": {
"id": 1,
"master": true,
"identifier": "DKK",
"name": "Danish krone",
"decimals": 2
},
"locale": "en"
}
}
],
"from": "2023-03-16T15:37:23Z",
"to": "2023-03-16T15:37:23Z",
"tagId": 109,
"gracePeriods": [
{
"startTime": "09:00:00",
"endTime": "17:00:00"
}
]
}
],
"createdAt": "2023-03-16T15:37:23Z",
"updatedAt": "2023-03-16T15:37:23Z"
}