getOrderInformation function
GET /api/{api_version}/orders/{order_id}/information
Implementation
Future<ApiResponse<OrderInformation>> getOrderInformation(
ExsitedClient client,
Object orderId, {
Map<String, Object?>? queryParams,
bool? raiseOnError,
String? responseFormat,
}) =>
client.sendGetRequest(OrdersUrls.orderInformation,
pathParams: {'order_id': orderId},
queryParams: queryParams,
raiseOnError: raiseOnError,
responseFormat: responseFormat,
dtoDecoder: OrderInformation.fromMap);