If this content did not answer your questions, try searching or contacting our support team for further assistance.
acquia-dam-sdk / Components / AttributesApi
new AttributesApi(
client
):AttributesApi
Create an instance of the AttributesApi class.
The Attributes API lists all product attributes that have been configured in Entries, and all controlled vocabulary values for any single-select or multi-select attribute
Provide an instance of ApiClient.
listAttributes(
params
?):Promise
<ListAttributesResult
>
Retrieve a list of attributes
Information about the request
Promise
<ListAttributesResult
>
Promise containing a list of attributes
https://widenv2.docs.apiary.io/#reference/attributes/attributes/list-attributes
listAttributeVocabulary(
id
):Promise
<ListAttributeVocabularyResult
>
List the vocabulary for a single-select or multi-select attribute
string
Attribute ID
Promise
<ListAttributeVocabularyResult
>
Promise containing the vocabulary for the provided attribute field
https://widenv2.docs.apiary.io/#reference/attributes/attributes/list-vocabulary