Get pricelists | |
|---|---|
| Request | GET /editor/plugins_matchanalysis_pricingpresetprices |
| Params | presetId Required. ID of preset for which you want to get the pricelists |
Create pricelist(s) | ||
|---|---|---|
| Request | POST /editor/plugins_matchanalysis_pricingpreset | |
| Params | presetId Required. ID of preset for which you want to create new pricelist(s) | |
| sourceLanguageIds Required. | Comma-separated list of IDs of source and target languages to create the pricelist for each possible combinations of, except the ones for which the pricelist do already exist. | |
| targetLanguageIds Required. | ||
Clone pricelist | ||
|---|---|---|
| Request | POST /editor/plugins_matchanalysis_pricingpresetprices/clone | |
| Params | priceId Required. ID of preset pricelist which you want to clone | |
| sourceLanguageIds Required. | Comma-separated list of IDs of source and target languages to clone the current pricelist for each possible combinations of, except the ones for which the pricelist do already exist. | |
| targetLanguageIds Required. | ||
Edit pricelist | |
|---|---|
| Request | PUT /editor/plugins_matchanalysis_pricingpresetprices |
| Params | pricesId Required. ID of pricelist to be edited |
| currency Optional. Currency of prices. Must be not longer than 3 alphanumeric or $€£¥ characters. Should be either not empty or not mentioned among the params | |
noMatch Optional. Price for match-rates that do not belong to any range. Should be a decimal value with up to 4 digits after floating point. | |
range123 Optional. Price for match-rates within the range having ID=123. Should be a decimal value with up to 4 digits after floating point. | |
Delete pricelist | |
|---|---|
| Request | DELETE /editor/plugins_matchanalysis_pricingpresetprices |
| Params | pricesId Required. ID of pricelist to be deleted |