...
Get presets list | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
Request | GET /editor/plugins_matchanalysis_pricingpreset | |||||||||
Params | no params needed | |||||||||
|
Create preset | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
Request | POST /editor/plugins_matchanalysis_pricingpreset | |||||||||
Params | name Required. Name for the preset, 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 | ||||||||||
|
...
Clone preset | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
Request | POST /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 | ||||||||||
|
...
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 | |||||||||
|
...