The Get Instore Inventory Quantity operation is used to check instore inventory for an item in one or more stores.

URI Summary

Operation

Action

URI Template

URI Example

Transaction Type

Unique RequestID Needed for Duplicate Detection?

Non-URI Request / Payload

Response

Get instore quantity POST /vM.m/stores/STOREID/inventory/quantity/instore/get.xml /v1.0/stores/ABCD/inventory/quantity/instore/get.xml Get instore quantity for an item at one or more stores No 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.

Request Example

Copy
<InStoreQuantityRequestMessage xmlns="http://api.gsicommerce.com/schema/checkout/1.0" 
itemId="76-883360524702">
  <StoreFrontId>store4</StoreFrontId>
  <StoreFrontId>store10</StoreFrontId>
  <StoreFrontId>store5</StoreFrontId>
  <StoreFrontId>store6</StoreFrontId>
  <StoreFrontId>store3</StoreFrontId>
  <StoreFrontId>store8</StoreFrontId>
  <StoreFrontId>store2</StoreFrontId>
</InStoreQuantityRequestMessage>

Response Example

Copy
<?xml version="1.0" encoding="UTF-8"?>
<InStoreQuantityResponseMessage xmlns="http://api.gsicommerce.com/schema/checkout/1.0" 
itemId="76-883360524702">
   <StoreFrontQuantity>
      <StoreFrontId>store4</StoreFrontId>
      <Quantity>100</Quantity>
   </StoreFrontQuantity>
   <StoreFrontQuantity>
      <StoreFrontId>store10</StoreFrontId>
      <Quantity>100</Quantity>
   </StoreFrontQuantity>
   <StoreFrontQuantity>
      <StoreFrontId>store5</StoreFrontId>
      <Quantity>100</Quantity>
   </StoreFrontQuantity>
   <StoreFrontQuantity>
      <StoreFrontId>store6</StoreFrontId>
      <Quantity>100</Quantity>
   </StoreFrontQuantity>
   <StoreFrontQuantity>
      <StoreFrontId>store3</StoreFrontId>
      <Quantity>100</Quantity>
   </StoreFrontQuantity>
   <StoreFrontQuantity>
      <StoreFrontId>store8</StoreFrontId>
      <Quantity>0</Quantity>
   </StoreFrontQuantity>
   <StoreFrontQuantity>
      <StoreFrontId>store2</StoreFrontId>
      <Quantity>100</Quantity>
   </StoreFrontQuantity>
</InStoreQuantityResponseMessage>