Quick Start
To get start quickly, please do following steps:
- Step 1: Create In-house App (not Public App) by following this guide: Register in-house app for seller
- Step 2: Obtain Access Token by following this guide: Obtain access token
- Step 3: Start your first API calls by using obtained Access Token.
The base URL for all of request to TNSL APIs is: https://tikinowapi.tiki.vn
Request Header
Name | Type | Description | Example |
Authorization | string | access token is obtained after setting up in-house app | curl -X POST .... –header ‘Authorization: jzhpiYjo9EnvgR22gc6frULTrpYmvJNOsdfcxa’ \ –header ‘Content-Type: application/json’ \ |
Content-Type | string | application/json |
Common Response Code
Response Code | Name | Descripton |
200 | OK | Request completed as expected. |
201 | Created | Used for requests that create new objects (i.e. Delivery). |
204 | No Content | The server has completed the request but does not need to return a body (i.e. DELETE requests). |
304 | Not Modified | Resource hasn’t been updated since the date provided. |
400 | Bad Request | You did something wrong. Often a missing argument or parameter. |
401 | Unauthorized | Authentication was incorrect |
403 | Forbidden | The request is understood, but it has been refused or access is not allowed |
404 | Not Found | The requested resource could not be found |
405 | Method Not Allowed | Exceed the request limit |
422 | Invalid Request | The request body is parse-able however with invalid content or there are issues |
50X | Errors | Occur when something goes wrong from server side. |