orderStatus method
Sends a request to retrieve the status of an order.
orderId
: The ID of the order to check.
Returns an http.Response
with the order status.
Implementation
Future<http.Response> orderStatus(Map<String, dynamic> orderId) {
return makeApiRequest(
ApiEndpoints.orderStatus, {"orderId": orderId}, 'POST');
}