CommissionPackages

Create UserCommissionAssignment

Use this endpoint to assign a CommissionPackage to a User at a site. Fails with 422 if the user already has an assignment at that site — update the existing UserCommissionAssignment instead.

post/shop/user-commission-assignments

Request body

user_idstring uuid required

The ID of the User to assign the commission package to.

site_idstring mongo-id required

The ID of the site this assignment applies to.

commission_package_idstring mongo-id required

The ID of the CommissionPackage to assign.

Response

The UserCommissionAssignment was successfully retrieved.

Changes

No recorded changes to this endpoint across all 1 revision of this API.