API reference
Sales Rep Module
Endpoints to manage sales reps and their customer portfolios.
Endpoints in this group
-
Lists the sales reps of your store, with the permissions of each one. This is where you find the sales rep id, which the other routes of the module ask for.
-
Registers a sales rep of your store from an account that already exists: you identify the account and define the permissions it will have in customer service.
-
Removes a sales rep from your store. The account continues to exist — what is removed is the sales rep link and the service permissions.
-
Lists a sales rep's customer portfolio — the customers linked to that sales rep.
-
Links a customer to a sales rep's customer portfolio. From the link onwards, the customer is served by that sales rep.
-
Undoes the link between a customer and a sales rep. The customer leaves that sales rep's portfolio; the customer's record is not affected.
-
Builds a sales rep's customer portfolio in bulk: links, unlinks, or replaces the customer list in a single call, instead of one request per customer.
Generated from the public API collection, published on 2026-09-04: api-docs.cws.digital.