Customers
Covers customers, the master-data tables that classify them (customer types, customer segments), and brokers (reusable broker entities used on customers and SOs).
Writes
- Create customer — Triggered from the Customers page → "New customer". Creates a customer with name, type, segment, optional broker, parent, country, address, currency, and QBO ID.
- Update customer — Triggered from Customer Detail. Edits any header field including parent (hierarchy) and broker.
- Delete customer — Triggered from Customer Detail. Removes the customer.
- Bulk-import customers — Triggered from the Data page → Customers import. Uploads a CSV/Excel file to create multiple customers at once.
- Create customer type — Triggered from Settings → Customer types. Adds a new type (e.g., Purchaser, Location).
- Update customer type — Triggered from Settings → Customer types. Renames a type.
- Delete customer type — Triggered from Settings → Customer types. Removes a type (only allowed if no customer is currently using it).
- Create customer segment — Triggered from Settings → Customer segments. Adds a new segment (e.g., Club, Distributor, Grocery).
- Update customer segment — Triggered from Settings → Customer segments. Renames a segment.
- Delete customer segment — Triggered from Settings → Customer segments. Removes a segment (only allowed if no customer uses it).
- Create broker — Triggered from Settings → Brokers (or quick-add on a customer). Adds a new broker.
- Update broker — Triggered from Settings → Brokers. Renames a broker.
- Delete broker — Triggered from Settings → Brokers. Removes a broker (only allowed if no customer/SO uses it).
Reads
- List customers — Triggered from the Customers page (default view). Returns customers with header fields, optionally filtered by type or segment.
- Get customer detail — Triggered by clicking a customer in the list. Returns the customer with type, segment, broker, hierarchy, and contact links.
- List customer types — Triggered from the Customers filter dropdown, the customer create/edit form, and Settings → Customer types. Returns the available types.
- Check if customer type is in use — Triggered before deleting a type. Returns whether any customer uses it.
- List customer segments — Triggered from the Customers filter dropdown, the customer create/edit form, and Settings → Customer segments. Returns the available segments.
- Check if customer segment is in use — Triggered before deleting a segment. Returns whether any customer uses it.
- List brokers — Triggered from the customer create/edit form, the SO header form, and Settings → Brokers. Returns the available brokers.
- Check if broker is in use — Triggered before deleting a broker. Returns whether any customer or SO references it.