Pharmacy
Shipping
Create

Create

POST endpoint for /pharmacy/shipping/create in pharmacy category

Overview

  • Method: POST
  • Path: /pharmacy/shipping/create
  • Tags: pharmacy

Parameters

No parameters required.

Request Body

  • Content Type: application/json
  • Required: Yes
  • Schema: Defined

Responses

200

Successful response

Content Type: application/json

{
  "type": "object",
  "properties": {
    "shipmentId": {
      "type": "string"
    },
    "trackingNumber": {
      "type": "string"
    },
    "status": {
      "type": "object"
    },
    "estimatedDelivery": {
      "type": "string"
    },
    "trackingUrl": {
      "type": "string"
    },
    "created_at": {
      "type": "string"
    }
  },
  "required": [
    "shipmentId",
    "trackingNumber",
    "status",
    "estimatedDelivery",
    "trackingUrl",
    "created_at"
  ]
}

400

Bad Request

Content Type: application/json

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

401

Unauthorized

404

Not Found

500

Internal Server Error

Example Usage

curl -X POST \
  http://localhost:9000/pharmacy/shipping/create \
  -H "Content-Type: application/json" \
  -d '{"example": "data"}'

Interactive Testing

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