Query
query GetScxMetaDataTypes {
GetScxMetaDataTypes {
value
key
}
}Response
{
"data": {
"GetScxMetaDataTypes": [
{
"value": 1,
"key": "string"
}
]
}
}Queries
GetScxMetaDataTypes
Delivers the vocabulary of metadata types whose import can be enabled for a SCX seller. Each entry pairs the numeric value to send as Type in SetScxSellerMetaDataImport with the api key the seller read model reports, so a caller can translate between reading and writing without a hard-coded table. The vocabulary is the same for every seller and every channel.
QUERY
GetScxMetaDataTypes: [ScxMetaDataTypeInfo!]!Returns
value
Int!
Numeric value identifying the metadata type. This is the value to send as Type in SetScxSellerMetaDataImport.
key
String!
SCX api key of the metadata type. This is the exact string the seller read model reports in its Type field.
Query
query GetScxMetaDataTypes {
GetScxMetaDataTypes {
value
key
}
}Response
{
"data": {
"GetScxMetaDataTypes": [
{
"value": 1,
"key": "string"
}
]
}
}Was this page helpful?