shop.dashboard.customers

Returns information about new customers acquired since a specified date.

Parameters

  • period GET Optional

    Period of time, expressed in seconds, for which the information about new customers must be returned. If not specified then the method returns information about the past 30 days.

  • format GET Optional

    Sets response format. Available options: json (default), xml.

Return value

Array with a single item by_day containing an array of data for each day. The sub-array corresponding to each of the days contains values with the following keys:

  • []['date'] date Date corresponding to a particular day, in the Ymd format.
  • []['new'] int Number of new customer contacts created during this day.
  • []['total'] int Number of new customer contacts created from the date specified in the period parameter and until this day.

Example

https://demo1.webasyst.com/api.php/shop.dashboard.customers?