Skip to main content

Vendor

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

Query parameters

  • email - Get vendor by email
    Type: string

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

  • orderby - Order by field
    Type: string - Default: id

  • search - Search vendors by given string
    Type: string

  • status - Vendor status: pending; approved
    Type: string - Default: approved

  • user_id - Get vendor by user_id
    Type: string

  • username - Get vendor by username
    Type: string

Fields

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

  • avatar - Vendor avatar

  • commissions - Vendor commissions

  • contact_email - Vendor store contact email

  • date_created - Date when vendor was created

  • email - Vendor email

  • first_name - Vendor first name

  • id - Vendor ID

  • last_name - Vendor last name

  • notes - Notes, field/list loop

  • product_count - Number of vendor products

  • sales_count - Number of vendor sales

  • sales_value - Total sales value

  • status - Vendor status

  • store_name - Vendor store name

  • store_url - Vendor store url

  • user_id - Vendor User ID

  • username - Vendor username

  • vendor_description - Vendor description