terminateOrderTrial function
Future<ApiResponse<Object?> >
terminateOrderTrial(
- ExsitedClient client,
- Object orderId, {
- bool? raiseOnError,
- String? responseFormat,
POST /api/{api_version}/orders/{order_id}/terminate_trial
End a contract's trial now; no body sent. It starts the contract.
No typed view: no 2xx response was recorded for it. Read response.map.
Implementation
Future<ApiResponse<Object?>> terminateOrderTrial(
ExsitedClient client,
Object orderId, {
bool? raiseOnError,
String? responseFormat,
}) =>
client.sendPostRequest(OrdersUrls.orderTerminateTrial,
pathParams: {'order_id': orderId},
raiseOnError: raiseOnError,
responseFormat: responseFormat);