Inventory Management

General Summary

The Inventory Service is responsible for manager the inventory for a given Delivery Center. The responsible to update the Inventory country is delegated to the ERP. When the Inventory is enabled it will be used by Catalog Management and Cart Management to present the available products and also to allow or deny a purchase.

Inventory Placement

Load Limits

There are 2 available endpoints. The first to add and the second to remove a Delivery Center from the Inventory.

Entity

Method

Compressed

Limit of entities

inventory

/put

no

1 Delivery Center by request. The number of skus isn't defined

/delete/{deliveryCenterId}

no

1 Delivery Center by request

Architecture

The Inventory Service is optional per zone (country), and it provides to the zone two different solutions, if the inventory for an item is fully out of stock, the user cannot purchase the item and if the inventory for an item is partially out of stock, the user can only purchase the quantity of the item available.

Highlight Fields

These is the main field and their meaning. These one field is from the request parameter of put endpoint. The whole inventory of this Delivery Center will be overwritten by this request. The service will validate the x-timestamp before save it to the database. If the new one is older than that is on the server the request won't be processed.

Name

Description

deliveryCenterId

Delivery center identifier

inventory

Contains a list of vendorItemId (the item identifier) and its quantity for this Delivery Center