ordersDestroy method

Future<void> ordersDestroy(
  1. int id
)

Delete order.

Parameters:

  • int id (required): A unique integer value identifying this Order.

Implementation

Future<void> ordersDestroy(
  int id,
) async {
  final response = await ordersDestroyWithHttpInfo(
    id,
  );
  if (response.statusCode >= HttpStatus.badRequest) {
    throw ApiException(response.statusCode, await _decodeBodyBytes(response));
  }
}