Inventory service SPI
2.3.3
Implement this endpoint per the specification and configure it in CMS under:
CMS > Store Management > Integration > Custom SPI Connectors > Create
Ensure the endpoint is created in CMS with the following details:
1. SPI Config
- SPI Key: INVENTORY_SERVICE
- SPI Endpoint: Enter the base SPI URL in CMS.
- The SPI supports multiple operations by appending specific verbs to the base URL.
Example:
- Base SPI URL (Configured in CMS):
https://your-base-url.com/inventoryService - Full SPI Endpoints (Handled by Merchant's System):
- Revert Reserved Inventory: https://your-base-url.com/inventoryService/revert
Merchants must handle the full SPI URL (base + verb) in their system.
2. JSON Config
- Integration Type: Not required
- JSON Headers: Provide the necessary authentication headers.
Example:
{
"Content-Type": "application/json",
"client_id": "yourClientId",
"client_secret": "yourClientSecret"
}
DID THIS ARTICLE SOLVE YOUR ISSUE?
Let us know so we can improve!
Let us know so we can improve!