Request Parameters:


Get available currency


URL: ../Api/Client/GetCurrency


Header:

Content-Type:application/json


Required Parameters :  


[Note: If you are a guest customer pass "CustomerGUID":"00000000-0000-0000-0000-000000000000",then in response you will get your Guest CustomerId]


Case-1. Exception parameters :
Parameter:
{

           "ApiSecretKey":"i99b98d117m116a112o98k115c111",

         "StoreId": "1",

       "LanguageId":"",

       "CurrencyId":""

}
Response :
{

    "Status": 0,

    "Message": "Request cannot be empty",

    "Data": null,

    "ValidationMessage": [],

    "ErrorMessage": null

}


Case-2. Success Response :
Parameter:
{

           "ApiSecretKey":"i99b98d117m116a112o98k115c111",

         "StoreId": "1",

       "LanguageId":"1",

       "CurrencyId":"1"

}

Response :
{

    "Status": 1,

    "Message": "Success.",

    "Data": {

        "AvailableCurrencies": [

            {

                "Name": "US Dollar",

                "CurrencySymbol": "$",

                "Id": 1,

                "CustomProperties": {}

            },

            {

                "Name": "Euro",

                "CurrencySymbol": "EUR",

                "Id": 6,

                "CustomProperties": {}

            }

        ],

        "CurrentCurrencyId": 1

    },

    "ValidationMessage": [],

    "ErrorMessage": null

}