PricesheetUpdateInput
Pricesheet update data for modifying existing pricesheet configurations.
Contains optional fields for updating pricesheet information including codes, names, descriptions, priority settings, and access controls. All fields are optional for partial updates and maintain existing values when not provided.
The assignment fields (companyIds, contactIds, customerIds and usergroups, along with the source variants companySources, contactSources and customerSources) replace the current assignments of that type instead of adding to them: passing an empty array clears every assignment of that type, while leaving the field out keeps the existing assignments untouched. A source field resolves to ids that are merged with the ids given for the same type, so mentioning either field replaces that type's assignments. Use the assign/unassign mutations to add or remove individual assignments.
input PricesheetUpdateInput {
code: String
names: [LocalizedStringInput!]
descriptions: [LocalizedStringInput!]
priority: Int = 1
readonly: Boolean = false
companyIds: [Int!]
contactIds: [Int!]
customerIds: [Int!]
usergroups: [String!]
}
Fields
PricesheetUpdateInput.code ● String scalar
Unique identifier code for the pricesheet.
Alphanumeric code used to identify and reference the pricesheet across the system. Must be unique and is used for pricesheet management and customer assignments.
PricesheetUpdateInput.names ● [LocalizedStringInput!] list input
Localized display names for the pricesheet in multiple languages.
Array of language-specific names that provide user-friendly display text for the pricesheet. Each entry must have a unique language code and corresponding display value.
PricesheetUpdateInput.descriptions ● [LocalizedStringInput!] list input
Localized descriptions for the pricesheet in multiple languages.
Array of language-specific descriptions that provide detailed information about the pricesheet's purpose and usage. Each entry must have a unique language code and corresponding description text.
PricesheetUpdateInput.priority ● Int scalar
Priority level for pricesheet application order.
Integer value determining the order in which pricesheets are evaluated when multiple pricesheets apply to the same customer. Higher values indicate higher priority.
PricesheetUpdateInput.readonly ● Boolean scalar
Read-only access control flag for pricesheet protection.
When set to true, allows front-end to prevent modification or deletion of the pricesheet. Used to protect critical pricing configurations from accidental changes.
PricesheetUpdateInput.companyIds ● [Int!] list scalar
Company ids
PricesheetUpdateInput.contactIds ● [Int!] list scalar
Contact ids
PricesheetUpdateInput.customerIds ● [Int!] list scalar
Customer ids
PricesheetUpdateInput.usergroups ● [String!] list scalar
Usergroups
Member Of
pricesheetUpdate mutation