Fetch in-depth information about a single vendor
client.vendors.retrieve(stringurn, RequestOptionsoptions?): VendorRetrieveResponse { created_at, description, lifecycle_stage, 3 more }
GET/v1/vendors/{urn}
Fetch in-depth information about a single vendor
Parameters
urn: string
Returns
Fetch in-depth information about a single vendor
import Clarative from 'clarative';
const client = new Clarative({
apiKey: process.env['CLARATIVE_API_KEY'], // This is the default and can be omitted
});
const vendor = await client.vendors.retrieve('urn');
console.log(vendor.created_at);{
"created_at": "2019-12-27T18:11:19.117Z",
"description": "description",
"lifecycle_stage": "INITIAL_ASSESSMENT",
"name": "name",
"urn": "urn",
"metadata": [
{
"name": "name",
"type": "TEXT",
"urn": "urn",
"value": {}
}
]
}Returns Examples
{
"created_at": "2019-12-27T18:11:19.117Z",
"description": "description",
"lifecycle_stage": "INITIAL_ASSESSMENT",
"name": "name",
"urn": "urn",
"metadata": [
{
"name": "name",
"type": "TEXT",
"urn": "urn",
"value": {}
}
]
}