Order status API
Update Order Status
POST
https://{admin-domain-name}/api/orderStatusUpdate
This endpoint allows you to update order status
Headers
Name
Type
Description
Authorization
string
Authentication token to
Request Body
Name
Type
Description
statusId
number
Value is in number format. It can be 2 or 6 .To accept order value should be 2.To cancel order value should be 6.
orderId
string
Unique order Id
{
"code": 200,
"success": "true",
"message": "order status updated successfully",
"data": {
"unique_order_id": "OD-10-26-AOLW-AXLQLVRQG",
"created_at": "2020-10-26T10:19:47.000000Z",
"orderStatus": "Canceled",
"pincode": "500013",
"phone": "+919148052560",
"city": "Hyderabad",
"userName": "amruta",
"restaurantId": null,
"storeId": null,
"storeName": "Kumarvelu Brothers",
"subTotal": 500,
"delivery_charge": "0.00",
"storeCharge": 0,
"coupon_name": null,
"coupon_value": "0.00",
"total": 500,
"payment_mode": [
"RAZORPAY"
],
"nonWalletAmount": 500,
"walletAmount": 0,
"orderItems": [
{
"name": "Pedigree Puppy Wet Dog Food, Chicken Chunks in Gravy, 15 Pouches (15 x 80g)",
"price": "500.00",
"quantity": 1
}
]
}
}
Last updated
Was this helpful?