Update by orders

Applies one currency conversion independently to each selected order and reports each outcome. | authz: allowed_org_types=[provider], min_org_role=operator | (ReceivablesAcrossOrdersCurrencyConversionUpdateReq) -> (list[ReceivablesAcrossOrdersCurrencyConversionOrderRes])

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
order_idslist of stringsRequired
target_currency_codeenumRequired
conversion_ratedoubleOptional

Units of target_currency_code per one unit of the order’s sole original source currency different from the target. Target-currency items are reverted or left unchanged without applying this rate.

descriptionstringOptional<=255 characters

Response

Successful Response
order_idstring
statusenum
converted_invoice_line_itemslist of objectsOptional
failure_reasonstringOptional

Errors

422
Invoice Line Items Update Currency Conversion for Receivables across Orders V1request Unprocessable Entity Error