Radial Integration | 2016

Retail Order Management > Inventory Management > Inventory API > Delete Inventory Allocations

Delete Inventory Allocations

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

Schemas

Examples

RollbackAllocationRequestMessage receives RollbackAllocationResponseMessage.

Request XML

<?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

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

 

Copyright © 2017 Radial. All rights reserved.