1. Sales
VasyOpenAPI
  • Branch
    • Branch List
      GET
  • Department
    • department
      GET
  • Category
    • category
      GET
    • subCategory
      GET
  • Brand
    • Brand
      GET
    • SubBrand
      GET
  • Contact
    • Get Customer List W Branch Id
      GET
    • Get Contact By Id
      GET
    • Get Contact By Mobile No
      GET
    • contactSave
      POST
    • Supplier(Party)
      GET
  • GST
    • Verify GST
      POST
  • Master
    • Get Country List
      GET
    • Get State List
      GET
    • Get City List
      GET
    • Get Tax List
      GET
    • Get Additional Charge List
      GET
  • Product
    • Get Product List
    • Get Product By ID
    • products with inventory
    • product details with Inventory By Product ID
    • Product Variant List ID & Name
    • Variant Details By Variant ID
  • Recipe
    • Get All Recipe
  • User
    • Created By
  • Report
    • Get Sales Item Register Data
    • Purchase Item Register Report
    • Stock Summary Report
    • Stock Transfer Item Register Report
    • Consumption Production Report
  • Sales
    • Get All Sales Data
      POST
    • Get Sales Data By Id
      GET
    • Order Create
      POST
    • Order Status
      GET
    • Shipping Details
      GET
    • Update Due Date
      POST
    • Update Order Status
      POST
  1. Sales

Order Status

GET
/api/v1/sales/order-status/30801778

Sales Order Status#

Purpose#

Retrieve the current order, payment, and delivery status of a sales order.

Why would you use this?#

Use this API to track the latest status of an order after it has been created in VasyERP.

Information Returned#

Sales ID
Order Status
Payment Status
Delivery Status
Last Updated Date & Time

Example Use Case#

After creating a sales order, your application can periodically check whether the order is pending, delivered, cancelled, paid, or due.

Required Parameters#

ParameterDescription
salesIdSales Order ID returned from the Create Sales Order API
branch_idBranch ID for which the order status needs to be checked

Response Highlights#

FieldDescription
salesIdUnique identifier of the sales order
orderStatusCurrent status of the order
paymentStatusCurrent payment status
deliveryStatusCurrent delivery status
updatedAtDate and time when status was last updated

Important Notes#

Use the salesId received from the Create Sales Order API.
Order, payment, and delivery statuses may change independently.
Store the salesId in your system for future status tracking.
Useful for order tracking, customer notifications, and third-party system synchronization.

Request

Query Params

Header Params

Responses

🟢200
application/json
Bodyapplication/json

🟠403Unauthorized
🟠429Too Many Request
Request Request Example
Shell
JavaScript
Java
Swift
curl --location '/api/v1/sales/order-status/30801778?branch_id=24448' \
--header 'api-token: a6f919n4-4370-47a6-ad48-d3d6f719e3b0' \
--header 'Content-Type: application/json'
Response Response Example
200 - Example 1
{
    "status": true,
    "message": "Success",
    "code": "200",
    "response": {
        "salesId": 30462838,
        "orderStatus": "Delivered",
        "paymentStatus": "Paid",
        "deliveryStatus": "Delivered",
        "updatedAt": "2026-06-09T09:40:49.870+00:00"
    }
}
Previous
Order Create
Next
Shipping Details
Built with