CommissionPackages
Update CommissionPackage
Use this endpoint to update a CommissionPackage.
put/shop/commission-packages/{commissionPackageId}
Request body
Example request
{
"name": "Senior Therapist Package",
"week_starts_on": "monday",
"requested_surcharge_percentage": 5,
"rates": [
{
"name": "Standard rate",
"rate_type": "percentage",
"percentage": 10,
"flat_amount": 500,
"attribution": "performed",
"offerings": [
{
"offering_name": "Twilight massage",
"offering_type": "appointment"
}
],
"threshold_amount": 100000
}
]
}Response
The CommissionPackage was successfully retrieved.
Example response
{
"data": {
"name": "Senior Therapist Package",
"week_starts_on": "monday",
"requested_surcharge_percentage": 5,
"rates": [
{
"name": "Standard rate",
"rate_type": "percentage",
"percentage": 10,
"flat_amount": 500,
"attribution": "performed",
"offerings": [
{
"offering_name": "Twilight massage",
"offering_type": "appointment"
}
],
"threshold_amount": 100000
}
]
}
}