Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Update a commission rate.
curl -X POST 'http://localhost:9000/admin/commission-rates/comrate_01HXYZ8Q2M4N6P8R0T2V4W6X8Y' \ -H 'Authorization: Bearer <token>' \ -H 'Content-Type: application/json' \ -d '{"value": 15, "is_enabled": true}'
const { commission_rate } = await client.admin.commissionRates.$id.mutate({ $id: "comrate_01HXYZ8Q2M4N6P8R0T2V4W6X8Y", value: 15, is_enabled: true, })
{ "commission_rate": { "id": "comrate_01HXYZ8Q2M4N6P8R0T2V4W6X8Y", "name": "Default", "code": "default", "type": "percentage", "value": 15, "is_enabled": true, "is_default": true, "rules": [], "values": [] } }
fixed
percentage
Show properties