orders library

The v4 orders family: its endpoints, bound class, path templates and views.

Import it with a prefix, import 'package:exsited/orders.dart' as orders;, because families declare the same top-level names and a Dart export can neither rename nor prefix them.

Classes

AccountOrders
The account orders body.
AccountOrdersData
One entry of a AccountOrders's data.
AccountOrdersDataAccount
A AccountOrdersData's account.
AccountOrdersDataBillingAddress
A AccountOrdersData's billing_address.
AccountOrdersDataBillingPreferences
A AccountOrdersData's billing_preferences.
AccountOrdersDataBillingPreferencesProformaProperties
A AccountOrdersDataBillingPreferences's proforma_properties.
AccountOrdersDataCommunicationPreference
One entry of a AccountOrdersData's communication_preferences.
AccountOrdersDataContractProperties
A AccountOrdersData's contract_properties.
AccountOrdersDataCurrency
A AccountOrdersData's currency.
AccountOrdersDataCustomForm
A AccountOrdersData's custom_form.
AccountOrdersDataDiscountProfile
A AccountOrdersData's discount_profile.
AccountOrdersDataManager
A AccountOrdersData's manager.
AccountOrdersDataShippingAddress
A AccountOrdersData's shipping_address.
AccountOrdersDataTimeZone
A AccountOrdersData's time_zone.
Order
The order body.
OrderAccount
A Order's account.
OrderBillingAddress
A Order's billing_address.
OrderBillingPreferences
The order billing preferences body.
OrderBillingPreferencesBillingPreferences
A OrderBillingPreferences's billing_preferences.
OrderBillingPreferencesBillingPreferencesProformaProperties
A OrderBillingPreferencesBillingPreferences's proforma_properties.
OrderBillingPreferencesEntry
A Order's billing_preferences.
OrderBillingPreferencesEntryProformaProperties
A OrderBillingPreferencesEntry's proforma_properties.
OrderCommunicationPreference
One entry of a Order's communication_preferences.
OrderContractProperties
A Order's contract_properties.
OrderCurrency
A Order's currency.
OrderCustomForm
A Order's custom_form.
OrderCustomObject
One custom object with the order's instances of it, under custom_object.
OrderDiscardDraft
What createOrderDiscardDraft answers, under order.
OrderDiscountProfile
A Order's discount_profile.
OrderExtendTrial
What createOrderExtendTrial answers, under order.
OrderInformation
The order information body.
OrderInformationAccount
A OrderInformation's account.
OrderInformationBillingAddress
A OrderInformation's billing_address.
OrderInformationCommunicationPreference
One entry of a OrderInformation's communication_preferences.
OrderInformationCurrency
A OrderInformation's currency.
OrderInformationCustomForm
A OrderInformation's custom_form.
OrderInformationDiscountProfile
A OrderInformation's discount_profile.
OrderInformationManager
A OrderInformation's manager.
OrderInformationShippingAddress
A OrderInformation's shipping_address.
OrderInformationTimeZone
A OrderInformation's time_zone.
OrderItemFulfillment
What getOrderItemFulfillment answers, under item_fulfillment.
OrderItemFulfillmentAccount
A OrderItemFulfillment's account.
OrderItemFulfillmentCreatedBy
A OrderItemFulfillment's created_by.
OrderItemFulfillmentFulfillment
One entry of a OrderItemFulfillment's fulfillments.
OrderItemFulfillmentFulfillmentItem
A OrderItemFulfillmentFulfillment's item.
OrderItemFulfillmentInvoice
A OrderItemFulfillment's invoice.
OrderItemFulfillmentLastUpdatedBy
A OrderItemFulfillment's last_updated_by.
OrderKpis
What getOrderKpis answers, under order_kpis.
OrderLine
What getOrderLine answers, under order_line.
OrderLineItem
A OrderLine's item.
OrderLineItemAccountingCode
A OrderLine's item_accounting_code.
OrderLineItemPriceSnapshot
A OrderLine's item_price_snapshot.
OrderLineItemPriceSnapshotPricingRule
A OrderLineItemPriceSnapshot's pricing_rule.
OrderLineItemPriceTax
A OrderLine's item_price_tax.
OrderLineItemProperties
A OrderLine's item_properties.
OrderLineItemSaleTaxConfiguration
A OrderLine's item_sale_tax_configuration.
OrderLineItemSaleTaxConfigurationTaxCode
A OrderLineItemSaleTaxConfiguration's tax_code.
OrderLinePreOrderStockDetails
A OrderLine's pre_order_stock_details.
OrderLines
What getOrderLines answers, under order.
OrderLinesLine
One entry of a OrderLines's lines.
OrderLinesLineItem
A OrderLinesLine's item.
OrderLinesLineItemAccountingCode
A OrderLinesLine's item_accounting_code.
OrderLinesLineItemAccountingCodeSalesRevenue
A OrderLinesLineItemAccountingCode's sales_revenue.
OrderLinesLineItemCustomAttribute
One entry of a OrderLinesLine's item_custom_attributes.
OrderLinesLineItemPriceSnapshot
A OrderLinesLine's item_price_snapshot.
OrderLinesLineItemPriceSnapshotPricingRule
A OrderLinesLineItemPriceSnapshot's pricing_rule.
OrderLinesLineItemPriceTax
A OrderLinesLine's item_price_tax.
OrderLinesLineItemProperties
A OrderLinesLine's item_properties.
OrderLinesLineItemSaleTaxConfiguration
A OrderLinesLine's item_sale_tax_configuration.
OrderLinesLineItemSaleTaxConfigurationTaxCode
A OrderLinesLineItemSaleTaxConfiguration's tax_code.
OrderLinesLinePreOrderStockDetails
A OrderLinesLine's pre_order_stock_details.
OrderList
A page of Order records.
OrderManager
A Order's manager.
OrderNote
The order note body.
OrderNoteAttachment
One entry of a OrderNote's attachments.
OrderNoteCreatedBy
A OrderNote's created_by.
OrderNoteFile
What getOrderNoteFile answers, under file.
OrderNoteFileEntry
One entry of a OrderNoteFileList's data.
OrderNoteFileList
One page of what getOrderNoteFiles lists, under data.
OrderNoteLastUpdatedBy
A OrderNote's last_updated_by.
OrderNoteList
A page of OrderNote records.
OrderNoteOrder
A OrderNote's order.
OrderNoteView
What getOrderNote answers, under note.
OrderNoteViewAttachment
One entry of a OrderNoteView's attachments.
OrderNoteViewCreatedBy
A OrderNoteView's created_by.
OrderNoteViewLastUpdatedBy
A OrderNoteView's last_updated_by.
OrderNoteViewOrder
A OrderNoteView's order.
OrderNoteViewWatcher
One entry of a OrderNoteView's watchers.
OrderNoteWatcher
One entry of a OrderNote's watchers.
OrderPayment
What getOrderPayment answers, under payment.
OrderPaymentAccount
A OrderPayment's account.
OrderPaymentCreatedBy
A OrderPayment's created_by.
OrderPaymentInvoice
One entry of a OrderPayment's invoices.
OrderPaymentMethod
What getOrderPaymentMethod answers, under order.
OrderPaymentMethodPaymentMethod
A OrderPaymentMethod's payment_method.
OrderPaymentMethodPaymentMethodProcessor
A OrderPaymentMethodPaymentMethod's processor.
OrderPaymentMethods
What getOrderPaymentMethods answers, under order.
OrderPaymentMethodsPaymentMethod
One entry of a OrderPaymentMethods's payment_methods.
OrderPaymentMethodsPaymentMethodProcessor
A OrderPaymentMethodsPaymentMethod's processor.
OrderPaymentPaymentApplied
One entry of a OrderPayment's payment_applied.
OrderPdf
What getOrderPdf answers, under order.
OrderPdfPdf
A OrderPdf's pdf.
OrderQuotePartialInvoices
What getOrderQuotePartialInvoices answers, under order.
OrderRead
The order read body.
OrderReadAccount
A OrderRead's account.
OrderReadActivityLog
One entry of a OrderRead's activity_logs.
OrderReadBillingAddress
A OrderRead's billing_address.
OrderReadBillingPreferences
A OrderRead's billing_preferences.
OrderReadBillingPreferencesProformaProperties
A OrderReadBillingPreferences's proforma_properties.
OrderReadCommunicationPreference
One entry of a OrderRead's communication_preferences.
OrderReadContractProperties
A OrderRead's contract_properties, sent for a contract order.
OrderReadCurrency
A OrderRead's currency.
OrderReadCustomAttribute
One entry of a OrderRead's custom_attributes.
OrderReadCustomForm
A OrderRead's custom_form.
OrderReadDiscountProfile
A OrderRead's discount_profile.
OrderReadKpis
A OrderRead's kpis.
OrderReadLine
One entry of a OrderRead's lines.
OrderReadLineBooking
A OrderReadLine's booking.
OrderReadLineItem
A OrderReadLine's item.
OrderReadLineItemAccountingCode
A OrderReadLine's item_accounting_code.
OrderReadLineItemCustomAttribute
One entry of a OrderReadLine's item_custom_attributes.
OrderReadLineItemPriceSnapshot
A OrderReadLine's item_price_snapshot.
OrderReadLineItemPriceSnapshotPricingRule
A OrderReadLineItemPriceSnapshot's pricing_rule.
OrderReadLineItemPriceTax
A OrderReadLine's item_price_tax.
OrderReadLineItemProperties
A OrderReadLine's item_properties.
OrderReadLineItemSaleTaxConfiguration
A OrderReadLine's item_sale_tax_configuration.
OrderReadLineItemSaleTaxConfigurationTaxCode
A OrderReadLineItemSaleTaxConfiguration's tax_code.
OrderReadLinePreOrderStockDetails
A OrderReadLine's pre_order_stock_details.
OrderReadManager
A OrderRead's manager.
OrderReadShippingAddress
A OrderRead's shipping_address.
OrderReadTimeZone
A OrderRead's time_zone.
OrderReferralAccount
A Order's referral_account.
OrderSalesRep
A Order's sales_rep.
OrderShippingAddress
A Order's shipping_address.
OrderShippingProfile
A Order's shipping_profile.
OrdersResource
The orders endpoints with client already applied.
OrdersUrls
OrderTimeZone
A Order's time_zone.

