Skip to main content

customerAttributeValuePictures

Requires a customer (portal or buyer app) session.

Lists the pictures the seller has set for variant attribute values, such as colour swatches. Values without a picture are not listed.

Errors: a failed call returns a GraphQL errors entry, not a field on the result, and data may be null or partial. Read the entry's extensions.code and message; every shape and code is in the Error reference.

Example:

query CustomerAttributeValuePictures {
customerAttributeValuePictures {
attributeKey
imageUrl
value
}
}

Response:

{
"data": {
"customerAttributeValuePictures": [
{
"attributeKey": "string",
"imageUrl": "string",
"value": "string"
}
]
}
}
customerAttributeValuePictures: [CustomerAttributePicture!]!

Type​

CustomerAttributePicture object​

The seller's picture for one value of a variant attribute, such as the Orange swatch of Colour.