Skip to main content
Nymble Commerce has first-class support for sales rep workflows. Reps can log in with their own credentials, see exactly the customer accounts assigned to them, browse the catalog on a customer’s behalf, and place orders — all through the same API your storefront uses. This makes it straightforward to build internal ordering tools, trade show apps, and phone-order interfaces.

Sales rep accounts

A sales rep is a distinct user type within your organization. Reps are created at the organization level and carry their own identity and credentials. Key fields on a sales rep record: When a sales rep authenticates, their JWT includes a SalesRep role claim. The API reads this claim to apply rep-specific scoping rules automatically — no extra parameters needed.

Example: creating a sales rep

Assisted ordering

The most powerful sales rep capability in Nymble Commerce is assisted ordering — a rep placing an order on behalf of one of their assigned customers. You use the same POST /api/orders endpoint as a customer self-service order, with two key fields populated:
  • Customer.CustomerNumber — the customer the order is for.
  • PrimarySalesRep.RepNumber — the rep who owns this customer relationship.
Optionally, if a different rep physically enters the order (e.g. a colleague covering a trade show booth), set the TakenBySalesRep field as well.
The order response includes both PrimarySalesRep and TakenBySalesRep as full objects, so you can display the correct attribution in your reporting and commission workflows.

Visibility scoping

Nymble Commerce automatically enforces what each user type can see: When a sales rep calls GET /api/customers, the API reads their RepNumber from their JWT and filters the response to their assigned accounts. You don’t need to implement this filtering yourself — the API enforces it at the data layer. This scoping applies consistently across all customer-related endpoints: customer list, customer detail, customer orders, and customer invoices.

Customer lookup

Sales reps can search and filter their customer list using the standard list endpoint. The same query parameters apply:
Results are paginated using PageNumber and PageSize. The API returns only the rep’s assigned customers — no configuration required.

Commission plans

Nymble Commerce includes a full commission plan API so you can define, activate, and manage how each rep earns on the orders they close. Plans are scoped per rep and per organization, so multi-org reps can have different commission structures in each organization they belong to.

Commission plan structure

A commission plan is created via POST /api/commissions/plans and assigned to a specific SalesRepId. Key fields on a plan:

Commission rules

Rules let you configure different rates based on SKU patterns, product name patterns, customer numbers, or line item amounts. Each rule has:

Customer overrides

Use CustomerOverrides to give a rep a different default rate or rule set for a specific customer account. Overrides are identified by CustomerNumber and can include their own EffectiveStartDate, EffectiveEndDate, and Rules array — structured identically to top-level rules.

Activating and deactivating plans

Use the dedicated endpoints to control whether a plan is actively earning:
Only one plan per rep can be active at a time. Deactivating a plan stops new commissions from accruing against it but does not affect commission statements already generated.

Commission statements

Once orders are invoiced and paid, Nymble Commerce can generate a CommissionStatement for a rep covering a defined date range. Statements roll up commission entries per invoice, apply the matching plan rate per line, and produce a payable total. Statements move through an approval workflow (DraftApproved → paid), and the full event history is preserved on the statement for audit purposes.
The sales rep workflow is ideal for trade show ordering and phone-based order entry. Build a lightweight mobile-friendly interface that authenticates with a rep’s credentials, pulls up their customer list, and submits orders with OrderType: "Assisted" and Channel: "TradeShow" or Channel: "Phone". You get full order attribution, commission tracking, and customer history without any custom backend logic.