General
You can set the status on which orders are sent, like only the paid orders.
Once APIcenter retrieves the order data, it is processed, and missing data (for example, storeid) is added, and the sendOrder starts.
First, APIcenter checks if the order already exists; if it exists, we skip the order. If it does not exist, APIcenter checks if the customer exists and, depending on the outcome, creates or updates the customer. APIcenter checks if all products exist, and then the order is committed.
APIcenter differentiates in creating the customer based on the source data received. If APIcenter receives a company name from the source, then a company debtor is created with the underlying contact. If there is no company, then a person debtor is created.
The check if a customer is exists is based on the email adress.
Please note that when the customer Id on the order is null
or 0
, this means that the customer created the order in Woocommerce as a guest
without creating an account. To prevent any problems with applications on the SEND-side of the flow, make sure to fall back to a default customer to create the order for in the target application.
Ordertypes
Important settings
- Amount to process
The amount of orders we try and sync at once. Always check if the target system can handle the amount of data.
- Specify the Date from which you want to retrieve Orders
Determines the date from which orders are retrieved based on the modify date.
- ordertype
- Order status filter
Datamapper
Per default APIcenter supplies a mapping that makes sure you can send orders towards the target application. You can also make adjustments to this yourself.
Default fields that are mapped are for example:
- Customer Name
- Billing address street
- Number
- Postalcode
- City
- Country
- Shipping address street
- Number
- Postalcode
- City
- Country
- SKU/EAN
- Quantity
- Price
More information about data mapping can be found here.