Update Strategy Repricer API Overview
The Update Strategy API allows you to change the strategy rule, name, or amount and unit.
If you want to pause a strategy that has assigned items, enabled should be sent as false with the Update Strategy API.
Input Requirement
You must include an access token in the request header.
Scenario(s) | Criteria | Error Message | Status | Sample Response |
---|---|---|---|---|
Update/Delete | If Strategy ID is Invalid | Strategy Id not found | 400 | { “status”: “BAD_REQUEST”, “errorMessage”: “Error(s) : Strategy Id not found”,“payload”: null} |
Create/Update | If Strategy type is invalid. Valid Types are [External Price] | Invalid strategy type | 400 | { “status”: “BAD_REQUEST”, “errorMessage”: “Error(s) : Invalid strategy type”, “payload”: null } |
Create/Update | If Adjustment Type is invalid. Valid Types are [UNIT, PERCENTAGE] | Invalid strategy beat by type | 400 | { “status”: “BAD_REQUEST”, “errorMessage”: “Error(s) : Invalid strategy beat by type”, “payload”: null } |
Updated about 2 months ago