Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Edit pricelist

RequestPUT /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.


Code Block
languagejs
titleResponse
collapsetrue
{
    "success": true,
	"id": "6",
    "presetId": "2",
    "sourceLanguageId": "330",
    "targetLanguageId": "340",
    "currency": "€",
    "pricesByRangeIds": "{\"11\":0, \"12\":0, \"13\":0, \"14\":0, \"15\":0, \"16\":0, \"17\":0, \"18\":0, \"19\":0}",
    "noMatch": "0.0000",
    "range11": 0,
    "range12": 0,
    "range13": 0,
    "range14": 0,
    "range15": 0,
    "range16": 0,
    "range17": 0,
    "range18": 0,
    "range19": 0
}



Delete

preset

pricelist

RequestDELETE /editor/plugins_matchanalysis_pricingpresetpricingpresetprices
ParamspresetId pricesId Required. ID of preset pricelist to be deleted


Code Block
languagejs
titleResponse
collapsetrue
{
    "success": true
}


...