Set Commission Employees

Replaces the set of employees a commission applies to (full sync — employees not in the list are removed). Requires the p/manage-commissions permission — the standard app role does not include it, so this operation is documented from code.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
integer
required

Commission id.

Body Params
employees
array of integers

Employee ids; an empty list clears all assignments.

employees
Headers
string
required

The merchant install this request acts on (install.store_id from the app.installed webhook).

Responses

403

Missing the p/manage-commissions permission.

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json