GET api/v1/store/{storeID}/product/inventory/{sku}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
storeID

string

Required

sku

string

Required

Body Parameters

None.

Response Information

Resource Description

InventoryResponse
NameDescriptionTypeAdditional information
Sku

string

None.

_meta

ResponseMeta

None.

QuantityOnHand

integer

None.

QuantityTarget

integer

None.

QuantityRedLine

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Sku": "sample string 1",
  "_meta": {
    "Messages": [
      "sample string 1",
      "sample string 2"
    ],
    "ChangeType": "Created"
  },
  "QuantityOnHand": 1,
  "QuantityTarget": 1,
  "QuantityRedLine": 1
}

application/xml, text/xml

Sample:
<InventoryResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PFL.PFLLink.BO.GenericAPI.Response">
  <QuantityOnHand xmlns="http://schemas.datacontract.org/2004/07/_PFL.BO.IRIS">1</QuantityOnHand>
  <QuantityRedLine xmlns="http://schemas.datacontract.org/2004/07/_PFL.BO.IRIS">1</QuantityRedLine>
  <QuantityTarget xmlns="http://schemas.datacontract.org/2004/07/_PFL.BO.IRIS">1</QuantityTarget>
  <Sku>sample string 1</Sku>
  <_meta>
    <ChangeType>Created</ChangeType>
    <Messages xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </Messages>
  </_meta>
</InventoryResponse>

multipart/form-data

Sample:

An exception has occurred while using the formatter 'MultiPartMediaFormat' to generate sample for media type 'multipart/form-data'. Exception message: The media type formatter of type 'MultiPartMediaFormat' does not support writing because it does not implement the WriteToStreamAsync method.

image/png

Sample:

An exception has occurred while using the formatter 'ImageMediaFormat' to generate sample for media type 'image/png'. Exception message: The media type formatter of type 'ImageMediaFormat' does not support writing because it does not implement the WriteToStreamAsync method.

image/jpg

Sample:

An exception has occurred while using the formatter 'ImageMediaFormat' to generate sample for media type 'image/jpg'. Exception message: The media type formatter of type 'ImageMediaFormat' does not support writing because it does not implement the WriteToStreamAsync method.

image/jpeg

Sample:

An exception has occurred while using the formatter 'ImageMediaFormat' to generate sample for media type 'image/jpeg'. Exception message: The media type formatter of type 'ImageMediaFormat' does not support writing because it does not implement the WriteToStreamAsync method.

image/bmp

Sample:

An exception has occurred while using the formatter 'ImageMediaFormat' to generate sample for media type 'image/bmp'. Exception message: The media type formatter of type 'ImageMediaFormat' does not support writing because it does not implement the WriteToStreamAsync method.