feat(SW-353): dynamic rewards
This commit is contained in:
15
lib/graphql/Query/Rewards.graphql
Normal file
15
lib/graphql/Query/Rewards.graphql
Normal file
@@ -0,0 +1,15 @@
|
||||
query GetRewards($locale: String!, $rewardIds: [String!]) {
|
||||
all_reward(locale: $locale, where: { reward_id_in: $rewardIds }) {
|
||||
items {
|
||||
taxonomies {
|
||||
term_uid
|
||||
}
|
||||
label
|
||||
grouped_label
|
||||
description
|
||||
grouped_description
|
||||
value
|
||||
reward_id
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user