ItemProfile
A product's Bid Desk item profile, kept beside the product: its roles, sourcing, service flags and technical attribute values.
type ItemProfile {
attributes: JSON!
createdAt: DateTime!
id: ID!
productId: ID!
roles: [ItemRole!]!
serviceFlags: [ItemServiceFlag!]!
sourcing: ItemSourcing
updatedAt: DateTime!
version: Int!
}
Fields
ItemProfile.attributes ● JSON! non-null scalar
Technical attribute values keyed by attribute key, as normalised on save. A value whose attribute was later archived still reads.
ItemProfile.createdAt ● DateTime! non-null scalar
When the profile was created.
ItemProfile.id ● ID! non-null scalar
The profile's id.
ItemProfile.productId ● ID! non-null scalar
The product the profile belongs to.
ItemProfile.roles ● [ItemRole!]! non-null enum
What the item is used as, in a fixed order.
ItemProfile.serviceFlags ● [ItemServiceFlag!]! non-null enum
The item's service flags, in a fixed order.
ItemProfile.sourcing ● ItemSourcing enum
How the item is sourced. Null when not given.
ItemProfile.updatedAt ● DateTime! non-null scalar
When the profile last changed.
ItemProfile.version ● Int! non-null scalar
The edit counter. Send it back as expectedVersion on the next save; a stale one is refused.
Returned By
itemProfile query ● saveItemProfile mutation