Woocommerce + SAP
Everything you need to connect Woocommerce and SAP: how to connect, which data moves, which settings there are and what to do when something goes wrong.
- 6 data flows
On this page1. Getting started
1. Getting started
Prepare both systems first, then connect them in Junipeer.
- about 5 minutes
Prepare Woocommerce
- Open the WordPress admin
- Go to the REST API key screen
- Create a new API key
- Choose the user and permissions
- Generate and copy the keys
- Paste the values into Junipeer
- Choose the authentication method
- Varies by project
Prepare SAP
- Confirm the exact product and environment
- Let Junipeer confirm the auth pattern
- Create or receive the technical credentials
- Add the credentials in Junipeer
- Verify in a non-production environment first
Connect and test
Enter the details in Junipeer, switch on the flows you need and test with one order before you go live.
Getting started with Junipeer
Connect both systems
Junipeer needs a connection to each system. When both are connected, the first order can go through.
2. How the data flows
What Junipeer can move between the two systems. The arrow shows which way the data goes.
- Orders
- Order status
- Products
- Stock levels
- Customers
- Shipments
3. Settings
The settings you see in Junipeer, in plain words. Open one to read more. The key is the technical name.
In Junipeer every setting has a ? that opens the same explanation next to the form, right when you need it. With the Junipeer MCP your AI assistant can also propose the settings from your own data.
How the Junipeer MCP worksSettings for Woocommerce (23)
| Setting | What it controls | Key |
|---|---|---|
| B2BKing Customer Group Map | Connect the customer groups in your ERP with the B2BKing customer groups in WooCommerce. | woocommerce_b2bking_customer_group_map |
| Company Group Attribute | Choose which company attribute in your ERP holds the customer group. | woocommerce_company_group_attribute |
| Create products | Decide whether products that don't exist in WooCommerce yet should be created there. | woocommerce_create_articles |
| Default B2BKing Customer Group | Choose the B2BKing customer group to use when a customer's group has no match in B2BKing Customer Group Map . | woocommerce_b2bking_default_customer_group |
| Default Category | Choose the category that new products get in WooCommerce. | woocommerce_default_category_id |
| Exclude Orders created before this date | Pick a date. Orders created before this date are not synced. | stdintegration_filter_woocommerce_order_created_date |
| Fields to update | Choose which product fields may be updated in WooCommerce. | woocommerce_product_fields_to_update |
| New Status | Choose the status the order should be updated to. | new_status |
Show all 23 settings
| Setting | What it controls | Key |
|---|---|---|
| Price Incl Taxes | Tell Junipeer whether the prices in WooCommerce include VAT (tax). | woocommerce_use_price_with_vat |
| Set order as complete | Decide whether the order should be set as complete in WooCommerce when shipment tracking is added to it. | woocommerce_complete_order_when_shipped |
| Shipment tracking link | Enter the full link to the shipping company's tracking page, if they have one. | woocommerce_shipment_tracking_link |
| Shipment tracking provider | Enter the name of the shipping company you use, for example TNT Express, Posten AB or DHL.se. | woocommerce_shipment_tracking_provider |
| Status for new products in woocomerce | Choose the status that new products get when they are created in WooCommerce. | woocommerce_new_products_status |
| Tax Rate Map | Connect the tax (VAT) rates from your ERP with the tax classes in WooCommerce. | woocommerce_product_tax_rate |
| Update Order Status | Decide whether the order status should be updated. | update_order_status |
| Update Woocommerce Customer | Decide whether customers that already exist in WooCommerce should be updated when customers are sent to WooCommerce. | woocommerce_update_customers |
| Update products | Decide whether products that already exist in WooCommerce should be updated. | woocommerce_update_articles |
| WooCommerce Authentication method | Choose how Junipeer signs in to your WooCommerce shop. | woocommerce_auth_method |
| WooCommerce Consumer Key | Enter the consumer key that Junipeer uses to connect to your WooCommerce shop. | woocommerce_consumer_key |
| WooCommerce Consumer Secret | Enter the consumer secret that Junipeer uses to connect to your WooCommerce shop. | woocommerce_consumer_secret |
| WooCommerce Shop Url | Enter the base address (URL) of your WooCommerce shop. | woocommerce_api_url |
| Woocommerce Order Status settings | Set up rules for how order statuses are handled in WooCommerce. | woocommerce_order_status_settings |
| Woocommerce Order Statuses | Choose which status an order must have in WooCommerce before it is synced. | woocommerce_sync_order_with_statuses |
Settings for SAP (21)
| Setting | What it controls | Key |
|---|---|---|
| API URL | Enter the base address of the SAP Business One API. | sap_b1_api_base_url |
| Company DB | Enter the name of the company database in SAP Business One that Junipeer should connect to. | sap_b1_ba_company_db |
| Confirm order? | Decide whether orders should be marked as confirmed when they are sent to SAP Business One. | sap_b1_order_confirmed |
| Default SAP pricelist [Export Items] | Choose the SAP Business One price list whose price is sent along with each article. | sap_b1_default_pricelist |
| Default SAP warehouse [Export Stock] | Choose the SAP Business One warehouse to use as the default when stock is exported. | sap_b1_default_warehouse |
| Default Terms of Payment in SAP | Choose the SAP Business One terms of payment to use when no payment method matches in Map Terms of Payment . | sap_b1_order_default_terms_of_payment |
| Exclude Orders created before this date | Choose a date to stop older orders from being synced. | stdintegration_filter_sap_order_created_date |
| Format for fromDate parameter in SQL query for updated stock items | Enter the date format for the fromDate parameter in the query chosen in Use SQL Query for updated stock items . | sap_b1_query_for_updated_stock_items_from_date_format |
Show all 21 settings
| Setting | What it controls | Key |
|---|---|---|
| Format for fromTime parameter in SQL query for updated stock items | Enter the time format for the fromTime parameter in the query chosen in Use SQL Query for updated stock items . | sap_b1_query_for_updated_stock_items_from_time_format |
| How many days for setting due date (default: 10)? | Enter the number of days to add to the order date to get the due date on orders in SAP Business One. | sap_b1_order_due_days |
| Map Shipping methods | Connect the shipping methods in your webshop with the shipping types in SAP Business One. | sap_b1_order_map_shipping_methods |
| Map Terms of Payment | Connect the payment methods in your webshop with the terms of payment in SAP Business One. | sap_b1_order_map_terms_of_payments |
| Map Vat percent with VatGroups | Connect the VAT percentages on orders from your webshop with the VAT groups in SAP Business One. | sap_b1_order_map_vat |
| Multiple warehouses on SAP [Export Stock]? | Decide how stock from your SAP Business One warehouses is exported. | sap_b1_multiple_warehouses |
| Only load articles which have this property set (e.g. Properties1) | Load only the SAP Business One articles (items) that have a certain property set. | sap_b1_article_filter |
| Only load customers which have this property set (e.g. U_LIFMagId) | Load only the SAP Business One customers that have a certain property set. | sap_b1_customer_filter |
| Password | Enter the password for the user in Username . | sap_b1_ba_password |
| Shipping fee Item Code | Enter the item code to use when the shipping fee is added as an order row on orders in SAP Business One. | sap_b1_order_default_shipping_article_nr |
| Use SQL Query for updated stock items | Choose a custom SQL query in SAP Business One that finds the items whose stock has changed. | sap_b1_query_for_updated_stock_items |
| Username | Enter the username Junipeer uses to log in to SAP Business One. | sap_b1_ba_username |
| What prefix is used for customer CardCode? | Enter the prefix for the customer number (CardCode) when Junipeer creates a new customer in SAP Business One. | sap_b1_order_card_code_prefix |
4. More guides
Did this page help you?
