Page tree

Versions Compared

Key

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

Table of Contents

Create

preset

range

RequestPOST /editor/plugins_matchanalysis_pricingpresetrange
Params

presetId Required. ID of preset to be to create match-rate range for


from Required. Value that range should start at, inclusively


till Required. Value that range should end at, inclusively


Code Block
languagejs
titleResponse
collapsetrue
{
    "success": true,
    "created": "123" // id of newly created range
}



Edit

preset

range

RequestPUT /editor/plugins_matchanalysis_pricingpresetrange
Params

rangeId Required. ID of range to be edited


from Required. Value that range should start at, inclusively

till Required. Value that range should end at, inclusively


Code Block
languagejs
titleResponse
collapsetrue
{
    "success":true,
    "updated": {
        "id": "61",
        "presetId": "2",
        "from": "46",
        "till": "47"
    }
}



Delete

preset

range

RequestDELETE /editor/plugins_matchanalysis_pricingpresetrange
ParamsrangeIds Required. Comma-separated list of IDs of ranges to be deleted


Code Block
languagejs
titleResponse
collapsetrue
{
    "success": true,
    "deleted": [
        "20",
        "61"
    ]
}


...