UpdatePartnerInput
Changes to a partner. Omitted fields stay as they are.
input UpdatePartnerInput {
addresses: [CreateAddressInput!]
assignedSalesRepId: String
code: String
contacts: [CreateContactInput!]
creditLimit: Float
currentBalance: Float
customerTier: String
description: String
discountPercent: Float
displayName: String
id: ID!
industry: String
inviteSeparately: Boolean
leadTimeDays: Int
legalName: String
loyaltyPoints: Int
minOrderValue: Float
name: String
notes: String
paymentTerms: String
preferredCurrency: String
preferredLanguage: String
rating: Float
registrationNumber: String
roles: [PartnerRole!]
source: String
status: PartnerStatus
tags: [String!]
taxExemption: CustomerTaxExemptionInput
taxId: String
type: PartnerType
website: String
}
Fields
UpdatePartnerInput.addresses ● [CreateAddressInput!] list input
The partner's addresses. They replace the saved list.
UpdatePartnerInput.assignedSalesRepId ● String scalar
The ID of the sales rep the customer is assigned to. Only admins can change it.
UpdatePartnerInput.code ● String scalar
The partner code. Leave out to generate one.
UpdatePartnerInput.contacts ● [CreateContactInput!] list input
The partner's contacts. They replace the saved list.
UpdatePartnerInput.creditLimit ● Float scalar
The credit limit. 0 or less means unlimited.
UpdatePartnerInput.currentBalance ● Float scalar
The balance.
UpdatePartnerInput.customerTier ● String scalar
The partner's customer tier.
UpdatePartnerInput.description ● String scalar
What the partner is.
UpdatePartnerInput.discountPercent ● Float scalar
The standing discount, in percent.
UpdatePartnerInput.displayName ● String scalar
The name to show for the partner.
UpdatePartnerInput.id ● ID! non-null scalar
The ID of the partner to change.
UpdatePartnerInput.industry ● String scalar
The partner's industry.
UpdatePartnerInput.inviteSeparately ● Boolean scalar
True when portal access is given separately, right after this create, so no login is made from the first email contact.
UpdatePartnerInput.leadTimeDays ● Int scalar
The expected days from order to delivery.
UpdatePartnerInput.legalName ● String scalar
The legal name of the partner.
UpdatePartnerInput.loyaltyPoints ● Int scalar
The partner's loyalty points.
UpdatePartnerInput.minOrderValue ● Float scalar
The smallest order value.
UpdatePartnerInput.name ● String scalar
The name of the partner.
UpdatePartnerInput.notes ● String scalar
Notes about the partner.
UpdatePartnerInput.paymentTerms ● String scalar
The payment terms agreed with the partner.
UpdatePartnerInput.preferredCurrency ● String scalar
The currency of the partner's documents.
UpdatePartnerInput.preferredLanguage ● String scalar
The language of documents sent to the partner. Leave out to use the organization's default.
UpdatePartnerInput.rating ● Float scalar
A rating of the partner.
UpdatePartnerInput.registrationNumber ● String scalar
The partner's company registration number.
UpdatePartnerInput.roles ● [PartnerRole!] list enum
The roles of the partner, such as customer or supplier.
UpdatePartnerInput.source ● String scalar
Which staff app the partner is created in, for example Admin Web or Sales App. It is shown in the pending approval queue.
UpdatePartnerInput.status ● PartnerStatus enum
The status of the partner.
UpdatePartnerInput.tags ● [String!] list scalar
Tags on the partner.
UpdatePartnerInput.taxExemption ● CustomerTaxExemptionInput input
The customer's tax exemption. Customer partners only.
UpdatePartnerInput.taxId ● String scalar
The partner's tax ID.
UpdatePartnerInput.type ● PartnerType enum
The kind of partner.
UpdatePartnerInput.website ● String scalar
The partner's website.
Member Of
updatePartner mutation