API
Integrate Shipink into your own system using the REST API.
Shipink provides a REST API that lets you manage orders, shipments, carriers, and warehouses programmatically — without using the Shipink panel.
Get started immediately with our Postman Collection — all endpoints with example requests, ready to run.
Import the .json file into Postman to explore and test the full API.
Environments
| API | Sign Up | |
|---|---|---|
| Production | https://api.shipink.io | app.shipink.io/signup |
| Test | https://api.dev.shipink.io | app.dev.shipink.io/signup |
Getting Started with the Test Environment
- Sign up at app.dev.shipink.io/signup
- Add a test credit card — the test environment uses Craftgate test cards. You can use any of the successful test card numbers listed there.
- Get your token — use your test account credentials with
POST /tokenonhttps://api.dev.shipink.io
Sample successful test cards:
| Card number | Bank | Scheme |
|---|---|---|
4029400000000001 | T. Vakıflar Bankası | Visa |
5200170000000008 | T. Vakıflar Bankası | Mastercard |
6501700000000006 | T. Vakıflar Bankası | Troy |
5102210000000001 | Türk Ekonomi Bankası | Mastercard |
5230340000000001 | Yapı Kredi Bankası | Mastercard |
Real credit cards cannot be used in the test environment. You must use the Craftgate test cards listed above.
Main Flow
The typical integration follows these three steps:
- Create an order — register customer info and cart items
- Create a shipment — generate a shipping label for that order
- Track the shipment — monitor delivery status
Supporting endpoints:
- Rates — calculate shipping costs before creating a shipment
- Warehouses — manage sender addresses
- Address Book — manage saved recipient addresses
- Carriers — list carriers, services, and linked accounts
Authentication
All endpoints require a Bearer token in the Authorization header. Obtain a token by posting your Shipink credentials to POST /token.
Authorization: Bearer YOUR_ACCESS_TOKENSee the Token page for how to create and refresh tokens.
How is this guide?