The document describes the steps of the WooCommerce REST API configuration and describe how to create 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 New Connection with your Store. like Consumer Key as Access token on Extend Side and Consumer Secret as Secret on Extend Side when we create connection.
WooCommerce REST API Configuration
- From WordPress, navigate to WooCommerce → Settings, click on the API tab at the top and check off the Enable the REST API option.
- Double check your WordPress Permalinks settings from Settings → Permalinks. Make sure your Common Settings are set to anything but Default. If in doubt, Day and name should do the trick!
- Head back to the WooCommerce section, and go to Settings → API. Click on the Keys/Apps link, and then click on Add Key. Once there, enter in all the key details, and hit the blue Generate API Key button.
- You're almost done! Take note of your WooCommerce Consumer Key and Consumer Secret, and then tab over to Help Scout to wrap up.
Point to Remember
Consumer Key: This Key is used as Access token On Extend Side when we create new connection.
Consumer Secret: This is used as Secret on Extend Side when we create new connection.
- You'll need to install the WooCommerce App and paste your API values in to the corresponding fields. The Store URL is the web address used to reach your store, and the Admin URL is the web address to your WordPress admin panel. Lastly, select which mailboxes you'd like to connect, then hit the Save button.
External System Connectors - Extend
Extend helps you to Manage sales order, Products, invoicing, shipments and accounts of your online stores like Magento, Shopify and Fortnox etc. with click ease. For this you need to connect/link your online store with extend.
Create New Connection
We need to follow following steps to create new connection.
- Click on External System connectors from settings.
- Click the Create new connection button.
A form opens where you need to enter basic data. Here Info of your online store is used for connection creation. Important fields to be handled are,- External System: Select Name of Sales Channel like Magento, Fortnox and Shopify etc.
- Access token: Consumer Key(WooCommerce) is used as Access token here.
- API URL: URL of your Online Store like (http://domain.com /)
- Secret: Consumer Secret(WooCommerce) is used as Secret here.
- Click on Verify Connection. It will verify your info(External System, Access token, Secret, API URL...) to create Connection.
Edit Synchronization Schedule
After creating a connection, you can edit a synchronization schedule of all entities like order, product, invoicing and accounting etc. By default, schedule for synchronization is inactive.
Products
By Default, products Synchronization schedule is once a day. You can edit Products Synchronization Schedule.
Orders
By Default, Orders are fetched after every hour. You can edit orders synchronization schedule.