Variable serve price setting
get
request
GET /api/v2/settings/variable-serve-prices HTTP/1.1
response
HTTP/1.1 200 OK
{
"urgentMultiplier" : 1.0,
"urgentMultiplierForAllServices" : true,
"priceByClientMaterials" : null,
"multiplierByClientMaterials" : 1.0,
"forFreeByPrescription" : true,
"forFreeByClientMaterials" : false,
"urgencyForFreeByPrescription" : false,
"roundMode" : "TO_INT",
"medical" : false
}
update
request
PUT /api/v2/settings/variable-serve-prices HTTP/1.1
{
"urgentMultiplier" : 1.0,
"urgentMultiplierForAllServices" : true,
"priceByClientMaterials" : null,
"multiplierByClientMaterials" : 1.0,
"forFreeByPrescription" : true,
"forFreeByClientMaterials" : false,
"urgencyForFreeByPrescription" : false,
"roundMode" : "NO_ROUND",
"medical" : false
}
response
HTTP/1.1 200 OK