ObjectWithAttributes Interface
An object with attributes.
Added in Saleor 3.22interface ObjectWithAttributes {
assignedAttribute(slug: String!): AssignedAttribute
assignedAttributes(limit: PositiveInt = 100): [AssignedAttribute!]!
}
Fields
ObjectWithAttributes.assignedAttribute ● AssignedAttribute interface attributes
Get a single attribute attached to the object by attribute slug.
Added in Saleor 3.22ObjectWithAttributes.assignedAttribute.slug ● String! non-null scalar miscellaneous
Slug of the attribute
ObjectWithAttributes.assignedAttributes ● [AssignedAttribute!]! non-null interface attributes
List of attributes assigned to the object.
Added in Saleor 3.22ObjectWithAttributes.assignedAttributes.limit ● PositiveInt scalar miscellaneous
Maximum number of attributes to return. Default is 100.
Implemented By
Page object ● Product object ● ProductVariant object