Skip to content
platform

API reference

Sales Rep Module

Endpoints to manage sales reps and their customer portfolios.

Endpoints in this group

  • GET List Sales Reps /sellerModule/listSellers

    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.

  • POST Add Sales Rep /sellerModule/addSeller

    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.

  • DELETE Remove Sales Rep /sellerModule/deleteSeller/:id

    Removes a sales rep from your store. The account continues to exist — what is removed is the sales rep link and the service permissions.

  • GET List Sales Rep's Customer Portfolio /sellerModule/listCustomers/:id

    Lists a sales rep's customer portfolio — the customers linked to that sales rep.

  • POST Link Customer to Sales Rep /sellerModule/addCustomer/:attendantIdOrDocument

    Links a customer to a sales rep's customer portfolio. From the link onwards, the customer is served by that sales rep.

  • DELETE Unlink Customer from Sales Rep /sellerModule/deleteCustomer/:idAttendant/:idCustomer

    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.

  • POST Manage Customer Portfolio in Bulk /sellerModule/manageBulkWallet/:attendantInfo

    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.