Saltar al contenido principal

UpdateCustomerInput

Input for updateCustomer. Only provided fields are updated.

input UpdateCustomerInput {
id: ID!
email: String
name: String
phone: String
billingDetails: ContactDetailsInput
shippingDetails: ContactDetailsInput
metadata: [KeyValueInput!]
defaultTokenId: ID
}

Fields​

UpdateCustomerInput.id ● ID! non-null scalar​

Customer ID.

UpdateCustomerInput.email ● String scalar​

The customer's email address.

UpdateCustomerInput.name ● String scalar​

The customer's full name or business name.

UpdateCustomerInput.phone ● String scalar​

The customer's phone number in E.164 format.

UpdateCustomerInput.billingDetails ● ContactDetailsInput input​

Billing address.

UpdateCustomerInput.shippingDetails ● ContactDetailsInput input​

Shipping address.

UpdateCustomerInput.metadata ● [KeyValueInput!] list input​

Arbitrary key/value metadata.

UpdateCustomerInput.defaultTokenId ● ID scalar​

Payment method charged when a payment asks for the customer's default. Must be a reusable payment method already saved by this customer.

Member Of​

updateCustomer mutation