API
Integrate Shipink into your own system using the REST API.
Use the REST API to create orders and shipments, check tracking status, and manage warehouses from your application.
The Postman collection contains example API requests.
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
After obtaining a token, follow these 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 except POST /token require authentication. Send your Shipink credentials to POST /token, then include the returned token in the Authorization header of subsequent requests:
Authorization: Bearer YOUR_ACCESS_TOKENSee the Token page for how to create and refresh tokens.
Was this page helpful?