Initial replenishment
Stocking your store for the first time
Because the first time you stock your store can involve thousands of products (which might be too much to handle for some services), we've got the following service for specifically this initial replenishment: InitialReplenishment
.
This service takes a BlobID of the Excel file containing your products and an email address that any exceptions should be sent to. This service will schedule a task in the background, which will return immediately. What this task essentially does is cut up the Excel in parts of 100 lines, create purchase orders, ship the purchase orders and then receive them. Any errors will be sent to the provided email address.
We expect the Excel to have the following headers:
Header | Example | Description |
---|---|---|
SourceOrganizationUnitID | 15 | The EVA ID of the source OU |
DestinationOrganizationUnitID | 16 | The EVA ID of the destination OU |
BackendOrderID | Y00123 | BackendID of the PO to be created. Since it's split, we will create Y00123_BATCH0000,Y00123_BATCH0001, etc. |
LineReference | Whatever you want | Will be stored on the order line |
ProductBackendID | PROD654 | The BackendID of the product |
Quantity | 2 | Quantity, of course |
StockLabelID | 5 | The EVA ID of the stock label where this quantity should end up |
This service requires the un-scoped InitialInventory functionality.