The Delete Inventory Allocations operation is used to cancel an inventory reservation if an unrecoverable runtime or business error occurs in the submit order processing after the allocation is made but before the EP order create call is made.

For a step-by-step guide to this API, see How to Build an Inventory Rollback Allocation API Request.

URI Summary

Operation

Action

URI Template

URI Example

Transaction Type

Unique RequestID Needed for Duplicate Detection?

Non-URI Request / Payload

Response

Delete allocations

POST

/vM.m/stores/STOREID/inventory/allocations/delete.xml

/v1.0/stores/ABCD/inventory/allocations/delete.xml

Delete an inventory reservation after the allocation is made but before the EP order create call.

Yes

XML

200 + XML response

URI domain name: Radial recommends using the new domain at apg.radial.com. To connect to production Radial APIs, use the following form of the URL:

https://apg.radial.com/v1.0/proxyname/storecode/function

You should have received the applicable information for proxyname, storecode, and function from your Radial representative.

Note: The old domain will still be in operation until further notice from Radial. For more information on Radial API URIs, see API Requests and Responses.

Schemas

Examples

RollbackAllocationRequestMessage receives RollbackAllocationResponseMessage.

Request XML

Copy this code sample.

<?xml version="1.0" encoding="UTF-8"?>
<RollbackAllocationRequestMessage xmlns="http://schema.gspt.net/Inventory/3.0">
  <SourceId type="CHANNEL">TMSUS</SourceId>
  <ReservationId>TEST-RESERVATION-001</ReservationId>
</RollbackAllocationRequestMessage>

Response XML

Copy this code sample.

<?xml version="1.0" encoding="UTF-8"?>
<RollbackAllocationResponseMessage xmlns="http://schema.gspt.net/Inventory/2.0" >
  <ReservationId>23faa211-dcfd-485e-a879-492e33f76f91</ReservationId>
</RollbackAllocationResponseMessage>