The document describes the steps of the WooCommerce REST API configuration and describe how to create a new connection to link your store.
This document highlights the steps and importance of specific fields that are necessary for REST API Configuration and for creating a new connection with your store. Such steps include consumer key as access token on the Backend side as well ass consumer secret as secret on the Backend side when we create connection.
WooCommerce REST API Configuration
From WordPress, navigate to WooCommerce > Settings/Advanced. Click on the LegacyAPI tab a bit lower down and check off the Enable the REST API option.
Double check your WordPress Permalinks settings from General Settings > Permalinks. Make sure your Common Settings are set to anything but Default. For example, choose Day and name as an alternative.
From WordPress, navigate to WooCommerce > Settings/Advanced. Click on the LegacyAPI tab a bit lower down and check off the Enable the REST API option. (check 'Enable the REST API checkbox is not checked) > Press 'Save Changes' button.
Head back to the WooCommerce section. Go to Settings/Advanced > RestAPI. Click on the Keys/Apps link, then click on Add Key. Once there, enter in all the key details, and hit the blue Generate API Key button. (Do no forget to select Read/Write from Permissons drop-down list)
You're almost done! Take note of your WooCommerce Customer Key and Consumer Secret, and then tab over to 'Help Scout' to wrap up. Point to remember Consumer Key: This key is ised as Access Token on Backend's side when we create a new connection. Consumer Secret: This is used as Secret on Backend's side when we create a new connection.
After doing the steps above, all that is left is to confirm things from WooCommerce > Status. Under API heading:
Under Theme heading:
External System Connectors - XTND Backend
XTND Backend helps you to manage sales orders, products, invoicing, shipments and accounts of your online stores, like Magento, Shopify, Fortnox etc. For this, you need to connect/link your online store with XTND Backend.
1. Create New Connection
The following steps explains how to create a new connection.
a. Click on External System Connectors from Settings.
b. Click the Create New Connection button.
A form opens where you need to enter basic data. Here information of your online store is used for connection creation. Important fields to be handled are:
Name: Any reference name of your choice, e.g. 'WooCommerce Jönköping'.
External System: Select name of sales channel, e.g. Magento, Fortnox, Shopify.
Access token: Consumer Key is used as access token here, e.g. ck_a3e7043....
API URL: URL of your online store, e.g. http://domain.com/
Secret: Consumer Secret is used as secret here, e.g. cs_9e253eb....
Order Start: Date from which you are going to start the integration. Most current date.
Warehouse (optional): The warehouse which you want to link with this store.
CompanyGroup (optional): left blank
c. Click on 'Verify Connection'. It will verify your information (External System, Access token, Secret, API URL...) to create a connection.
If green color, press the 'Save' button that appears between the verify connection and the cancel button.