Skip to main content

Customer

For loop type edd_customer, here are the query parameters and fields.

Query parameters

  • email - Get customer by email
    Type: string

  • order - Order: ASC or DESC
    Type: string - Default: ASC

  • orderby - Order by field
    Type: string, array - Default: name

  • search - Search customers by given string
    Type: string

Fields

  • all - Show data of all custom fields (for development purpose)

  • date_created - Date when customer was created

  • email - Customer email

  • id - Customer ID

  • name - Customer name

  • payment_ids - Payment IDs

  • purchase_count - Number of purchases

  • purchase_value - Total amount spent on purchases

  • user_id - Customer User ID