Price groups
Price groups are used for price calculation for Catalog Supply and Base supply. Users may add customers, and set the sales unit & included services (transport and stickers).
Price groups can only be created in the Floriday application, but the information in Price groups may be retrieved with the Floriday API.
Supported scenarios
- Get Price groups
- Sync Price groups
Get Price groups
Purpose
Retrieve data of a single Price group based on priceGroupId.
Prerequisites
- The supplier application has the latest update of organizations;
Process steps
| NR | Process step | API call / scenario | 
|---|---|---|
| 1 | Returns price group data based on priceGroupId | GetPriceGroupById | 
| 2 | Process the retrieved Price group in the supplier application. The Price group will be added, updated or deleted in the supplier application. | 
Sync Price groups
Purpose
Synchronize Price group data from Floriday to the Supplier application.
Prerequisites
- The supplier application has the latest update of organizations;
Process steps
| NR | Process step | API call / scenario | 
|---|---|---|
| 1 | Get highest generated sequence number. | GetPriceGroupsMaxSequence | 
| 2 | Sync Price groups with limit and latest sequence number. | GetPriceGroupsBySequenceNumber | 
| 3 | Process the retrieved Price groups in the supplier application. Price groups will be added, updated or deleted in the supplier application. | 
Updated 6 months ago
