pub async fn validate_order_info(
input_invoice: InputInvoice,
order_info: Option<OrderInfo>,
allow_save: bool,
client_id: i32,
) -> Result<ValidatedOrderInfo, Error>
Expand description
Validates the order information provided by a user and returns the available shipping options for a flexible invoice
ยงArguments
input_invoice
- The invoiceorder_info
- The order information, provided by the user; pass null if emptyallow_save
- Pass true to save the order informationclient_id
- The client id to send the request to