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