Search
Duplicate

Shopline API Instruction

Why we use the API and What is the API?

If you want to process your sales order remotely via Smartship, you will be required to link your sales site with Smartship through API integration. Once you link your accounts, Smartship can pull the sales orders, confirm order and update tracking information accordingly.
Whenever Smartship calls the API of the Sales site, it is required to get the authorization for access. And the sales site will generate the ‘API Key’ to each account and it works as the credentials. Thus Smartship will ask your ‘API Key’ instead of Login credentials.
This documents will explain how to set API integration with Qoo10 and how it works.
Requirements
Smartship requires below information to access your Shopline orders.
Shop ID : Shopline Seller ID
Access Token: API Access Token issued by Shopline

Setting up Shopline API for Smartship

1. Get API KEY from Shopline

1.
Access the Shopline admin and go to the Setting > Permission & Security menu. Click the [Add] button to add a staff member.
2.
Enter your email address, add a member, and click the API Auth tab. Check ‘Give Full Access’, and scroll down to the bottom.
3.
Click the [Generate] button at the bottom to create the token.

2. Register Sabangnet API KEY on Smartship

Path : Smartship > Order > Sales Site API > API Setting
You can set up API integration by following the steps below.
1.
After entering the Sales Site API settings page, Click the "New registration" button at the top.
2.
Select "SHOPLINE" Logo and please scroll to the "Sales Site Linkage Registration".
3.
Please enter the information necessary for setting up API linkage and register.
Shop ID: Enter Shopline Seller ID.
Access Token: Enter the Access Token issued by 1. Get API KEY from Shopline
Please also select other options. Details can be found below.

API connection settings options

We request to set your order processing options for your work efficiency. Here are the basic options you can set.
Automatic Order Integration
Automatic Order Confirmation
Automatic Fulfillment Shipping Instructions
Automatic Stock Qty Sync

Check API settings information

After registration the API, you can test connection to verify.
Click the [Test Connecttion] button to verify that the connection is successful.

Collectable Shopline Order Status

Smartship pulls orders with “Paid”&”Unfulfilled status, among sales orders from Shopline.
If you link it manually, please link it based on the 'order date' of Shopline. Orders in the 'New Order' status will be updated to 'Order Confirmed' when the order is linked in Smartship.

Connecting SKU to the product sold (When using Fullfillment)

If you want to use Auto Stock Qty Sync and fulfillment services, please connect the Smartship SKU to the Shopline product.
Path : Products & Categories > Products
1.
Enter the code for each product on the Shopline product registration screen.
A single product without an option.
Enter the Product SKU on the Quantity & Pricing tab.
An optional selection product
On the Variations tab, enter the Product SKUs for each option.
Path : Smartship > Inventory > SKU Management
a.
Move to Smartship SKU Management menu.
b.
In the SmartShip SKU, enter the same product code that you entered in 1. How to set option management code on sales site.
For a single product with no options
Register a SKU of a single option type, and enter a 'Seller defined code'.
For multi-product with options
Enter ‘Seller defined code’ in the ‘Option SKU Info’ tab.
If you're registering and mapping a large number of products, it's helpful to include your "SKU Seller Management Code" when uploading to Excel.
3. Once the above is done, it will be created as a fulfillment order from the time the order is linked, and the inventory quantity will be synchronized at the time of shipment.