UpdateCurrencySettings
Endpoint URL |
https://www.yournetosite.com.au/do/WS/NetoAPI |
Method |
POST |
XML Headers |
NETOAPI_ACTION |
UpdateCurrencySettings |
NETOAPI_USERNAME |
Your Neto Username (generate this in your Neto control panel) |
NETOAPI_KEY |
Your Neto API Secure Key (generate this in your Neto control panel) |
|
JSON Headers |
NETOAPI_ACTION |
UpdateCurrencySettings |
NETOAPI_USERNAME |
Your Neto Username (generate this in your Neto control panel) |
NETOAPI_KEY |
Your Neto API Secure Key (generate this in your Neto control panel) |
Accept |
application/json |
|
Description |
Use this call to Update currency settings. |
XSD Schema |
UpdateCurrencySettings XSD | UpdateCurrencySettings Response XSD
|
UpdateCurrencySettings Post
You must specify at least one filter and one OutputSelector in your UpdateCurrencySettings request. These will determine the results returned.
XML POST
<?xml version="1.0" encoding="utf-8"?>
<UpdateCurrencySettings>
<CurrencySettings>
<DEFAULTCOUNTRY>(String)</DEFAULTCOUNTRY>
<DEFAULTCURRENCY>(String)</DEFAULTCURRENCY>
<GST_INC_CPANEL>(String)</GST_INC_CPANEL>
<GST_AMT>(String)</GST_AMT>
</CurrencySettings>
</UpdateCurrencySettings>
JSON POST
{
"CurrencySettings": {
"DEFAULTCOUNTRY":["String"/*, ...*/],
"DEFAULTCURRENCY":["String"/*, ...*/],
"GST_INC_CPANEL":["String"/*, ...*/],
"GST_AMT":["String"/*, ...*/]
}
}
<CurrencySettings>
Element Name |
Required |
Field Type / Options |
DEFAULTCOUNTRY |
Optional Supports Multiple Elements |
String(25) |
DEFAULTCURRENCY |
Optional Supports Multiple Elements |
String(25) |
GST_INC_CPANEL |
Optional Supports Multiple Elements |
String(25) |
GST_AMT |
Optional Supports Multiple Elements |
String(25) |
UpdateCurrencySettings Responses
XML Response
<?xml version="1.0" encoding="utf-8"?>
<UpdateCurrencySettings>
<Messages>
<Error>
<Message>(String)</Message>
<SeverityCode>(String)</SeverityCode>
<Description>(String)</Description>
</Error>
<Warning>
<Message>(String)</Message>
<SeverityCode>(String)</SeverityCode>
</Warning>
<Success>
<Message>(String)</Message>
<SeverityCode>(String)</SeverityCode>
</Success>
</Messages>
</UpdateCurrencySettings>
JSON Response
{
"Messages": {
"Error": [ {
"Message":"String",
"SeverityCode":"String",
"Description":"String"
} ] , "Warning": [ {
"Message":"String",
"SeverityCode":"String"
} ] , "Success": [ {
"Message":"String",
"SeverityCode":"String"
} ]
}
}
<Messages>
<Error>
<Warning>
<Success>
If you are a vendor creating an integration with Neto by Maropost, we would like to hear from you!
Contact Us