Queries for retrieving Variant Attributes in the platform.

Queries

Get Product Projection Variant Attributes

QUERYproductProjectionVariantAttributes
Arguments
id​
String​

Queries with specified ID

key​
String​

Queries with specified key

staged​
Boolean​
Default: false​
includeAttributeNames​
Array of String​

The names of the attributes to include. At least one needs to be specified.

localeProjection​
Array of Locale​
includeChannelIds​
Array of String​

The IDs of channels to include.

If no channels is provided only the noChannel is returned.

Output types

ProductProjectionVariantAttributes

productId​
String​
productKey​
String​
attributes​
variants​

VariantAttributeDefinition

name​
String​
type​
String​
label​
String​
labelAllLocales​
Array of LocalizedString​

VariantAttributeVariant

id​
String​
sku​
String​
key​
String​
availability​
attributesRaw​
Array of RawAttribute​

VariantAttributeAvailability

noChannel​
channels​

VariantAttributeSimpleAvailability

isOnStock​
Boolean​
availableQuantity​
Long​
restockableInDays​
Int​

VariantAttributeChannelAvailability

channelRef​
availability​

RawAttribute

name​
String​
value​
Json​
attributesRaw​
Array 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​
referencedResourceSet​