createOrderExpress function

Future<ApiResponse<Object?>> createOrderExpress(
  1. ExsitedClient client,
  2. Object payload, {
  3. bool? raiseOnError,
  4. String? responseFormat,
})

POST /api/{api_version}/orders/express

Create an order, and its invoice and payment if the body nests them, in one call, the createExpress body under account.

No typed view: no 2xx response was recorded for it. Read response.map.

Implementation

Future<ApiResponse<Object?>> createOrderExpress(
  ExsitedClient client,
  Object payload, {
  bool? raiseOnError,
  String? responseFormat,
}) =>
    client.sendPostRequest(OrdersUrls.ordersExpress,
        jsonBody: payload,
        raiseOnError: raiseOnError,
        responseFormat: responseFormat);