Pharmacy
Shipping
Trackingnumber

Shipping

Package departed from origin facility

Overview

  • Method: GET
  • Path: /pharmacy/shipping/\{trackingNumber\}
  • Tags: pharmacy

Parameters

No parameters required.

Request Body

No request body required.

Responses

200

Successful response

Content Type: application/json

{
  "type": "object",
  "properties": {
    "shipmentId": {
      "type": "string"
    },
    "trackingNumber": {
      "type": "string"
    },
    "status": {
      "type": "object"
    },
    "currentLocation": {
      "type": "string"
    },
    "state": {
      "type": "string"
    },
    "country": {
      "type": "string"
    },
    "timestamp": {
      "type": "string"
    }
  },
  "required": [
    "shipmentId",
    "trackingNumber",
    "status",
    "currentLocation",
    "state",
    "country",
    "timestamp"
  ]
}

400

Bad Request

Content Type: application/json

{
  "$ref": "#/components/schemas/Error"
}

401

Unauthorized

404

Not Found

500

Internal Server Error

Example Usage

curl -X GET \
  http://localhost:9000/pharmacy/shipping/{trackingNumber} \
  -H "Content-Type: application/json" \
  

Interactive Testing

You can test this endpoint interactively in the Swagger UI (opens in a new tab).