CustomerUpdateInput
Input for customer update
input CustomerUpdateInput {
acceptsMarketing: Boolean
companyName: String
customerType: CustomerType
firstName: String
lastName: String
phone: String
regon: String
taxId: String
vatNumber: String
}
Fields
CustomerUpdateInput.acceptsMarketing ● Boolean scalar
Email marketing toggle. true → state SUBSCRIBED straight away (a signed-in customer has already proven the email). false → UNSUBSCRIBED. null/undefined → no change.
CustomerUpdateInput.companyName ● String scalar
Company name (required when customerType is COMPANY)
CustomerUpdateInput.customerType ● CustomerType enum
Business type discriminator (INDIVIDUAL/COMPANY)
CustomerUpdateInput.firstName ● String scalar
First name
CustomerUpdateInput.lastName ● String scalar
Last name
CustomerUpdateInput.phone ● String scalar
Phone number
CustomerUpdateInput.regon ● String scalar
Polish business registry number — REGON (9 or 14 digits with checksum)
CustomerUpdateInput.taxId ● String scalar
Polish tax ID — NIP (10 digits with checksum)
CustomerUpdateInput.vatNumber ● String scalar
EU VAT number (e.g. PL1234567890)
Member Of
customerUpdate mutation