...
Edit preset | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
Request | PUT /editor/plugins_matchanalysis_pricingpreset | |||||||||
Params | presetId Required. ID of preset to be edited | |||||||||
name Optional. Name for the preset, it should be unique across the all presets, should be either not empty or not mentioned among the params | ||||||||||
unitType=(word|character) Optional. Type of units that the preset should be based on, i.e. word-based or character-based | ||||||||||
description Optional. Short description for the preset up to 255 characters long | ||||||||||
priceAdjustment Optional. Value to be appended to final price. Should be a decimal value with up to 2 digits after floating point. | ||||||||||
|
Set to be default | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
Request | PUT /editor/plugins_matchanalysis_pricingpreset/setdefault | |||||||||
Params | presetId Required. ID of preset to be set as default one for it's customer, if it's a customer-specific preset, or to be set as the global default | |||||||||
|
Delete preset | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
Request | DELETE /editor/plugins_matchanalysis_pricingpreset | |||||||||
Params | presetId Required. ID of preset to be deleted | |||||||||
|
...