Pharmacy
Order
Create Refill

Create Refill For Order

Create a refill request for an order with specified items.

Overview

  • Method: POST
  • Path: /pharmacy/order/create-refill/<orderId>
  • Tags: pharmacy

Parameters

orderId (path)

  • Type: string
  • Required: Yes
  • Description: orderId parameter

Request Body

  • Content Type: application/json
  • Required: Yes

Fields

FieldTypeRequiredDetails
itemsstringYes
quantityintegerYesmin: 1

Responses

200

Successful response

Content Type: application/json

{}

400

Bad Request

Content Type: application/json

{}

401

Unauthorized

404

Not Found

500

Internal Server Error

Example Usage

curl -X POST \
  https://api.pillexa.com/pharmacy/order/create-refill/<orderId> \
  -H "Content-Type: application/json" \
  -d '{"example": "data"}'