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