Functions

acceptOrder(ExsitedClient client, Object orderId, {bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<Object?>>
POST /api/{api_version}/orders/{order_id}/accept
activateOrder(ExsitedClient client, Object orderId, Object payload, {bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<Object?>>
POST /api/{api_version}/orders/{order_id}/activate
activateOrderInvoiceFromDormant(ExsitedClient client, Object orderId, Object invoiceUuid, Object payload, {bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<Object?>>
POST /api/{api_version}/orders/{order_id}/activate_invoice_from_dormant/{invoice_uuid}
adjustOrderContract(ExsitedClient client, Object orderId, Object payload, {bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<Object?>>
POST /api/{api_version}/orders/{order_id}/contract_adjustment
cancelOrder(ExsitedClient client, Object orderId, Object payload, {bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<OrderRead>>
POST /api/{api_version}/orders/{order_id}/cancel
changeOrder(ExsitedClient client, Object orderId, Object payload, {bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<OrderRead>>
POST /api/{api_version}/orders/{order_id}/change
changeOrderStatus(ExsitedClient client, Object orderId, Object payload, {bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<Object?>>
POST /api/{api_version}/orders/{order_id}/change_status
createOrder(ExsitedClient client, Object payload, {bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<OrderRead>>
POST /api/{api_version}/orders
createOrderActivateDraft(ExsitedClient client, Object orderId, Object payload, {bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<OrderRead>>
POST /api/{api_version}/orders/{order_id}/activate_draft
createOrderConvertToOrder(ExsitedClient client, Object orderId, Object payload, {bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<OrderRead>>
POST /api/{api_version}/orders/{order_id}/convert_to_order
createOrderDiscardDraft(ExsitedClient client, Object orderId, Object payload, {bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<OrderDiscardDraft>>
POST /api/{api_version}/orders/{order_id}/discard_draft
createOrderExpress(ExsitedClient client, Object payload, {bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<Object?>>
POST /api/{api_version}/orders/express
createOrderExtendTrial(ExsitedClient client, Object orderId, Object payload, {bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<OrderExtendTrial>>
POST /api/{api_version}/orders/{order_id}/extend_trial
createOrderNote(ExsitedClient client, Object orderId, String note, {Map<String, Object?>? files, bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<OrderNoteView>>
POST /api/{api_version}/orders/{order_id}/notes
createOrderRelinquish(ExsitedClient client, Object orderId, Object payload, {bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<OrderRead>>
POST /api/{api_version}/orders/{order_id}/relinquish
deleteOrder(ExsitedClient client, Object orderId, {bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<Object?>>
DELETE /api/{api_version}/orders/{order_id}
deleteOrderNote(ExsitedClient client, Object orderId, Object orderNoteId, {bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<Object?>>
DELETE /api/{api_version}/orders/{order_id}/notes/{order_note_id}
deleteOrderNoteFile(ExsitedClient client, Object orderId, Object orderNoteId, Object orderFileId, {bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<Object?>>
DELETE /api/{api_version}/orders/{order_id}/notes/{order_note_id}/files/{order_file_id}
downgradeOrder(ExsitedClient client, Object orderId, Object payload, {bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<Object?>>
POST /api/{api_version}/orders/{order_id}/downgrade
getOrder(ExsitedClient client, Object orderId, {Map<String, Object?>? queryParams, bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<OrderRead>>
GET /api/{api_version}/orders/{order_id}
getOrderBillingPreferences(ExsitedClient client, Object orderId, {Map<String, Object?>? queryParams, bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<OrderBillingPreferences>>
GET /api/{api_version}/orders/{order_id}/billing_preferences
getOrderCustomObject(ExsitedClient client, Object orderId, Object customObjectId, {bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<OrderCustomObject>>
GET /api/{api_version}/orders/{order_id}/custom_objects/{custom_object_id}
getOrderCustomObjectInstance(ExsitedClient client, Object orderId, Object customObjectId, Object instanceId, {bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<Object?>>
GET /api/{api_version}/orders/{order_id}/custom_objects/{custom_object_id}/instances/{instance_id}
getOrderCustomObjects(ExsitedClient client, Object orderId, {Map<String, Object?>? queryParams, bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<AccountOrders>>
GET /api/{api_version}/orders/{order_id}/custom_objects
getOrderCustomObjectsInstance(ExsitedClient client, Object orderId, Object customObjectId, {bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<OrderCustomObject>>
GET /api/{api_version}/orders/{order_id}/custom_objects_instances/{custom_object_id}
getOrderCustomObjectsInstanceInstance(ExsitedClient client, Object orderId, Object customObjectId, Object instanceId, {bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<Object?>>
GET /api/{api_version}/orders/{order_id}/custom_objects_instances/{custom_object_id}/instances/{instance_id}
getOrderCustomObjectsInstances(ExsitedClient client, Object orderId, {Map<String, Object?>? queryParams, bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<AccountOrders>>
GET /api/{api_version}/orders/{order_id}/custom_objects_instances
getOrderInformation(ExsitedClient client, Object orderId, {Map<String, Object?>? queryParams, bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<OrderInformation>>
GET /api/{api_version}/orders/{order_id}/information
getOrderItemFulfillment(ExsitedClient client, Object orderId, Object fulfillmentId, {bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<OrderItemFulfillment>>
GET /api/{api_version}/orders/{order_id}/item_fulfillments/{fulfillment_id}
getOrderItemFulfillments(ExsitedClient client, Object orderId, {Map<String, Object?>? queryParams, bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<AccountOrders>>
GET /api/{api_version}/orders/{order_id}/item_fulfillments
getOrderKpis(ExsitedClient client, Object orderId, {bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<OrderKpis>>
GET /api/{api_version}/orders/{order_id}/kpis
getOrderLine(ExsitedClient client, Object orderId, Object lineUuid, {Map<String, Object?>? queryParams, bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<OrderLine>>
GET /api/{api_version}/orders/{order_id}/lines/{line_uuid}
getOrderLines(ExsitedClient client, Object orderId, {Map<String, Object?>? queryParams, bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<OrderLines>>
GET /api/{api_version}/orders/{order_id}/lines
getOrderNote(ExsitedClient client, Object orderId, Object orderNoteId, {Map<String, Object?>? queryParams, bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<OrderNoteView>>
GET /api/{api_version}/orders/{order_id}/notes/{order_note_id}
getOrderNoteFile(ExsitedClient client, Object orderId, Object orderNoteId, Object orderFileId, {Map<String, Object?>? queryParams, bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<OrderNoteFile>>
GET /api/{api_version}/orders/{order_id}/notes/{order_note_id}/files/{order_file_id}
getOrderNoteFiles(ExsitedClient client, Object orderId, Object orderNoteId, {Map<String, Object?>? queryParams, bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<OrderNoteFileList>>
GET /api/{api_version}/orders/{order_id}/notes/{order_note_id}/files
getOrderNotes(ExsitedClient client, Object orderId, {Map<String, Object?>? queryParams, bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<OrderNoteList>>
GET /api/{api_version}/orders/{order_id}/notes
getOrderPayment(ExsitedClient client, Object orderId, Object paymentId, {bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<OrderPayment>>
GET /api/{api_version}/orders/{order_id}/payments/{payment_id}
getOrderPaymentMethod(ExsitedClient client, Object orderId, Object paymentMethodRef, {Map<String, Object?>? queryParams, bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<OrderPaymentMethod>>
GET /api/{api_version}/orders/{order_id}/payment_methods/{payment_method_ref}
getOrderPaymentMethods(ExsitedClient client, Object orderId, {Map<String, Object?>? queryParams, bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<OrderPaymentMethods>>
GET /api/{api_version}/orders/{order_id}/payment_methods
getOrderPdf(ExsitedClient client, Object orderId, {Map<String, Object?>? queryParams, bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<OrderPdf>>
GET /api/{api_version}/orders/{order_id}/pdf
getOrderQuotePartialInvoices(ExsitedClient client, Object orderId, {bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<OrderQuotePartialInvoices>>
GET /api/{api_version}/orders/{order_id}/quote_partial_invoices
getOrders(ExsitedClient client, {Map<String, Object?>? queryParams, bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<OrderList>>
GET /api/{api_version}/orders
getOrderShippingPdf(ExsitedClient client, Object orderId, Object shippingLineId, {bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<Object?>>
GET /api/{api_version}/orders/{order_id}/shipping_pdf/{shipping_line_id}
getOrdersNotes(ExsitedClient client, {Map<String, Object?>? queryParams, bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<OrderNoteList>>
GET /api/{api_version}/orders/notes
previewOrder(ExsitedClient client, Object payload, {bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<Object?>>
POST /api/{api_version}/orders/preview
previewOrderChange(ExsitedClient client, Object orderId, Object payload, {bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<OrderRead>>
POST /api/{api_version}/orders/{order_id}/change/preview
previewOrderContractAdjustment(ExsitedClient client, Object orderId, Object payload, {bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<Object?>>
POST /api/{api_version}/orders/{order_id}/contract_adjustment/preview
previewOrderDowngrade(ExsitedClient client, Object orderId, Object payload, {bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<Object?>>
POST /api/{api_version}/orders/{order_id}/downgrade/preview
previewOrderUpgrade(ExsitedClient client, Object orderId, Object payload, {bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<Object?>>
POST /api/{api_version}/orders/{order_id}/upgrade/preview
reactivateOrder(ExsitedClient client, Object orderId, Object payload, {bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<OrderRead>>
POST /api/{api_version}/orders/{order_id}/reactivate
replaceOrderBillingPreferences(ExsitedClient client, Object orderId, Object payload, {bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<OrderRead>>
PUT /api/{api_version}/orders/{order_id}/billing_preferences
replaceOrderLineBillingPreferences(ExsitedClient client, Object orderId, Object lineUuid, Object payload, {bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<OrderRead>>
PUT /api/{api_version}/orders/{order_id}/lines/{line_uuid}/billing_preferences
terminateOrderTrial(ExsitedClient client, Object orderId, {bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<Object?>>
POST /api/{api_version}/orders/{order_id}/terminate_trial
updateOrderBillingPreferences(ExsitedClient client, Object orderId, Object payload, {bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<OrderRead>>
PATCH /api/{api_version}/orders/{order_id}/billing_preferences
updateOrderInformation(ExsitedClient client, Object orderId, Object payload, {bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<OrderRead>>
PATCH /api/{api_version}/orders/{order_id}/information
updateOrderLine(ExsitedClient client, Object orderId, Object lineUuid, Object payload, {bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<OrderRead>>
PATCH /api/{api_version}/orders/{order_id}/lines/{line_uuid}
updateOrderLineBillingPreferences(ExsitedClient client, Object orderId, Object lineUuid, Object payload, {bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<OrderRead>>
PATCH /api/{api_version}/orders/{order_id}/lines/{line_uuid}/billing_preferences
updateOrderNote(ExsitedClient client, Object orderId, Object orderNoteId, String note, {Map<String, Object?>? files, bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<OrderNoteView>>
PATCH /api/{api_version}/orders/{order_id}/notes/{order_note_id}
upgradeOrder(ExsitedClient client, Object orderId, Object payload, {bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<Object?>>
POST /api/{api_version}/orders/{order_id}/upgrade