Query
query GetScxEventTypes {
GetScxEventTypes {
value
key
}
}Response
{
"data": {
"GetScxEventTypes": [
{
"value": 1,
"key": "string"
}
]
}
}Queries
GetScxEventTypes
Delivers the vocabulary of event types whose import can be enabled for a SCX seller. Each entry pairs the numeric value to send as Type in SetScxSellerEventImport 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; whether an individual type is accepted for a specific seller can additionally depend on that seller’s channel configuration.
QUERY
GetScxEventTypes: [ScxEventTypeInfo!]!Returns
[ScxEventTypeInfo!]!
value
Int!
Numeric value identifying the event type. This is the value to send as Type in SetScxSellerEventImport.
key
String!
SCX api key of the event type. This is the exact string the seller read model reports in its Type field.
Query
query GetScxEventTypes {
GetScxEventTypes {
value
key
}
}Response
{
"data": {
"GetScxEventTypes": [
{
"value": 1,
"key": "string"
}
]
}
}Was this page helpful?