Inventory Service SPI

POST Revert reserved inventory.

POST /merchant/spi/sample/endpoint/sa/inventoryService/revert

Operation ID: revertInventory. Tags: Inventory service SPI.

Reverts reserved inventory for specified products in a cart. - Used when payment fails or checkout doesn't complete to release reserved inventory. Structure: - Base SPI Endpoint: /merchant/spi/sample/endpoint/sa/inventoryService (Configured in CMS) - Verb: /revert (Handled by the merchant's system when making SPI calls) - Full Endpoint: /merchant/spi/sample/endpoint/sa/inventoryService/revert

Request body

Media type: application/json. Schema: ExternalCart.

Responses

  • default Default response

    Media type: application/json. Schema: SpiPSResponse.