Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 18 Next »

Introduction

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

  1. 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. 


  2. 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.


  3. 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.


  4. 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)


  5. 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.

  6. 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.

If the Save button does not appear, please contact support.

Edit Synchronization Schedule

After creating a connection, you can edit a synchronization schedule of all entities, e.g. order, product, invoicing, accounting etc. By default, schedule for synchronization is inactive.

 Products

By default, products' synchronization schedule is once a day. You can edit the schedule to your preference:

Order

By default, order are fetched every hour. You can edit the schedule to your preference:

På denna sida:



  • No labels