Imports¶
The WooCommerce connector reads from the store with pull imports and writes to it with push imports. A reader runs a pull import, and a push connector runs a push import. Every import uses version 3 of the WooCommerce REST API, at /wp-json/wc/v3/.
Pull Imports¶
On the reader's Setup tab, select the store in WooCommerce Connectors and the pull import in WooCommerce Entity. The options below the entity apply to the Orders pull. Choose the entity before you map any fields. Changing it later deletes the reader's field configuration.
- Orders
- Orders with the chosen statuses, with their lines, coupons, fees, shipping, taxes and the customer's own details.
- Customers
- Every registered customer, with the billing and shipping addresses.
- Products
- Every product, with its categories, images and attributes, and the variations of each variable product beneath it.
The pulls keep no date of their last run. Each run reads every record that matches. See Choosing the Orders a Run Reads for how an integration reads each order once.
Push Imports¶
On the push connector's Setup tab, select the store in WooCommerce Connector, the push import in WooCommerce Import Type, and the Update Operation. Insert and Update describes how a push decides between creating a record and updating one.
- Orders
- Changes the status of an existing order, such as from
processingtocompleted.
- Changes the status of an existing order, such as from
- Order Notes
- Adds a note to an existing order, such as the ERP's order number.
- Products
- Creates and updates products, with their prices, stock, one category and one image.
- Variations
- Updates and creates the variations of a variable product, such as each size's price and stock.
- Customers
- Creates and updates customer accounts, with their addresses and up to ten meta data values.
WooCommerce Reference¶
The fields each import offers follow the WooCommerce REST API's own. The WooCommerce REST API documentation describes each field. This guide describes what IMan does with them.
See also WooCommerce Lookup, to query the store from any transform, and the two scenarios, Web Orders into the ERP and Stock and Prices from the ERP.