Response [200 Ok]
| Uri | /api/v2/cart!changecurrency |
|---|---|
| UriDescription | ChangeCurrency |
| EndpointType | ChangeCurrency |
Request
| Uri | /api/v2/cart!changecurrency?_accept=text%2Fhtml |
|---|---|
| Method | GET |
| Version | v2 |
Config
{
"expand_method": "ref",
"shorturis": false
}
Options
Methods
OPTIONS
| Permissions |
|
|---|
GET
| Permissions |
|
|---|
POST
| Permissions |
|
|---|
JSON
{
"Request": {
"Version": "v2",
"Method": "GET",
"Uri": "/api/v2/cart!changecurrency?_accept=text%2Fhtml"
},
"Options": {
"MethodDetails": {
"OPTIONS": {
"Permissions": [
"Read"
]
},
"GET": {
"Permissions": [
"Read"
]
},
"POST": {
"Permissions": [
"Read"
]
}
},
"Methods": [
"OPTIONS",
"GET",
"POST"
],
"ParameterDescription": {
"Select": "Select one option. Options should pass only the \"Value\"."
},
"Parameters": {
"POST": [
{
"Name": "Currency",
"Required": false,
"ReadOnly": false,
"Default": null,
"Description": "3 Letter Currency Code",
"Type": "Select",
"OPTIONS": [
"US Dollar",
"Canadian Dollar",
"British Pound Sterling",
"Euro",
"Australian Dollar",
"Mexican Peso",
"Japanese Yen",
"Swiss Franc",
"New Zealand Dollar",
"Norwegian Kroner",
"Swedish Krona",
"Hong Kong Dollar",
"Indian Rupee",
"Singaporean Dollar"
],
"MIN_COUNT": 1,
"MAX_COUNT": 1
}
]
},
"MediaTypes": [
"application/json",
"application/vnd.php.serialized",
"application/x-msgpack",
"text/html",
"text/csv"
]
},
"Response": {
"Uri": "/api/v2/cart!changecurrency",
"UriDescription": "ChangeCurrency",
"EndpointType": "ChangeCurrency",
"Timing": {
"Total": {
"time": 0.02756,
"cycles": 1,
"objects": 0
}
}
},
"Code": 200,
"Message": "Ok"
}