Skip to content

Tracking

Accounts, origins and shipment dates

Four small endpoints that describe your account and the Wasil network. They are open to every partner; no module is needed.

GET /v1/me

Your partner account: name, code, plan, modules and request limit. Useful as a health check of a key.

Answer
{
  "data": {
    "name": "Example Store",
    "code": "EX",
    "mode": "live",
    "plan": "Standard",
    "modules": { "tracking": true, "rates": true, "webhooks": true, "write": false },
    "requests_per_minute": 60
  }
}
GET /v1/accounts

The Wasil accounts you can see. origin says how the account became yours:

  • linked: an existing Wasil customer that Wasil linked to your partner account. It keeps its suite.
  • created: a customer you created through the API. Its suite is in your own series.
Answer
{
  "data": [
    { "suite": "UM1K4821", "name": "Ali Hassan", "origin": "linked", "created_at": "2025-03-14T10:02:11+03:00" },
    { "suite": "UM1EX042", "name": "Sara Ahmed", "origin": "created", "created_at": "2026-10-03T14:05:00+03:00" }
  ]
}

An account belongs to one partner at most. With the customers module, GET /v1/customers returns the same accounts with phone, city and US-address state.

GET /v1/hubs

The origins Wasil ships from: the warehouses your customers send their purchases to. Use code wherever the API asks for an origin.

Answer
{
  "data": [
    {
      "code": "ger",
      "name": "Germany",
      "name_ar": "ألمانيا",
      "address": "Musterstrasse 12",
      "city": "Frankfurt",
      "state": "Hessen",
      "zip": "60311",
      "phone": "+49 69 0000000",
      "shipping_days_from": 20,
      "shipping_days_to": 25
    }
  ]
}
GET /v1/shipment-dates

The most recent days on which shipments left each origin, newest first. Handy for telling a customer when the last shipment went out.

Answer
{
  "data": [
    { "origin": { "code": "ger", "name": "Germany" }, "dates": ["2026-10-01", "2026-09-24", "2026-09-17"] },
    { "origin": { "code": "usa", "name": "USA" }, "dates": ["2026-09-30", "2026-09-27"] }
  ]
}