Page tree

Versions Compared

Key

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

...

Clone preset

RequestPOST /editor/plugins_matchanalysis_pricingpreset/clone
Params

presetId Required. ID of preset to be cloned


name Required. Name for the clone, it should be unique across the all presets

customerId Optional. ID of customer. This param should be provided if you want new preset to be customer-specific one


Code Block
languagejs
titleResponse
collapsetrue
{
    "success": true,
    "clone": {
        "id": "5",
        "customerId": null,
        "name": "asd1Some preset",
        "unitType": "word",
        "description": null,
        "priceAdjustment": "0.00",
        "isDefault": "0"
    }
}


...