Sets a price group as default
Changed onFor operator-owned price groups, pass teamId to name the team whose default should be flipped. Team-owned price groups ignore it. Required scope: price-groups:write </br>Organization authorization: supported
Request
- Base URLhttps://partner-api.monta.com
- URLhttps://partner-api.monta.com/api/v1/price-groups/{id}/default
- AuthHTTP bearer
Path parameters
Query parameters
Team whose default the price group becomes. Required for operator-owned price groups, which have no team owner of their own; ignored for team-owned price groups.
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"
}Changes
- info
added the new optional
queryrequest parameterteamId - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added to the
/////////response propertyallOflist for the response status - info
added to the
///////response propertyallOflist for the response status - info
added to the
///////response propertyallOflist for the response status - info
added to the
///////response propertyallOflist for the response status - info
added to the
///////response propertyallOflist for the response status - info
added to the
////////////response propertyallOflist for the response status - info
added to the
//////////response propertyallOflist for the response status - info
added to the
//////////response propertyallOflist for the response status - info
added to the
//////////response propertyallOflist for the response status - info
added to the
//////////response propertyallOflist for the response status - info
added to the
/////////response propertyallOflist for the response status - info
added to the
///////response propertyallOflist for the response status - info
added to the
///////response propertyallOflist for the response status - info
added to the
///////response propertyallOflist for the response status - info
added to the
///////response propertyallOflist for the response status - info
removed from the
/////////response propertyallOflist for the response status - info
removed from the
///////response propertyallOflist for the response status - info
removed from the
///////response propertyallOflist for the response status - info
removed from the
///////response propertyallOflist for the response status - info
removed from the
///////response propertyallOflist for the response status - info
removed from the
////////////response propertyallOflist for the response status - info
removed from the
//////////response propertyallOflist for the response status - info
removed from the
//////////response propertyallOflist for the response status - info
removed from the
//////////response propertyallOflist for the response status - info
removed from the
//////////response propertyallOflist for the response status - info
removed from the
/////////response propertyallOflist for the response status - info
removed from the
///////response propertyallOflist for the response status - info
removed from the
///////response propertyallOflist for the response status - info
removed from the
///////response propertyallOflist for the response status - info
removed from the
///////response propertyallOflist for the response status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- info