query

currency

Get currency configuration of the sales channel.
Arguments
Required
ID assigned to the currency.
Response
The unique identifier of the application.
code
String
3-character currency code, e.g. INR, USD, EUR.
created_at
String
ISO 8601 timestamp of sales channel support currency creation.
decimal_digits
Int
Acceptable decimal limits for a given currency, e.g. 1.05$ means upto 2 decimal digits can be accepted as a valid value of a currency.
is_active
Boolean
Shows currency is enabled or not in current sales channel.
name
String
Name of the currency, e.g Indian Rupee.
symbol
String
Unique symbol for identifying the currency, e.g. ₹.
updated_at
String
ISO 8601 timestamp of when the application was last modified.
country_name
String
Country name.
country_code
String
Country code.
Query
1query currency($id: String!) {
2 currency(id: $id) {
3 id
4 code
5 created_at
6 decimal_digits
7 is_active
8 name
9 symbol
10 updated_at
11 country_name
12 country_code
13 }
14}
Try it
Input Variables
1{
2 "id": "08a16b83-9094-4e89-8c05-2ccadd5c1c7e"
3}
Response
1{
2 "currency": {
3 "id": "08a16b83-9094-4e89-8c05-2ccadd5c1c7e",
4 "code": "code",
5 "created_at": "created_at",
6 "decimal_digits": 42,
7 "is_active": true,
8 "name": "A name",
9 "symbol": "symbol",
10 "updated_at": "updated_at",
11 "country_name": "country_name",
12 "country_code": "country_code"
13 }
14}