import SnagSolutions from '@snagsolutions/sdk';
const client = new SnagSolutions({
apiKey: 'My API Key',
});
const websiteUserAttributes = await client.auctions.websiteUserAttributes.list();
console.log(websiteUserAttributes.data);
{
"data": [
{
"websiteId": "<string>",
"organizationId": "<string>",
"id": "<string>",
"label": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
}
],
"hasNextPage": true
}
Get all website user attributes
import SnagSolutions from '@snagsolutions/sdk';
const client = new SnagSolutions({
apiKey: 'My API Key',
});
const websiteUserAttributes = await client.auctions.websiteUserAttributes.list();
console.log(websiteUserAttributes.data);
{
"data": [
{
"websiteId": "<string>",
"organizationId": "<string>",
"id": "<string>",
"label": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
}
],
"hasNextPage": true
}
Unique identifier for the website
"123e4567-e89b-12d3-a456-426614174001"
Unique identifier for the organization
"123e4567-e89b-12d3-a456-426614174002"
Number of website user attributes to return
10
200
The response is of type object
.
Was this page helpful?