SaveItemProfileInput
A product's whole item profile. Omitted lists and attributes are saved empty.
input SaveItemProfileInput {
attributes: JSON
expectedVersion: Int
productId: ID!
roles: [ItemRole!]
serviceFlags: [ItemServiceFlag!]
sourcing: ItemSourcing
}
Fields
SaveItemProfileInput.attributes ● JSON scalar
Technical attribute values keyed by attribute key, each checked against the attributes of the product's categories and their ancestors. Empty values are dropped.
SaveItemProfileInput.expectedVersion ● Int scalar
Null to create the profile; the version you loaded to change it.
SaveItemProfileInput.productId ● ID! non-null scalar
The product the profile belongs to.
SaveItemProfileInput.roles ● [ItemRole!] list enum
What the item is used as. Duplicates are ignored.
SaveItemProfileInput.serviceFlags ● [ItemServiceFlag!] list enum
The item's service flags. Duplicates are ignored.
SaveItemProfileInput.sourcing ● ItemSourcing enum
How the item is sourced. Only with the ASSEMBLED or PURCHASABLE role.
Member Of
saveItemProfile mutation