Swiftazu

Reference

List services

The delivery services you may use, with the payment modes each one accepts.

GET/v1/services
Bearer tokenReturns JSONSuccess 200

Only services your shipping company has opened to your account are listed. paymentModes tells you whether a service takes prepaid orders, cash on delivery, or both.

Request

Headers

FieldTypeDescription
AuthorizationrequiredstringThe access token from Get token, as "Bearer <token>".

This endpoint takes no parameters.

Example request
curl -X GET "https://api.swiftazu.com/v1/services" \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN"

Response

Example response · 200
[
  {
    "id": "5c8e7ef4-e345-433f-baa7-43921d5a9332",
    "name": "Standard",
    "allowsCrossBorder": false,
    "paymentModes": [
      "prepaid",
      "cod"
    ]
  }
]

Errors

Every call can also return the shared errors listed on the Overview page. Overview