Light Mode
Update a commission plan
PUT
/commissions/plans/{plan_id}Modify an existing commission plan.
Request
Path Params
plan_id
string
required
The ID of the commission plan to update.
Body Params application/json
name
string
required
type
enum<string>
required
Allowed values:
stepsproduct-based
details
array [object]
required
Example
{
"name": "string",
"type": "steps",
"details": [
{}
]
}
Request samples
Responses
OK(200)
Record Not Found(404)
Server Error(500)
HTTP Code: 200
Content Type : JSONapplication/json
Commission plan updated successfully
Data Schema
object {0}
Example
{}
Last modified: 25 days ago