Queries and mutations for managing Attribute Groups in the platform.
Queries
Query Attribute Groups
| Arguments | |
|---|---|
whereString | |
sortArray of String | |
limitInt | |
offsetInt | |
Get Attribute Group
| Arguments | |
|---|---|
idString | Queries with specified ID |
keyString | Queries with specified key |
Mutations
Create Attribute Group
Update Attribute Group
| Arguments | |
|---|---|
versionLong | |
actionsArray of AttributeGroupUpdateAction | |
idString | Queries with specified ID |
keyString | Queries with specified key |
Delete Attribute Group
| Arguments | |
|---|---|
versionLong | |
idString | Queries with specified ID |
keyString | Queries with specified key |
Output types
AttributeGroup
idString | Platform-generated unique identifier of the AttributeGroup. |
versionLong | Current version of the AttributeGroup. |
createdAt | Date and time (UTC) the AttributeGroup was initially created. |
lastModifiedAt | Date and time (UTC) the AttributeGroup was last updated. |
nameString | Name of the AttributeGroup. |
nameAllLocalesArray of LocalizedString | Name of the AttributeGroup. |
descriptionString | Description of the AttributeGroup. |
descriptionAllLocalesArray of LocalizedString | Description of the AttributeGroup. |
keyString | User-defined unique identifier of the AttributeGroup. |
attributesArray of AttributeReference | Attributes with unique values. |
createdBy | IDs and references that created the AttributeGroup. |
lastModifiedBy | IDs and references that last modified the AttributeGroup. |
AttributeReference
keyString | The Attribute's name as given in its AttributeDefinition. |
AttributeGroupQueryResult
offsetInt | |
countInt | |
totalLong | |
existsBoolean | |
resultsArray of AttributeGroup |
Input types
AttributeGroupDraft
nameArray of LocalizedStringItemInputType | Name of the AttributeGroup. |
descriptionArray of LocalizedStringItemInputType | Description of the AttributeGroup. |
keyString | User-defined unique identifier for the AttributeGroup. |
attributesArray of AttributeReferenceInput | Attributes with unique values. |
AttributeReferenceInput
keyString |
AttributeGroupUpdateAction
addAttribute | |
changeName | |
removeAttribute | |
setDescription | |
setKey | |
setAttributes |
Update actions
Add Attribute
attribute | Value to add. |
Change Name
nameArray of LocalizedStringItemInputType | New value to set. Must not be empty. |
Remove Attribute
attribute | Value to remove. |
Set Description
descriptionArray of LocalizedStringItemInputType | Value to set. If omitted, any existing value is removed. |
Set Key
keyString | If key is absent or null, the existing key, if any, will be removed. |
Set Attributes
attributesArray of AttributeReferenceInput | New unique values to set. |