This query returns a customer matching the given email.
- API endpoint slug
- wave.find_or_create_customer
- Runtime method
- performQuery("wave.find_or_create_customer")
Query fields
- Label
- Which business?
- Helper text
- Required: Select your account to use.
- Slug
- business_id
- Required
- true
- Can have default value
- false
- Label
- What email?
- Helper text
- The email of the customer.
- Slug
- email
- Required
- true
- Can have default value
- true
- Label
- Customer or Company Name
- Helper text
- Optional: This name will only be used to create a new customer if none exists for the email entered above.
- Slug
- name
- Required
- false
- Can have default value
- true
Ingredients
- Slug
- first_name
- Filter code
- Wave.findOrCreateCustomer.ContactFirstName
- Type
- String
- Example
- John
- Slug
- last_name
- Filter code
- Wave.findOrCreateCustomer.ContactLastName
- Type
- String
- Example
- Doe
- Slug
- email
- Filter code
- Wave.findOrCreateCustomer.Email
- Type
- String
- Example
- example@example.com
- Slug
- name
- Filter code
- Wave.findOrCreateCustomer.CustomerName
- Type
- String
- Example
- John Doe
- Slug
- display_id
- Filter code
- Wave.findOrCreateCustomer.AccountNumber
- Type
- String
- Example
- 123
- Slug
- internal_notes
- Filter code
- Wave.findOrCreateCustomer.InternalNotes
- Type
- String
- Example
- This is a note
- Slug
- website
- Filter code
- Wave.findOrCreateCustomer.Website
- Type
- String
- Example
- https://example.com
- Slug
- phone
- Filter code
- Wave.findOrCreateCustomer.Phone
- Type
- String
- Example
- 123-456-7890
- Slug
- mobile
- Filter code
- Wave.findOrCreateCustomer.Mobile
- Type
- String
- Example
- 123-456-7890
- Slug
- toll_free
- Filter code
- Wave.findOrCreateCustomer.TollFree
- Type
- String
- Example
- 123-456-7890
- Slug
- fax
- Filter code
- Wave.findOrCreateCustomer.Fax
- Type
- String
- Example
- 123-456-7890
- Slug
- currency
- Filter code
- Wave.findOrCreateCustomer.Currency
- Type
- String
- Example
- USD
- Slug
- outstanding_amount
- Filter code
- Wave.findOrCreateCustomer.OutstandingAmount
- Type
- String
- Example
- 100
- Slug
- overdue_amount
- Filter code
- Wave.findOrCreateCustomer.OverdueAmount
- Type
- String
- Example
- 100
- Slug
- address
- Filter code
- Wave.findOrCreateCustomer.Address
- Type
- String
- Example
- 123 Main St
- Slug
- city
- Filter code
- Wave.findOrCreateCustomer.City
- Type
- String
- Example
- San Francisco
- Slug
- state
- Filter code
- Wave.findOrCreateCustomer.State
- Type
- String
- Example
- CA
- Slug
- country
- Filter code
- Wave.findOrCreateCustomer.Country
- Type
- String
- Example
- US
- Slug
- postal_code
- Filter code
- Wave.findOrCreateCustomer.PostalCode
- Type
- String
- Example
- 94114
- Slug
- shipping_name
- Filter code
- Wave.findOrCreateCustomer.ShippingName
- Type
- String
- Example
- John Doe
- Slug
- shipping_phone
- Filter code
- Wave.findOrCreateCustomer.ShippingPhone
- Type
- String
- Example
- 123-456-7890
- Slug
- shipping_address
- Filter code
- Wave.findOrCreateCustomer.ShippingAddress
- Type
- String
- Example
- 123 Main St
- Slug
- shipping_city
- Filter code
- Wave.findOrCreateCustomer.ShippingCity
- Type
- String
- Example
- San Francisco
- Slug
- shipping_state
- Filter code
- Wave.findOrCreateCustomer.ShippingState
- Type
- String
- Example
- CA
- Slug
- shipping_country
- Filter code
- Wave.findOrCreateCustomer.ShippingCountry
- Type
- String
- Example
- US
- Slug
- shipping_postal_code
- Filter code
- Wave.findOrCreateCustomer.ShippingPostalCode
- Type
- String
- Example
- 94114
- Slug
- shipping_instructions
- Filter code
- Wave.findOrCreateCustomer.ShippingInstructions
- Type
- String
- Example
- This is a note
- Slug
- created_at
- Filter code
- Wave.findOrCreateCustomer.CreatedAt
- Type
- Date with time (ISO8601)
- Example
- 2020-07-08T04:17:06.000+05:00
- Slug
- modified_at
- Filter code
- Wave.findOrCreateCustomer.ModifiedAt
- Type
- Date with time (ISO8601)
- Example
- 2020-07-08T04:17:06.000+05:00
- Slug
- id
- Filter code
- Wave.findOrCreateCustomer.Id
- Type
- String
- Example
- 123
- Slug
- business_id
- Filter code
- Wave.findOrCreateCustomer.BusinessId
- Type
- String
- Example
- 123
- Slug
- is_archived
- Filter code
- Wave.findOrCreateCustomer.IsArchived
- Type
- String
- Example
- true