POST api/Stock

The entry point for getting products stock information

Request Information

URI Parameters

None.

Body Parameters

StockRequest
NameDescriptionTypeAdditional information
AuthToken

Your unique partner identification token

globally unique identifier
ProductToken

The unique token for the product you want to get stock information for

globally unique identifier

Request Formats

application/json, text/json

Sample:
{
  "authToken": "56e4d20a-1152-48fd-b90e-838f9a712224",
  "productToken": "8aae0a1b-58eb-40ed-85be-c19a2a6be289"
}

application/xml, text/xml

Sample:
<StockController.StockRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HuurayV3.Areas.Public.Controllers">
  <AuthToken>56e4d20a-1152-48fd-b90e-838f9a712224</AuthToken>
  <ProductToken>8aae0a1b-58eb-40ed-85be-c19a2a6be289</ProductToken>
</StockController.StockRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Object containing stock information for the specified product

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.