Entity-Relationships in this API
PCG Backends are ERP Systems that are build for businesses, that regularly deliver food , preferable organic food and vegetables with own limits and restrictions, preferably using own delivery logistics with packing processes and tour based deliveries.
It supports subscriptions and assortment assembling on a weekly basis and a lot more CRM functionality.
system
Basic coordinates of a system within our multi-tenant system can be obtained using the Bind call. Configuration and Config has configurations.
customer related
- a Customer has one or more Delivery Addresses, has Subscriptions , Discounts assigned and of course may have Orders and Refund assigned.
- Addresses not only have address fields and geo coordinates, but also many other attributes like depot assignments or tour information. Subscriptions are bound to a delivery address too.
Note that in the system, employees may be also visible in various API calls (e.g. Drivers). They can be distinguished by a negative id.
Stock and offering
- Items belong always to one Warehouse Group, but may in addition be part of (multiple) Rubrics, Subgroups and Assortments.
- Items may be restricted for Tours or delivery days, as provided in TourLimit. The may have Relations to other items and can potentially be offered in different Units.
- They may carry more information when used in B2B Context.
packing, delivery, fulfillment
Most of these methods require a proper role/permission assignment in the backend.
- Available Tours may have current delivery ride information attached.
- Deliveries for a Driver are shown in the Tour-Call.
shop UI
- The Navigation call provides Response Types for building up the complex navigation, that is solely controlled through the backend.