CreatePartnerInput
A new partner: a customer, a vendor, or both.
input CreatePartnerInput {
addresses: [CreateAddressInput!]!
assignedSalesRepId: String
code: String
contacts: [CreateContactInput!]!
creditLimit: Float
currentBalance: Float
customerTier: String
description: String
discountPercent: Float
displayName: String
industry: String
inviteSeparately: Boolean
leadTimeDays: Int
legalName: String
loyaltyPoints: Int
minOrderValue: Float
name: String!
notes: String
paymentTerms: String!
rating: Float
registrationNumber: String
roles: [PartnerRole!]!
source: String
status: PartnerStatus
tags: [String!]!
taxId: String
type: PartnerType
website: String
}
Fields
CreatePartnerInput.addresses ● [CreateAddressInput!]! non-null input
The partner's addresses.
CreatePartnerInput.assignedSalesRepId ● String scalar
The ID of the sales rep the customer is assigned to. Only admins can change it.
CreatePartnerInput.code ● String scalar
The partner code. Leave out to generate one.
CreatePartnerInput.contacts ● [CreateContactInput!]! non-null input
The partner's contacts.
CreatePartnerInput.creditLimit ● Float scalar
The credit limit. 0 or less means unlimited.
CreatePartnerInput.currentBalance ● Float scalar
The opening balance.
CreatePartnerInput.customerTier ● String scalar
The partner's customer tier.
CreatePartnerInput.description ● String scalar
What the partner is.
CreatePartnerInput.discountPercent ● Float scalar
The standing discount, in percent.
CreatePartnerInput.displayName ● String scalar
The name to show for the partner.
CreatePartnerInput.industry ● String scalar
The partner's industry.
CreatePartnerInput.inviteSeparately ● Boolean scalar
True when portal access is given separately, right after this create, so no login is made from the first email contact.
CreatePartnerInput.leadTimeDays ● Int scalar
The expected days from order to delivery.
CreatePartnerInput.legalName ● String scalar
The legal name of the partner.
CreatePartnerInput.loyaltyPoints ● Int scalar
The partner's loyalty points.
CreatePartnerInput.minOrderValue ● Float scalar
The smallest order value.
CreatePartnerInput.name ● String! non-null scalar
The name of the partner.
CreatePartnerInput.notes ● String scalar
Notes about the partner.
CreatePartnerInput.paymentTerms ● String! non-null scalar
The payment terms agreed with the partner.
CreatePartnerInput.rating ● Float scalar
A rating of the partner.
CreatePartnerInput.registrationNumber ● String scalar
The partner's company registration number.
CreatePartnerInput.roles ● [PartnerRole!]! non-null enum
The roles of the partner, such as customer or supplier.
CreatePartnerInput.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.
CreatePartnerInput.status ● PartnerStatus enum
The status of the partner.
CreatePartnerInput.tags ● [String!]! non-null scalar
Tags on the partner.
CreatePartnerInput.taxId ● String scalar
The partner's tax ID.
CreatePartnerInput.type ● PartnerType enum
The kind of partner.
CreatePartnerInput.website ● String scalar
The partner's website.
Member Of
createPartner mutation