ePrivacy and GPDR Cookie Consent by Cookie Consent Skip to main content

Connector WooCommerce

Component extracts data from WooCommerce API from Orders endpoint.

Prerequisites

Application requires setting up Consumer Key and Consumer Secret in the WooCommerce, as well as component configuration. 

Learn more about how to set Consumer Key and Consumer Secret in WooCommerce.

Data In/Data Out

Data In 

N/A

Data Out

Output files are in NDJSON format where each line contains row with the information about the order. Output directory is data/out/files.

 

Learn more about the folder structure please go to this article.

Parameters

Consumer Key (required) To set it refer to WooCommerce documentation.
Consumer Secret (required) To set it refer to WooCommerce documentation.
Store URL (required) Link to the e-commerce store where the data is extracted from.


Orders
Start time (required)

Define the time range for orders.

  • Data type: string - timestamp in human-readable format (natural language). Example: now - 14 days12 hours ago
  • Data type: date time Example: yyyy-mm-dd hh:mm:ss
End time (required)

Define the time range for orders.

  • Data type: string - timestamp in human-readable format (natural language). Example: now - 14 days12 hours ago
  • Data type: date time Example: yyyy-mm-dd hh:mm:ss

 

Learn more: for date-time definition parsedatetime library is used, specifically the parseDT() method. Examples for both human and standardized input can be found in tests, examples, and notes.