Customer Offer
Supported scenarios
- Sync Customer Offers;
- Create Customer Offers;
- Update Customer Offers;
- Delete Customer Offers.
For the business rules concerning customer offer, please read Direct sales Customer Offer.
Sync Customer Offers
Purpose:
Synchronize Customer offers from Floriday to the supplier application.
Prerequisites:
- The supplier application has the latest update of organizations;
- The supplier application has the latest update of trade-items;
- The supplier application has the latest update of batches;
- The user has created Customer Offers in Floriday.
Process steps:
| NR | Process step | API call / scenario | 
|---|---|---|
| 1 | Returns the maximum sequence number found in Customer Offers.. | GetCustomerOffersMaxSequence | 
| 2 | Retrieve changed Customer Offers since last sequence number. Repeat step until all Customer Offers are synchronised. | GetSupplyLinesBySequenceNumber | 
Create Customer Offers
Purpose:
Create customer offer in Floriday.
Prerequisites:
- The supplier application has the latest update of organizations;
- The supplier application has the latest update of trade-items;
- The supplier application has the latest update of batches;
Process steps:
| NR | Process step | API call / scenario | 
|---|---|---|
| 1 | Create customer offer with specific price, period, commercial available supply quantity and packing configuration. | AddCustomerOffer | 
| 2 | Customer offer supply line will be created in Floriday. | |
| 3 | Created customer offer supply line can be retrieved by the Customer organizations from the Customer channel. | 
Update Customer Offers
Purpose:
Update existing customer offers in Floriday.
Prerequisites:
- The supplier application has the latest update of organizations;
- The supplier application has the latest update of trade-items;
- The supplier application has the latest update of customer offers;
Process steps:
| NR | Process step | API call / scenario | 
|---|---|---|
| 1 | Update an existing Customer Offer based on supplyLineId. | EditCustomerOffer | 
| Customer offer supply line will be updated in Floriday. | ||
| 2 | Customer offer supply line will be updated in the customer channels. | |
| 3 | Updated customer offer supply line can be retrieved by the Customer organizations from the Customer channel. | 
Delete Customer Offers
Purpose:
(soft) Delete Customer offers in Floriday.
Prerequisites:
- The supplier application has the latest update of organizations;
- The supplier application has the latest update of trade-items;
- The supplier application has the latest update of customer offers;
Process steps:
| NR | Process step | API call / scenario | 
|---|---|---|
| 1 | Delete an existing customer offer based on supplyLineId. | DeleteCustomerOffers | 
| 2 | Customer offer supply line will be soft deleted in Floriday. | |
| 3 | Customer offer soft deleted supply lines can be retrieved by the Customer organizations from the Customer channel. | 
Updated 6 months ago
