updateOrderLineBillingPreferences function
PATCH /api/{api_version}/orders/{order_id}/lines/{line_uuid}/billing_preferences
Implementation
Future<ApiResponse<OrderRead>> updateOrderLineBillingPreferences(
ExsitedClient client,
Object orderId,
Object lineUuid,
Object payload, {
bool? raiseOnError,
String? responseFormat,
}) =>
client.sendPatchRequest(OrdersUrls.orderLineBillingPreferences,
pathParams: {'order_id': orderId, 'line_uuid': lineUuid},
jsonBody: payload,
raiseOnError: raiseOnError,
responseFormat: responseFormat,
dtoDecoder: OrderRead.fromMap);