updateOrderInformation function
Future<ApiResponse<OrderRead> >
updateOrderInformation(
- ExsitedClient client,
- Object orderId,
- Object payload, {
- bool? raiseOnError,
- String? responseFormat,
PATCH /api/{api_version}/orders/{order_id}/information
Implementation
Future<ApiResponse<OrderRead>> updateOrderInformation(
ExsitedClient client,
Object orderId,
Object payload, {
bool? raiseOnError,
String? responseFormat,
}) =>
client.sendPatchRequest(OrdersUrls.orderInformation,
pathParams: {'order_id': orderId},
jsonBody: payload,
raiseOnError: raiseOnError,
responseFormat: responseFormat,
dtoDecoder: OrderRead.fromMap);