Arguments
id
String!Required
ID assigned to the currency.
Response
id
StringThe unique identifier of the application.
code
String3-character currency code, e.g. INR, USD, EUR.
created_at
StringISO 8601 timestamp of sales channel support currency creation.
decimal_digits
IntAcceptable 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
BooleanShows currency is enabled or not in current sales channel.
name
StringName of the currency, e.g Indian Rupee.
symbol
StringUnique symbol for identifying the currency, e.g. ₹.
updated_at
StringISO 8601 timestamp of when the application was last modified.
country_name
StringCountry name.
country_code
StringCountry code.
Query
1query currency($id: String!) {2 currency(id: $id) {3 id4 code5 created_at6 decimal_digits7 is_active8 name9 symbol10 updated_at11 country_name12 country_code13 }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}
Was this section helpful?