eVitalRx
  • API - powered by eVitalRx
  • Getting Started with eVitalRx
  • API FOR Product Catalogue
    • Introduction
    • Medicines
      • Search Product
      • Product Details
      • Search Content
      • Request Product
      • Get Categories
      • Get Category Products
  • API FOR Patient App
    • Introduction
    • Login/Signup
      • Signup send OTP
      • Signup
      • Login
      • Forgot password send OTP
      • Reset password
      • Change password
    • Patients
      • Add Patient
      • Update Patient
      • Get Patient
      • Add Patient family member
    • Addresses
      • List Addresses
      • Add-Update Address
      • Set Default Address
      • Delete Address
    • Medicines
      • Search Products
      • Search Manufacturer
      • Product Details
      • Get Stock details
      • Get Product Batch
      • Search Content
      • Branded to Generic
      • Get Categories
      • Get Category Products
      • Get Entity Categories
      • Get Entity Category Products
    • Orders
      • Place Order
      • Cancel Order
      • Save
      • Order Details
      • Order List
      • Mark as Accept
      • Mark as Reject
      • Get Reject Reasons
      • Get Chemist Order Settings
      • ⛔Mark as Shipped
      • Mark as Delivered
      • Order Return
      • Order Return Details
  • API FOR EMR/HMIS SOFTWARE
    • Introduction
    • Medicines
      • Search Products
      • Product Details
      • Get Inventory Status
      • Get Inventory Items
      • Get Alternatives
      • Get Product Batch
      • Get Expired Batches
      • Request Product
      • Branded to Generic
      • Search Content
      • Add Favorite Medicine
    • Patients
      • Add Patient
      • Get Patient
      • Update Patient
      • Add Patient family member
    • Orders
      • Push Prescription
      • Order Details
      • Order List
      • ⛔Update Order
      • Save
  • API FOR Custom Fields
    • Introduction
    • Add Custom Fields
    • Update Custom Field
    • Delete Custom Fields
    • List Custom Fields
  • API FOR MASTER
    • Reports
      • Margin Report
      • Stock Summary
  • API FOR FULFILLMENT
    • Introduction
    • Medicines
      • Search Products
      • Product Details
    • Orders
      • ⛔Check Serviceability
      • Check Serviceability V3
      • ⛔Checkout V2
      • Checkout V3
      • ⛔Place Order V2
      • Place Order V3
      • ⛔Order Details
      • Order Details V2
      • ⛔Cancel Order
      • Cancel Order V2
      • Get Reject Reasons
    • Patients
      • Add Patient
      • Get Patient
  • API FOR B2B
    • Introduction
    • Orders
      • Order Save
      • Order Save as Draft
      • Order List
      • Order Details
      • Order Return Save
      • Order Return List
      • Order Return Details
    • Customers
      • Add / Update Customer
      • Customer List
  • Webhook Responses
    • Introduction
    • Medicine Webhook
    • Transaction Webhook
    • Draft Save
    • Draft Edit
    • Order Save
    • Order Edit
    • Order Accepted
    • Order Rejected
    • Order Shipped
    • Order Delivered
    • Order Split
  • Others
    • Terms & Conditions
Powered by GitBook
On this page

Was this helpful?

  1. API FOR FULFILLMENT
  2. Orders

Cancel Order

This API is deprecated.

PreviousOrder Details V2NextCancel Order V2

Last updated 5 months ago

Was this helpful?

Push the Order in Cancelled state

POST

The orders in the "assigned", "accepted" and "shipped" states, can be canceled with this API.

Request Body

Name
Type
Description

apikey*

String

Authentication token

order_id*

String

Order ID from the response of Place Order API.

reason_source*

String

"pickup" | "delivery"

pass order is pickup or delivery.

reason_id*

Number

ID of the reasons got from Get Reject Reasons API.

patient_id*

String

ID of the patient to cancel the order

{
    "status_code": "1",
    "status_message": "Your order cancelled successfully.",
    "datetime": "2023-03-21 16:05:47",
    "ng_version": "0.0.378",
    "data": null
}
{
    "status_code": "0",
    "status_message": "order_id is required",
    "datetime": "2023-03-09 17:03:38",
    "data": null
}
⛔
{{apiUrl}}fulfillment/orders/cancel_order