Back to Aligni.com

Retrieve one particular inventory location by its id.

Required permission: Can view inventory.

Examples

# request
curl -H 'Accept: application/xml' -H 'Content-Type: application/xml' \
https://demo.aligni.com/api/v2/oid3vLgynoy_Yl1gZkrgkLEq3J/inventory_location/1

# response
<?xml version="1.0" encoding="UTF-8"?>
<inventory_location>
  <id>1</id>
  <name>Headquarters</name>
  <shortname>CDHQ</shortname>
  <timezone>Pacific Time (US & Canada)</timezone>
  <description>Consolidated Diversified Headquarters</description>
  <phone1>908.687.5309</phone1>
  <phone2></phone2>
  <address1>123 Pollo del Mar</address1>
  <address2></address2>
  <city>Peoria</city>
  <state>IL</state>
  <postcode>61605</postcode>
  <country>USA</country>
  <created_on>2006-03-09 18:57:37 -0800</created_on>
  <updated_on>2006-03-09 18:58:56 -0800</updated_on>
  <inventory_sublocation>
    <id>5</id>
    <name>Bin 10</name>
  </inventory_sublocation>
  ...
</inventory_location>

Params

Param name Description
api_token
required

Your API token.


Value: Must be a String
id
required

Value: Must be a number.