RE: SOAP SalesOrder add request in secondary currency
I have multi-currency set up and my default currency is USD.
Can I send a sales order add request with a sales order in CAD (Canadian Dollars) and have it auto convert to USD for a USD-default customer?
I am trying with Postman but am getting the response…
Hi Scot,
currencyName isn’t supported:
The 2011.2 and later endpoints include a change from previous endpoints to the currency field in the body of transactions. Endpoints prior to 2011.2 included the currencyName string type field. As of the 2011.2 endpoint, this field has been replaced by the currency RecordRef type field. If you upgrade to the 2011.2 endpoint or later, you must update any code that references currencyName.
So I think you’ll need something like:
<ns1:currency internalId=”10″ xsi:type=”ns2:RecordRef”/>
I’m just trying to find a previous sample but hope that helps for now.
Thanks,
Chris