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
|access token is obtained after setting up in-house app
curl -X POST ....
–header ‘Authorization: jzhpiYjo9EnvgR22gc6frULTrpYmvJNOsdfcxa’ \
–header ‘Content-Type: application/json’ \
Common Response Code
|Request completed as expected.
|Used for requests that create new objects (i.e. Delivery).
|The server has completed the request but does not need to return a body (i.e. DELETE requests).
|Resource hasn’t been updated since the date provided.
|You did something wrong. Often a missing argument or parameter.
|Authentication was incorrect
|The request is understood, but it has been refused or access is not allowed
|The requested resource could not be found
|Method Not Allowed
|Exceed the request limit
|The request body is parse-able however with invalid content or there are issues
|Occur when something goes wrong from server side.