Batches
Supported scenarios
- Get batches;
- Create Batches;
- Update Batches.
For the business rules concerning batches, please read Batches.
Get Batches
Purpose:
Get Batches with an available quantity from Floriday in supplier application.
Prerequisites:
- The supplier application has the latest update of organizations;
- The supplier application has the latest update of warehouses;
- The supplier application has the latest update of trade-items;
- The user has inserted or changed its current batch available quantity for a period on a warehouse in Floriday.
Process steps:
NR | Process step | API call / scenario |
---|---|---|
Get max sequence number found in Batches. | GetBatchesMaxSequence | |
1A | Get changed batch since last sequence number. Repeat step until all batches are synchronised. | GetBatchesBySequenceNumber |
1B | Get batches based on trade-items with an available quantity, a packingconfiguration on a warehouse location. | GetBatches |
1C | Get a batch by batchID based on a trade-item with an available quantity, a packingconfiguration on a warehouse location. | GetBatchById |
2 | The retrieved batches are processed in the supplier application. | |
3 (optional) | A batch photo is retrieved. | Get photo by URL |
4 (optional) | The retrieved batch photos are processed in the supplier application. |
Create Batches
Purpose:
Create a Batch with an available quantity in Floriday.
Prerequisites:
- The supplier application has the latest update of warehouses.
- The user has inserted trade items in the Floriday catalog.
- The user has created batches in the supplier application.
Process steps:
Update Batches
Purpose:
Update (correct) a Batch with an available quantity in Floriday.
Prerequisites:
- The supplier application has the latest update of warehouses.
- The supplier application has the latest update of trade items.
- The user has inserted and changed its current batch available quantity for trade-items on a warehouse location in the supplier application.
Process steps:
NR | Process step | API call / [scenario] |
---|---|---|
1 | Update available quantity of a batch. | EditBatch |
The batch quantity is updated in Floriday. |
Updated almost 2 years ago