Order Status History

Order Status History

POST https://sandbox.mnasati.com/v1/order_status_history

This endpoint allows you to get a history for all order statuses.

Headers

NameTypeDescription

Content-Type

string

Application/JSON

Access Token

string

Authentication token (JWT).

Request Body

NameTypeDescription

sale_id

integer

To get the status history Sale ID.

{
   "status":true,
   "data":[
      {
         "history_id":"7767",
         "added_date":"2021-03-17 13:13:26",
         "status_en":"Confirming your Order",
         "status_ar":"تأكيد طلبك"
      }
   ]
}

Examples

import http.client

conn = http.client.HTTPSConnection("sandbox.mnasati.com")

payload = "{\"sale_id\":6450}"

headers = {
    'Content-Type': "",
    'Authorization-Jwt': ""
    }

conn.request("POST", "/v1/order_status_history", payload, headers)

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))

Last updated