Attribute interfaces and implementations
Adobe Commerce on cloud and on-premises (PaaS) provides the following interfaces to access system attributes and custom attributes defined by the merchant.
Interface
Implementations
The following table lists the same interfaces and implementations with links to the Adobe Commerce as a Cloud Service (SaaS) GraphQL reference.
Interface
Implementations
data-variant=info
data-slots=text
SaaS provides two additional implementations of the
AttributeValueInterface interface (AttributeFile and AttributeImage) to handle files and images uploaded to Amazon S3. If you are migrating from Adobe Commerce on Cloud Infrastructure or on-premise, these changes represent a backward incompatible change. If your project uses custom attributes for files or images, you must update your code to use the new implementations.Example usage
Retrieve custom attributes metadata from a customer
data-src=../../../../includes/graphql/examples/custom-attribute-customer.md
Filter custom_attributesV2 of a product
data-src=../../../../includes/graphql/examples/custom-attribute-filter-product.md
Retrieve a file uploaded to Amazon S3
data-src=../../../../includes/saas-only.md
data-src=../../../../includes/graphql/examples/customer-s3-download.md