Saltar al contenido principal

CreateCustomerInput

Input for createCustomer. Every field is optional.

input CreateCustomerInput {
email: String
name: String
phone: String
billingDetails: ContactDetailsInput
shippingDetails: ContactDetailsInput
metadata: [KeyValueInput!]
}

Fields​

CreateCustomerInput.email ● String scalar​

The customer's email address. Must be a valid email address.

CreateCustomerInput.name ● String scalar​

The customer's full name or business name.

CreateCustomerInput.phone ● String scalar​

The customer's phone number. Use E.164 format (for example +34600000000). The format is not validated.

CreateCustomerInput.billingDetails ● ContactDetailsInput input​

Billing contact details and address.

CreateCustomerInput.shippingDetails ● ContactDetailsInput input​

Shipping contact details and address.

CreateCustomerInput.metadata ● [KeyValueInput!] list input​

Key/value metadata. Each key holds up to 50 characters and each value up to 500. A null value fails validation.

Member Of​

createCustomer mutation