Back to Aligni.com

Retrieve one particular vendor by its id.

Examples

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

# response
<?xml version="1.0" encoding="UTF-8"?>
<vendor>
  <id>40</id>
  <name>Digi-Key</name>
  <short_name>DGK</short_name>
  <website/>
  <account_number/>
  <address1>701 Brooks Avenue South</address1>
  <address2/>
  <address3/>
  <city>Thief River Falls</city>
  <state>MN</state>
  <postcode>56701</postcode>
  <country>USA</country>
  <phone1>800.344.4539</phone1>
  <phone2></phone2>
  <phone3></phone3>
  <manufacturers>
    <manufacturer>
      <id>175</id>
    </manufacturer>
    ...
  </manufacturers>
</vendor>

Params

Param name Description
api_token
required

Your API token.


Value: Must be a String
id
required

Value: Must be a number.