Queries for retrieving Variant Attributes in the platform.
Queries
Get Product Projection Variant Attributes
QUERYproductProjectionVariantAttributes
| Arguments | |
|---|---|
idString | Queries with specified ID |
keyString | Queries with specified key |
stagedBoolean | Default: false |
includeAttributeNamesArray of String | The names of the attributes to include. At least one needs to be specified. |
localeProjectionArray of Locale | |
includeChannelIdsArray of String | The IDs of channels to include. If no channels is provided only the noChannel is returned. |
Output types
ProductProjectionVariantAttributes
productIdString | |
productKeyString | |
attributesArray of VariantAttributeDefinition | |
variantsArray of VariantAttributeVariant |
VariantAttributeDefinition
nameString | |
typeString | |
labelString | |
labelAllLocalesArray of LocalizedString |
VariantAttributeVariant
idString | |
skuString | |
keyString | |
availability | |
attributesRawArray of RawAttribute |
VariantAttributeAvailability
noChannel | |
channelsArray of VariantAttributeChannelAvailability |
VariantAttributeSimpleAvailability
isOnStockBoolean | |
availableQuantityLong | |
restockableInDaysInt |
VariantAttributeChannelAvailability
channelRef | |
availability |
RawAttribute
nameString | |
valueJson | |
attributesRawArray of RawAttribute | BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta |
referencedResource | |
referencedResourceSetArray of ReferenceExpandable |