Created
September 28, 2022 08:21
-
-
Save woctezuma/8ca464a276b15d7dfad475fd6b6cbee9 to your computer and use it in GitHub Desktop.
Epic Games Store: GraphQL API
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
query PlayerAchievement($epicAccountId: String!, $sandboxId: String!) { | |
PlayerAchievement { | |
playerAchievementGameRecordsBySandbox( | |
epicAccountId: $epicAccountId | |
sandboxId: $sandboxId | |
) { | |
records { | |
totalXP | |
totalUnlocked | |
playerAwards { | |
awardType | |
unlockedDateTime | |
achievementSetId | |
} | |
achievementSets { | |
achievementSetId | |
isBase | |
totalUnlocked | |
totalXP | |
} | |
playerAchievements { | |
playerAchievement { | |
sandboxId | |
epicAccountId | |
unlocked | |
progress | |
XP | |
unlockDate | |
achievementName | |
isBase | |
achievementSetId | |
} | |
} | |
} | |
} | |
} | |
} | |
query PlayerGameAchievementProgress($epicAccountId: String!) { | |
PlayerAchievement { | |
playerAchievementGameRecords( | |
epicAccountId: $epicAccountId | |
includeAchievements: false | |
) { | |
records { | |
playerAwards { | |
awardType | |
unlockedDateTime | |
achievementSetId | |
} | |
achievementSets { | |
achievementSetId | |
isBase | |
totalUnlocked | |
totalXP | |
} | |
sandboxId | |
totalUnlocked | |
} | |
} | |
} | |
} | |
query Achievement($sandboxId: String!, $locale: String!) { | |
Achievement { | |
productAchievementsRecordBySandbox(sandboxId: $sandboxId, locale: $locale) { | |
productId | |
sandboxId | |
totalAchievements | |
totalProductXP | |
achievementSets { | |
achievementSetId | |
isBase | |
numProgressed | |
numCompleted | |
totalAchievements | |
totalXP | |
} | |
platinumRarity { | |
percent | |
} | |
achievements { | |
achievement { | |
sandboxId | |
deploymentId | |
name | |
hidden | |
isBase | |
achievementSetId | |
unlockedDisplayName | |
lockedDisplayName | |
unlockedDescription | |
lockedDescription | |
unlockedIconId | |
lockedIconId | |
XP | |
flavorText | |
unlockedIconLink | |
lockedIconLink | |
tier { | |
name | |
hexColor | |
min | |
max | |
} | |
rarity { | |
percent | |
} | |
} | |
} | |
} | |
} | |
} | |
query catalogItemQuery($namespace: String!, $id: String!, $locale: String, $withOffers: Boolean!) { | |
Catalog { | |
catalogItem(namespace: $namespace, id: $id, locale: $locale) { | |
id | |
namespace | |
title | |
keyImages { | |
type | |
url | |
} | |
categories { | |
path | |
} | |
releaseInfo { | |
platform | |
} | |
customAttributes { | |
key | |
value | |
} | |
dlcItemList { | |
id | |
} | |
mainGameItem { | |
id | |
} | |
offers @include(if: $withOffers) { | |
urlSlug | |
} | |
} | |
} | |
} | |
query fetchPrerequisites($offerParams: [OfferParams]) { | |
Launcher { | |
prerequisites(offerParams: $offerParams) { | |
namespace | |
offerId | |
satisfiesPrerequisites | |
} | |
} | |
} | |
query getLastCatalogUpdate { | |
Catalog { | |
lastCatalogUpdate | |
} | |
} | |
query catalogTagsQuery($namespace: String, $locale: String) { | |
Catalog { | |
tags(namespace: $namespace, locale: $locale, start: 0, count: 999) { | |
elements { | |
aliases | |
id | |
name | |
referenceCount | |
status | |
groupName | |
} | |
} | |
} | |
} | |
query storeTags($groupName: String, $locale: String, $status: String) { | |
Catalog { | |
tags( | |
groupName: $groupName | |
locale: $locale | |
status: $status | |
start: 0 | |
count: 999 | |
storeId: "EGS" | |
) { | |
elements { | |
aliases | |
id | |
name | |
referenceCount | |
status | |
groupName | |
} | |
} | |
} | |
} | |
query getNs($namespace: String!) { | |
Catalog { | |
catalogNs(namespace: $namespace) { | |
ageGating { | |
age | |
country | |
} | |
} | |
} | |
} | |
query getNsWithAccountAuth($namespace: String!) { | |
Catalog { | |
catalogNs(namespace: $namespace) { | |
ageGating { | |
age | |
country | |
} | |
accountAuthorized | |
} | |
} | |
ContentControl { | |
namespace(name: $namespace) { | |
result { | |
allowedToAcquire | |
} | |
} | |
} | |
} | |
query launcherQuery($namespace: String!, $offerId: String!) { | |
Launcher { | |
entitledOfferItems(namespace: $namespace, offerId: $offerId) { | |
namespace | |
offerId | |
entitledToAllItemsInOffer | |
entitledToAnyItemInOffer | |
} | |
} | |
} | |
query countryData($countryCode: String!) { | |
Catalog { | |
countryData(countryCode: $countryCode) { | |
defaultCurrency | |
paymentCurrency | |
currencySymbolPlacement | |
} | |
} | |
} | |
query currencyQuery($currencyId: String!) { | |
Catalog { | |
currency(currencyId: $currencyId) { | |
decimals | |
code | |
symbol | |
} | |
} | |
} | |
query fetchOfferSubItemsQuery($namespace: String!, $offerId: String!) { | |
Catalog { | |
offerSubItems(namespace: $namespace, id: $offerId) { | |
namespace | |
id | |
releaseInfo { | |
appId | |
} | |
categories { | |
path | |
} | |
customAttributes { | |
key | |
value | |
} | |
} | |
} | |
} | |
query getCatalogItem($namespace: String!, $id: String!, $locale: String) { | |
Catalog { | |
catalogItem(namespace: $namespace, id: $id, locale: $locale) { | |
id | |
namespace | |
title | |
keyImages { | |
type | |
url | |
} | |
categories { | |
path | |
} | |
releaseInfo { | |
appId | |
platform | |
compatibleApps | |
} | |
customAttributes { | |
key | |
value | |
} | |
dlcItemList { | |
id | |
} | |
mainGameItem { | |
id | |
} | |
} | |
} | |
} | |
query getNextPoll($accountId: String!, $sandboxId: String!, $locale: String) { | |
RatingsPolls { | |
getNextPoll(accountId: $accountId, sandboxId: $sandboxId, locale: $locale) { | |
id | |
sandboxId | |
accountId | |
status | |
pollDefinitionId | |
answerDefinitionId | |
pollDefinition { | |
id | |
type | |
answers { | |
id | |
pollDefinitionId | |
localizations { | |
text | |
emoji | |
resultEmoji | |
resultTitle | |
resultText | |
} | |
} | |
localizations { | |
text | |
} | |
} | |
offer { | |
offerImage | |
offerTitle | |
} | |
result { | |
answerDefinitionId | |
percentage | |
} | |
averageRating | |
} | |
} | |
} | |
mutation ackPoll($accountId: String!, $sandboxId: String!, $pollDefinitionId: Int!) { | |
RatingsPolls { | |
ackPoll( | |
accountId: $accountId | |
sandboxId: $sandboxId | |
pollDefinitionId: $pollDefinitionId | |
) { | |
success | |
} | |
} | |
} | |
mutation updatePoll($accountId: String!, $sandboxId: String!, $pollDefinitionId: Int!, $pollRequest: PollRequest!) { | |
RatingsPolls { | |
updatePoll( | |
accountId: $accountId | |
sandboxId: $sandboxId | |
pollDefinitionId: $pollDefinitionId | |
pollRequest: $pollRequest | |
) { | |
success | |
} | |
} | |
} | |
mutation updateRating($accountId: String!, $sandboxId: String!, $pollDefinitionId: Int!, $ratingRequest: RatingRequest!) { | |
RatingsPolls { | |
updateRating( | |
accountId: $accountId | |
sandboxId: $sandboxId | |
pollDefinitionId: $pollDefinitionId | |
ratingRequest: $ratingRequest | |
) { | |
success | |
} | |
} | |
} | |
query getStoreConfig($includeCriticReviews: Boolean = false, $locale: String!, $sandboxId: String!, $templateId: String) { | |
Product { | |
sandbox(sandboxId: $sandboxId) { | |
configuration(locale: $locale, templateId: $templateId) { | |
... on StoreConfiguration { | |
configs { | |
banner { | |
description | |
link { | |
src | |
title | |
} | |
title | |
} | |
criticReviews @include(if: $includeCriticReviews) { | |
openCritic | |
} | |
developerDisplayName | |
effectiveDate | |
externalPlatformLaunchOptions { | |
xCloud { | |
linkSrc | |
type | |
} | |
} | |
gameWebsite | |
keyImages { | |
type | |
url | |
alt | |
} | |
legalText | |
pcReleaseDate | |
productDisplayName | |
privacyLink | |
publisherDisplayName | |
shortDescription | |
socialLinks { | |
platform | |
url | |
} | |
supportedAudio | |
supportedText | |
tags(locale: $locale) { | |
id | |
name | |
groupName | |
} | |
technicalRequirements { | |
macos { | |
minimum | |
recommended | |
title | |
} | |
windows { | |
minimum | |
recommended | |
title | |
} | |
} | |
theme { | |
dark { | |
accent | |
theme | |
} | |
light { | |
accent | |
theme | |
} | |
preferredMode | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
query getMappingByPageSlug($pageSlug: String!, $sandboxId: String, $locale: String!) { | |
StorePageMapping { | |
mapping(pageSlug: $pageSlug, sandboxId: $sandboxId) { | |
pageSlug | |
pageType | |
sandboxId | |
productId | |
createdDate | |
updatedDate | |
mappings { | |
cmsSlug | |
offerId | |
offer(locale: $locale) { | |
id | |
namespace | |
effectiveDate | |
expiryDate | |
} | |
prePurchaseOfferId | |
prePurchaseOffer(locale: $locale) { | |
id | |
namespace | |
effectiveDate | |
expiryDate | |
} | |
pageId | |
} | |
} | |
} | |
} | |
query getProductModsConfiguration($sandboxId: String!) { | |
Product { | |
sandbox(sandboxId: $sandboxId) { | |
isModMarketEnabled | |
} | |
} | |
} | |
query getCatalogOffer($sandboxId: String!, $offerId: String!, $locale: String, $country: String!) { | |
Catalog { | |
catalogOffer(namespace: $sandboxId, id: $offerId, locale: $locale) { | |
title | |
id | |
namespace | |
countriesBlacklist | |
countriesWhitelist | |
developerDisplayName | |
description | |
effectiveDate | |
expiryDate | |
viewableDate | |
allowPurchaseForPartialOwned | |
offerType | |
externalLinks { | |
text | |
url | |
} | |
isCodeRedemptionOnly | |
keyImages { | |
type | |
url | |
} | |
longDescription | |
seller { | |
id | |
name | |
} | |
productSlug | |
publisherDisplayName | |
releaseDate | |
urlSlug | |
url | |
tags { | |
id | |
name | |
groupName | |
} | |
items { | |
id | |
namespace | |
releaseInfo { | |
appId | |
platform | |
} | |
} | |
customAttributes { | |
key | |
value | |
} | |
categories { | |
path | |
} | |
catalogNs { | |
ageGatings { | |
ageControl | |
descriptor | |
elements | |
gameRating | |
ratingImage | |
ratingSystem | |
title | |
} | |
displayName | |
mappings { | |
createdDate | |
deletedDate | |
mappings { | |
cmsSlug | |
offerId | |
prePurchaseOfferId | |
} | |
pageSlug | |
pageType | |
productId | |
sandboxId | |
updatedDate | |
} | |
store | |
} | |
offerMappings { | |
createdDate | |
deletedDate | |
mappings { | |
cmsSlug | |
} | |
pageSlug | |
pageType | |
productId | |
sandboxId | |
updatedDate | |
} | |
pcReleaseDate | |
prePurchase | |
approximateReleasePlan { | |
day | |
month | |
quarter | |
year | |
releaseDateType | |
} | |
price(country: $country) { | |
totalPrice { | |
discountPrice | |
originalPrice | |
voucherDiscount | |
discount | |
currencyCode | |
currencyInfo { | |
decimals | |
} | |
fmtPrice(locale: $locale) { | |
originalPrice | |
discountPrice | |
intermediatePrice | |
} | |
} | |
lineOffers { | |
appliedRules { | |
id | |
endDate | |
discountSetting { | |
discountType | |
} | |
} | |
} | |
} | |
allDependNsOfferIds | |
majorNsOffers { | |
categories { | |
path | |
} | |
id | |
namespace | |
title | |
} | |
subNsOffers { | |
categories { | |
path | |
} | |
id | |
namespace | |
price(country: $country) { | |
totalPrice { | |
discountPrice | |
originalPrice | |
voucherDiscount | |
discount | |
currencyCode | |
currencyInfo { | |
decimals | |
} | |
fmtPrice(locale: $locale) { | |
originalPrice | |
discountPrice | |
intermediatePrice | |
} | |
} | |
lineOffers { | |
appliedRules { | |
id | |
endDate | |
discountSetting { | |
discountType | |
} | |
} | |
} | |
} | |
title | |
} | |
status | |
refundType | |
} | |
} | |
} | |
query searchStoreQuery($allowCountries: String, $category: String, $comingSoon: Boolean, $count: Int, $country: String!, $keywords: String, $locale: String, $namespace: String, $itemNs: String, $sortBy: String, $sortDir: String, $start: Int, $tag: String, $releaseDate: String, $withPrice: Boolean = false, $withPromotions: Boolean = false, $priceRange: String, $freeGame: Boolean, $onSale: Boolean, $effectiveDate: String) { | |
Catalog { | |
searchStore( | |
allowCountries: $allowCountries | |
category: $category | |
comingSoon: $comingSoon | |
count: $count | |
country: $country | |
keywords: $keywords | |
locale: $locale | |
namespace: $namespace | |
itemNs: $itemNs | |
sortBy: $sortBy | |
sortDir: $sortDir | |
releaseDate: $releaseDate | |
start: $start | |
tag: $tag | |
priceRange: $priceRange | |
freeGame: $freeGame | |
onSale: $onSale | |
effectiveDate: $effectiveDate | |
) { | |
elements { | |
title | |
id | |
namespace | |
description | |
effectiveDate | |
keyImages { | |
type | |
url | |
} | |
currentPrice | |
seller { | |
id | |
name | |
} | |
productSlug | |
urlSlug | |
url | |
tags { | |
id | |
} | |
items { | |
id | |
namespace | |
} | |
customAttributes { | |
key | |
value | |
} | |
categories { | |
path | |
} | |
catalogNs { | |
mappings(pageType: "productHome") { | |
pageSlug | |
pageType | |
} | |
} | |
offerMappings { | |
pageSlug | |
pageType | |
} | |
developerDisplayName | |
publisherDisplayName | |
price(country: $country) @include(if: $withPrice) { | |
totalPrice { | |
discountPrice | |
originalPrice | |
voucherDiscount | |
discount | |
currencyCode | |
currencyInfo { | |
decimals | |
} | |
fmtPrice(locale: $locale) { | |
originalPrice | |
discountPrice | |
intermediatePrice | |
} | |
} | |
lineOffers { | |
appliedRules { | |
id | |
endDate | |
discountSetting { | |
discountType | |
} | |
} | |
} | |
} | |
promotions(category: $category) @include(if: $withPromotions) { | |
promotionalOffers { | |
promotionalOffers { | |
startDate | |
endDate | |
discountSetting { | |
discountType | |
discountPercentage | |
} | |
} | |
} | |
upcomingPromotionalOffers { | |
promotionalOffers { | |
startDate | |
endDate | |
discountSetting { | |
discountType | |
discountPercentage | |
} | |
} | |
} | |
} | |
prePurchase | |
releaseDate | |
pcReleaseDate | |
viewableDate | |
approximateReleasePlan { | |
day | |
month | |
quarter | |
year | |
releaseDateType | |
} | |
} | |
paging { | |
count | |
total | |
} | |
} | |
} | |
} | |
query getWishlist($start: Int, $count: Int, $sortBy: String) { | |
Wishlist { | |
wishlistItems(start: $start, count: $count, sortBy: $sortBy) { | |
elements { | |
id | |
order | |
created | |
offerId | |
updated | |
namespace | |
} | |
} | |
} | |
} | |
query getWishlistQuery($country: String!, $locale: String) { | |
Wishlist { | |
wishlistItems { | |
elements { | |
id | |
order | |
created | |
offerId | |
updated | |
namespace | |
offer(locale: $locale) { | |
productSlug | |
urlSlug | |
title | |
id | |
namespace | |
offerType | |
expiryDate | |
status | |
isCodeRedemptionOnly | |
description | |
effectiveDate | |
pcReleaseDate | |
releaseDate | |
prePurchase | |
keyImages { | |
type | |
url | |
} | |
seller { | |
id | |
name | |
} | |
productSlug | |
urlSlug | |
items { | |
id | |
namespace | |
} | |
customAttributes { | |
key | |
value | |
} | |
developerDisplayName | |
publisherDisplayName | |
catalogNs { | |
mappings(pageType: "productHome") { | |
pageSlug | |
pageType | |
} | |
} | |
offerMappings { | |
pageSlug | |
pageType | |
} | |
categories { | |
path | |
} | |
tags { | |
id | |
groupName | |
name | |
} | |
price(country: $country) { | |
totalPrice { | |
discountPrice | |
originalPrice | |
voucherDiscount | |
discount | |
fmtPrice(locale: $locale) { | |
originalPrice | |
discountPrice | |
intermediatePrice | |
} | |
currencyCode | |
currencyInfo { | |
decimals | |
symbol | |
} | |
} | |
lineOffers { | |
appliedRules { | |
id | |
endDate | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
query getBulkWishlistQuery($bulkQueryRequest: [WishRequest]!) { | |
Wishlist { | |
bulkQueryWishOffers(bulkQueryRequest: $bulkQueryRequest) { | |
elements { | |
id | |
order | |
created | |
offerId | |
updated | |
namespace | |
} | |
} | |
} | |
} | |
mutation addToWishlistMutation($namespace: String!, $offerId: String!, $country: String!, $locale: String) { | |
Wishlist { | |
addToWishlist(namespace: $namespace, offerId: $offerId) { | |
wishlistItem { | |
id | |
order | |
created | |
offerId | |
updated | |
namespace | |
isFirstTime | |
offer(locale: $locale) { | |
productSlug | |
urlSlug | |
title | |
id | |
namespace | |
offerType | |
expiryDate | |
status | |
isCodeRedemptionOnly | |
description | |
effectiveDate | |
pcReleaseDate | |
releaseDate | |
prePurchase | |
keyImages { | |
type | |
url | |
} | |
seller { | |
id | |
name | |
} | |
productSlug | |
urlSlug | |
items { | |
id | |
namespace | |
} | |
customAttributes { | |
key | |
value | |
} | |
developerDisplayName | |
publisherDisplayName | |
catalogNs { | |
mappings(pageType: "productHome") { | |
pageSlug | |
pageType | |
} | |
} | |
offerMappings { | |
pageSlug | |
pageType | |
} | |
categories { | |
path | |
} | |
tags { | |
id | |
groupName | |
name | |
} | |
price(country: $country) { | |
totalPrice { | |
discountPrice | |
originalPrice | |
voucherDiscount | |
discount | |
fmtPrice(locale: $locale) { | |
originalPrice | |
discountPrice | |
intermediatePrice | |
} | |
currencyCode | |
currencyInfo { | |
decimals | |
symbol | |
} | |
} | |
lineOffers { | |
appliedRules { | |
id | |
endDate | |
} | |
} | |
} | |
} | |
} | |
success | |
} | |
} | |
} | |
mutation removeFromWishlistMutation($namespace: String!, $offerId: String!, $operation: RemoveOperation!) { | |
Wishlist { | |
removeFromWishlist( | |
namespace: $namespace | |
offerId: $offerId | |
operation: $operation | |
) { | |
success | |
} | |
} | |
} | |
query getWishlistToast($country: String!, $locale: String) { | |
Wishlist { | |
wishlistToast { | |
offers { | |
releaseCycle { | |
namespace | |
offerId | |
currentStatus | |
previousStatus | |
offer(locale: $locale) { | |
productSlug | |
urlSlug | |
title | |
id | |
namespace | |
offerType | |
expiryDate | |
status | |
isCodeRedemptionOnly | |
description | |
effectiveDate | |
pcReleaseDate | |
releaseDate | |
prePurchase | |
keyImages { | |
type | |
url | |
} | |
seller { | |
id | |
name | |
} | |
productSlug | |
urlSlug | |
items { | |
id | |
namespace | |
} | |
customAttributes { | |
key | |
value | |
} | |
developerDisplayName | |
publisherDisplayName | |
catalogNs { | |
mappings(pageType: "productHome") { | |
pageSlug | |
pageType | |
} | |
} | |
offerMappings { | |
pageSlug | |
pageType | |
} | |
categories { | |
path | |
} | |
tags { | |
id | |
groupName | |
name | |
} | |
price(country: $country) { | |
totalPrice { | |
discountPrice | |
originalPrice | |
voucherDiscount | |
discount | |
fmtPrice(locale: $locale) { | |
originalPrice | |
discountPrice | |
intermediatePrice | |
} | |
currencyCode | |
currencyInfo { | |
decimals | |
symbol | |
} | |
} | |
lineOffers { | |
appliedRules { | |
id | |
endDate | |
} | |
} | |
} | |
} | |
} | |
onSale { | |
namespace | |
offerId | |
promotionRuleId | |
saleExpirationDate | |
offer(locale: $locale) { | |
productSlug | |
urlSlug | |
title | |
id | |
namespace | |
offerType | |
expiryDate | |
status | |
isCodeRedemptionOnly | |
description | |
effectiveDate | |
pcReleaseDate | |
releaseDate | |
prePurchase | |
keyImages { | |
type | |
url | |
} | |
seller { | |
id | |
name | |
} | |
productSlug | |
urlSlug | |
items { | |
id | |
namespace | |
} | |
customAttributes { | |
key | |
value | |
} | |
developerDisplayName | |
publisherDisplayName | |
catalogNs { | |
mappings(pageType: "productHome") { | |
pageSlug | |
pageType | |
} | |
} | |
offerMappings { | |
pageSlug | |
pageType | |
} | |
categories { | |
path | |
} | |
tags { | |
id | |
groupName | |
name | |
} | |
price(country: $country) { | |
totalPrice { | |
discountPrice | |
originalPrice | |
voucherDiscount | |
discount | |
fmtPrice(locale: $locale) { | |
originalPrice | |
discountPrice | |
intermediatePrice | |
} | |
currencyCode | |
currencyInfo { | |
decimals | |
symbol | |
} | |
} | |
lineOffers { | |
appliedRules { | |
id | |
endDate | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
mutation ackWishlistToastMutation($ackWishlistToastRequest: AckWishlistToastRequest) { | |
Wishlist { | |
ackWishlistToast(ackWishlistToastRequest: $ackWishlistToastRequest) { | |
success | |
} | |
} | |
} | |
query getVideo($mediaRefId: String!) { | |
Media { | |
getMediaRef(mediaRefId: $mediaRefId) { | |
accountId | |
outputs { | |
duration | |
url | |
width | |
height | |
key | |
contentType | |
} | |
namespace | |
} | |
} | |
} | |
query getVideoById($videoId: String!, $locale: String!) { | |
Video { | |
fetchVideoByLocale(videoId: $videoId, locale: $locale) { | |
recipe | |
mediaRefId | |
} | |
} | |
} | |
0% { | |
transform: rotate(0deg); | |
} | |
100% { | |
transform: rotate(360deg); | |
} | |
query getProductHomeConfig($locale: String!, $sandboxId: String!, $templateId: String) { | |
Product { | |
sandbox(sandboxId: $sandboxId) { | |
configuration(locale: $locale, templateId: $templateId) { | |
... on HomeConfiguration { | |
configs { | |
keyImages { | |
... on KeyImage { | |
type | |
url | |
alt | |
} | |
... on Video { | |
type | |
url | |
alt | |
} | |
} | |
longDescription | |
} | |
} | |
} | |
} | |
} | |
} | |
query getEntitledOfferItems($sandboxId: String!, $offerId: String!) { | |
Launcher { | |
entitledOfferItems(namespace: $sandboxId, offerId: $offerId) { | |
namespace | |
offerId | |
entitledToAllItemsInOffer | |
entitledToAnyItemInOffer | |
} | |
} | |
} | |
query getCategories($locale: String) { | |
StoreCategory { | |
categories(locale: $locale) { | |
_slug | |
pageData { | |
description | |
title | |
tagName | |
} | |
} | |
} | |
} | |
query getCategory($locale: String, $slug: String) { | |
StoreCategory { | |
category(locale: $locale, slug: $slug) { | |
_slug | |
pageData { | |
description | |
title | |
tagName | |
} | |
seo { | |
title | |
description | |
keywords | |
image { | |
src | |
altText | |
} | |
twitter { | |
title | |
description | |
} | |
og { | |
title | |
description | |
image { | |
src | |
alt | |
} | |
} | |
} | |
faq { | |
questionAndAnswers { | |
answer | |
question | |
} | |
title | |
} | |
} | |
} | |
} | |
query browseLayoutQuery($locale: String!, $country: String!) { | |
Storefront { | |
browseLayout(locale: $locale) { | |
_locale | |
_slug | |
__typename | |
_activeDate | |
_urlPattern | |
lastModified | |
_noIndex | |
data { | |
offerBlades { | |
offerType | |
topicId | |
hideTitle | |
offerPresentation | |
groupStyle | |
type | |
title | |
titleIcon | |
cardOrder | |
link { | |
src | |
linkText | |
} | |
offers { | |
id | |
namespace | |
offer { | |
title | |
id | |
namespace | |
description | |
keyImages { | |
type | |
url | |
} | |
seller { | |
id | |
name | |
} | |
productSlug | |
urlSlug | |
items { | |
id | |
namespace | |
} | |
customAttributes { | |
key | |
value | |
} | |
categories { | |
path | |
} | |
catalogNs { | |
mappings(pageType: "productHome") { | |
pageSlug | |
pageType | |
} | |
} | |
mappings { | |
pageSlug | |
pageType | |
} | |
price(country: $country) { | |
totalPrice { | |
discountPrice | |
originalPrice | |
voucherDiscount | |
discount | |
fmtPrice(locale: $locale) { | |
originalPrice | |
discountPrice | |
intermediatePrice | |
} | |
currencyCode | |
currencyInfo { | |
decimals | |
symbol | |
} | |
} | |
lineOffers { | |
appliedRules { | |
id | |
endDate | |
} | |
} | |
} | |
releaseDate | |
effectiveDate | |
prePurchase | |
developerDisplayName | |
publisherDisplayName | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
query getStoreTagsByGroupName($storeId: String, $groupName: String, $locale: String, $status: String = "ACTIVE", $start: Int = 0, $count: Int = 999, $sortBy: String = "referenceCount", $sortDir: String = "DESC") { | |
Catalog { | |
tags( | |
storeId: $storeId | |
groupName: $groupName | |
locale: $locale | |
status: $status | |
start: $start | |
count: $count | |
sortBy: $sortBy | |
sortDir: $sortDir | |
) { | |
elements { | |
aliases | |
id | |
name | |
referenceCount | |
status | |
groupName | |
} | |
} | |
} | |
} | |
query getCatalogCurrencyInfo($currencyId: String!) { | |
Catalog { | |
currency(currencyId: $currencyId) { | |
decimals | |
code | |
symbol | |
} | |
} | |
} | |
query getCatalogCountryInfo($countryCode: String!) { | |
Catalog { | |
countryData(countryCode: $countryCode) { | |
defaultCurrency | |
paymentCurrency | |
currencySymbolPlacement | |
} | |
} | |
} | |
query getCartItems { | |
Cart { | |
cartItems { | |
elements { | |
id | |
namespace | |
offerId | |
quantity | |
created | |
updated | |
} | |
} | |
} | |
} | |
query getOffersValidation($offers: [OfferToValidate]!) { | |
Entitlements { | |
cartOffersValidation(offerParams: $offers) { | |
conflictingOffers { | |
offerId | |
namespace | |
conflictingOffers { | |
namespace | |
offerId | |
} | |
} | |
missingPrerequisites { | |
namespace | |
offerId | |
missingPrerequisiteItems { | |
itemId | |
namespace | |
} | |
} | |
fullyOwnedOffers { | |
namespace | |
offerId | |
} | |
possiblePartialUpgradeOffers { | |
namespace | |
offerId | |
} | |
unablePartiallyUpgradeOffers { | |
namespace | |
offerId | |
} | |
} | |
} | |
} | |
query fetchCommunicationSettings($identity: String!, $settingKeyPrefix: String!) { | |
Communication { | |
settings(identity: $identity, settingKeyPrefix: $settingKeyPrefix) { | |
settings { | |
settingKey | |
settingValue | |
} | |
} | |
} | |
} | |
mutation updateSettingMutation($identity: String!, $settingKey: String!, $settingValue: Boolean!) { | |
Communication { | |
updateSetting( | |
identity: $identity | |
settingKey: $settingKey | |
settingValue: $settingValue | |
) { | |
success | |
} | |
} | |
} | |
query thankYouLayoutQuery($locale: String!) { | |
Storefront { | |
thankYouLayout(locale: $locale) { | |
_locale | |
_slug | |
__typename | |
_activeDate | |
_urlPattern | |
lastModified | |
_noIndex | |
data { | |
offerBlades { | |
offerType | |
topicId | |
hideTitle | |
offerPresentation | |
groupStyle | |
type | |
title | |
titleIcon | |
cardOrder | |
link { | |
src | |
linkText | |
} | |
offers { | |
id | |
namespace | |
} | |
} | |
} | |
} | |
} | |
} | |
query getCountryRatingSystems($countryCode: String!) { | |
Catalog { | |
countryData(countryCode: $countryCode) { | |
ratingSystems | |
} | |
} | |
} | |
query getCatalogOfferSubItems($sandboxId: String!, $offerId: String!, $locale: String!) { | |
Catalog { | |
offerSubItems(namespace: $sandboxId, id: $offerId, locale: $locale) { | |
namespace | |
id | |
releaseInfo { | |
appId | |
platform | |
} | |
ageGatings { | |
ratingSystem | |
ageControl | |
gameRating | |
ratingImage | |
title | |
descriptor | |
element | |
} | |
} | |
} | |
} | |
mutation removeFromCart($cartItemId: String!) { | |
Cart { | |
removeFromCart(cartItemId: $cartItemId) { | |
success | |
} | |
} | |
} | |
query getCouponsQuery($currencyCountry: String!, $identityId: String!, $locale: String, $merchantGroup: String!, $count: Int = 50) { | |
CodeRedemption { | |
coupons( | |
currencyCountry: $currencyCountry | |
identityId: $identityId | |
includeSalesEventInfo: true | |
merchantGroup: $merchantGroup | |
count: $count | |
) { | |
code | |
codeStatus | |
codeType | |
consumptionMetadata { | |
amountDisplay { | |
amount | |
currency | |
placement | |
symbol | |
} | |
minSalesPriceDisplay { | |
amount | |
currency | |
placement | |
symbol | |
} | |
} | |
endDate | |
namespace | |
salesEvent(locale: $locale) { | |
id | |
eventName | |
eventSlug | |
voucherImages { | |
type | |
url | |
} | |
voucherLink | |
voucherName | |
} | |
startDate | |
} | |
} | |
} | |
query getBulkOffersSubtotal($lineOffers: [NsOffersLineOfferReq]!, $country: String!, $merchantGroup: String = "EGS_MKT", $voucherCode: String = null) { | |
PriceEngine { | |
bulkNsOffersPrice( | |
country: $country | |
calculateTax: false | |
merchantGroup: $merchantGroup | |
lineOffers: $lineOffers | |
voucherCode: $voucherCode | |
) { | |
country | |
totalPrice { | |
currencyCode | |
originalPrice | |
discountPrice | |
discount | |
discountPercentage | |
voucherDiscount | |
voucherDiscountPercentage | |
currencyInfo { | |
decimals | |
} | |
} | |
lineOffers { | |
offerId | |
namespace | |
price { | |
discountPrice | |
voucherDiscount | |
} | |
voucherNotApplyReason | |
} | |
voucherNotApplyReason | |
} | |
} | |
} | |
query getSalesEventDataById($salesEventId: String!, $locale: String) { | |
PriceEngine { | |
salesEvent(salesEventId: $salesEventId, locale: $locale) { | |
currencyRewards { | |
currency { | |
code | |
} | |
discountPercentage | |
minSalePrice | |
reward | |
} | |
endDate | |
eventSlug | |
grantInitialVoucher | |
id | |
voucherApplyMode | |
voucherDiscountType | |
voucherImages { | |
type | |
url | |
} | |
voucherLink | |
} | |
} | |
} | |
query getLatestEulaAsMarkdownQuery($eulaId: String!, $accountId: String, $locale: String!) { | |
Eula { | |
getLatestEulaAsMarkdown(key: $eulaId, accountId: $accountId, locale: $locale) { | |
title | |
body | |
locale | |
version | |
accepted | |
} | |
} | |
} | |
query getSandboxData($sandboxId: String!) { | |
Product { | |
sandbox(sandboxId: $sandboxId) { | |
productId | |
isModMarketSuspended | |
moddingGuidesLink | |
gameDeveloperContactLink | |
product { | |
supportedTypes | |
} | |
} | |
} | |
} | |
query getProductSandboxes($productId: String!, $sandboxFilter: [String!], $sandboxType: String) { | |
Product { | |
productSandboxes( | |
productId: $productId | |
sandboxFilter: $sandboxFilter | |
sandboxType: $sandboxType | |
) { | |
id | |
name | |
purposeTypes | |
} | |
} | |
} | |
query getAccountEntitlements($accountId: String!, $namespace: String!) { | |
Entitlements { | |
accountEntitlements( | |
accountId: $accountId | |
params: {namespace: $namespace, active: true, count: 1, consumable: false, entitlementType: "AUDIENCE,ENTITLEMENT,EXECUTABLE"} | |
) { | |
count | |
} | |
} | |
} | |
query getContentControl($sandboxId: String!) { | |
ContentControl { | |
namespace(name: $sandboxId) { | |
result { | |
allowedToAcquire | |
} | |
} | |
} | |
} | |
query getControls($pin: String!) { | |
ContentControl { | |
verifyPin(pin: $pin) { | |
pinCorrect | |
err | |
} | |
} | |
} | |
query getProductFaqConfig($locale: String!, $sandboxId: String!, $templateId: String) { | |
Product { | |
sandbox(sandboxId: $sandboxId) { | |
configuration(locale: $locale, templateId: $templateId) { | |
... on FaqConfiguration { | |
configs { | |
faq | |
} | |
} | |
} | |
} | |
} | |
} | |
query getCriticReviews($sku: String!, $includeMeta: Boolean = false, $includeTopReviews: Boolean = false) { | |
OpenCritic { | |
productReviews(sku: $sku) { | |
id @include(if: $includeMeta) | |
name @include(if: $includeMeta) | |
openCriticScore @include(if: $includeMeta) | |
reviewCount @include(if: $includeMeta) | |
percentRecommended @include(if: $includeMeta) | |
openCriticUrl @include(if: $includeMeta) | |
award @include(if: $includeMeta) | |
topReviews @include(if: $includeTopReviews) { | |
externalUrl | |
snippet | |
language | |
author | |
ScoreFormat { | |
id | |
} | |
outletName | |
displayScore | |
} | |
} | |
} | |
} | |
query getProductInBundles($allowCountries: String, $country: String!, $locale: String, $itemNs: String) { | |
Catalog { | |
searchStore( | |
allowCountries: $allowCountries | |
category: "bundles/games" | |
country: $country | |
locale: $locale | |
itemNs: $itemNs | |
) { | |
elements { | |
id | |
namespace | |
productSlug | |
customAttributes { | |
key | |
value | |
} | |
seller { | |
id | |
} | |
countriesBlacklist | |
countriesWhitelist | |
expiryDate | |
developerDisplayName | |
publisherDisplayName | |
} | |
paging { | |
count | |
total | |
} | |
} | |
} | |
} | |
query launcherQuery($namespace: String!, $offerId: String!) { | |
Launcher { | |
entitledOfferItems(namespace: $namespace, offerId: $offerId) { | |
namespace | |
offerId | |
entitledToAllItemsInOffer | |
entitledToAnyItemInOffer | |
} | |
} | |
} | |
query productIdForSandbox($sandboxId: String!) { | |
Product { | |
sandbox(sandboxId: $sandboxId) { | |
product { | |
id | |
} | |
} | |
} | |
} | |
query productSlugForSandbox($sandboxId: String!) { | |
Product { | |
sandbox(sandboxId: $sandboxId) { | |
product { | |
slug | |
} | |
} | |
} | |
} | |
query getIsModMarketEnabledForProductsQuery($productIds: [String]!) { | |
Mod { | |
isModMarketEnabledForProducts(productIds: $productIds) { | |
value | |
productId | |
} | |
} | |
} | |
mutation addToCart($namespace: String!, $offerId: String!) { | |
Cart { | |
addToCart(namespace: $namespace, offerId: $offerId) { | |
success | |
cartItem { | |
id | |
offerId | |
namespace | |
} | |
} | |
} | |
} | |
query getProductResult($sandboxId: String!, $locale: String!) { | |
RatingsPolls { | |
getProductResult(sandboxId: $sandboxId, locale: $locale) { | |
averageRating | |
pollResult { | |
id | |
pollDefinitionId | |
localizations { | |
text | |
emoji | |
resultEmoji | |
resultTitle | |
resultText | |
} | |
total | |
} | |
} | |
} | |
} | |
query marketingCMS($locale: String!, $slug: String!) { | |
StoreCMSPage { | |
__typename | |
modules(locale: $locale, slug: $slug) { | |
title | |
layout { | |
section { | |
topBanner { | |
cta { | |
src | |
linkText | |
} | |
subTitle | |
ribbonColor | |
ribbonText | |
link { | |
src | |
linkText | |
} | |
logo { | |
src | |
altText | |
} | |
title | |
backgroundVideo { | |
sources { | |
src | |
type | |
} | |
loop | |
autoplay | |
muted | |
} | |
backgroundImage { | |
src | |
altText | |
} | |
} | |
infoCards { | |
cards { | |
title | |
subTitle | |
image { | |
altText | |
src | |
} | |
} | |
} | |
interactiveCards { | |
cards { | |
backgroundImage { | |
altText | |
src | |
} | |
backgroundColors | |
title | |
ctaLink { | |
linkText | |
src | |
} | |
ctaImage { | |
src | |
altText | |
} | |
isInset | |
} | |
} | |
faq { | |
title | |
list { | |
question | |
answer | |
} | |
} | |
storeForm { | |
submitText | |
subTitle | |
link { | |
src | |
linkText | |
} | |
title | |
formField { | |
component | |
label | |
id | |
required | |
validation | |
maxLength | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
query marketingMeta($locale: String!, $slug: String!) { | |
StoreCMSPage { | |
modules(locale: $locale, slug: $slug) { | |
seo { | |
title | |
description | |
keywords | |
image { | |
src | |
altText | |
} | |
twitter { | |
title | |
description | |
} | |
og { | |
title | |
description | |
image { | |
src | |
alt | |
width | |
height | |
} | |
} | |
} | |
} | |
} | |
} | |
query modDetailsQuery($sandboxId: String!, $modSlug: String!, $locale: String, $isUserAuthorized: Boolean!) { | |
Mod { | |
sandbox(sandboxId: $sandboxId) { | |
mainGame(locale: $locale) { | |
id | |
namespace | |
title | |
description | |
keyImages { | |
type | |
url | |
} | |
} | |
product { | |
mod(modSlug: $modSlug, locale: $locale) { | |
title | |
appName | |
shortDescription | |
longDescriptionMarkdown | |
createdBy | |
tags { | |
name | |
} | |
socialNetworks { | |
networkType | |
link | |
} | |
createdAt | |
updatedAt | |
publishedAt | |
platforms | |
images { | |
type | |
url | |
} | |
like { | |
count | |
isLiked @include(if: $isUserAuthorized) | |
} | |
installs | |
modSlug | |
itemId | |
offerId | |
artifactId | |
namespace | |
} | |
} | |
} | |
} | |
} | |
query modsQuery($sandboxId: String!, $locale: String, $count: Int, $sortBy: String, $start: Int, $sortDir: String, $tags: String, $searchTemplate: String, $isRecommended: Boolean, $isUserAuthorized: Boolean!) { | |
Mod { | |
sandbox(sandboxId: $sandboxId) { | |
product { | |
mods( | |
params: {count: $count, start: $start, tags: $tags, sortBy: $sortBy, sortDir: $sortDir, searchTemplate: $searchTemplate, isRecommended: $isRecommended} | |
locale: $locale | |
) { | |
elements { | |
title | |
artifactId | |
modSlug | |
images { | |
url | |
type | |
} | |
offerId | |
itemId | |
namespace | |
createdBy | |
installs | |
like { | |
count | |
isLiked @include(if: $isUserAuthorized) | |
} | |
} | |
paging { | |
total | |
count | |
start | |
} | |
} | |
} | |
} | |
} | |
} | |
query modsAutocompleteQuery($sandboxId: String!, $locale: String, $count: Int, $sortBy: String, $start: Int, $sortDir: String, $tags: String, $searchTemplate: String, $isRecommended: Boolean) { | |
Mod { | |
sandbox(sandboxId: $sandboxId) { | |
product { | |
mods( | |
params: {count: $count, start: $start, tags: $tags, sortBy: $sortBy, sortDir: $sortDir, searchTemplate: $searchTemplate, isRecommended: $isRecommended} | |
locale: $locale | |
) { | |
elements { | |
title | |
modSlug | |
offerId | |
namespace | |
} | |
} | |
} | |
} | |
} | |
} | |
mutation setLikeModsMutation($namespace: String!, $targetId: String!, $storeName: String!) { | |
Review { | |
setLike(namespace: $namespace, targetId: $targetId, storeName: $storeName) { | |
success | |
} | |
} | |
} | |
mutation unsetLikeModsMutation($namespace: String!, $targetId: String!, $storeName: String!) { | |
Review { | |
unsetLike(namespace: $namespace, targetId: $targetId, storeName: $storeName) { | |
success | |
} | |
} | |
} | |
mutation reportModMutation($namespace: String!, $targetId: String!, $storeName: String!, $abuseType: String!) { | |
Review { | |
setReport( | |
namespace: $namespace | |
targetId: $targetId | |
storeName: $storeName | |
abuseType: $abuseType | |
) { | |
id | |
identityId | |
topicId | |
topicType | |
content | |
status | |
abuseType | |
createdAt | |
lastModifiedAt | |
namespace | |
storeName | |
success | |
} | |
} | |
} | |
query getProductSlug($sandboxId: String!) { | |
Product { | |
sandbox(sandboxId: $sandboxId) { | |
product { | |
slug | |
} | |
} | |
} | |
} | |
query getCatalogTagsByNamespace($namespace: String!, $locale: String!, $start: Int = 0, $count: Int = 999) { | |
Catalog { | |
tags(namespace: $namespace, locale: $locale, start: $start, count: $count) { | |
elements { | |
aliases | |
id | |
name | |
referenceCount | |
status | |
groupName | |
} | |
} | |
} | |
} | |
query mods($sandboxId: String!, $locale: String, $count: Int, $sortBy: String, $start: Int, $sortDir: String, $tags: String, $searchTemplate: String, $isRecommended: Boolean, $isUserAuthorized: Boolean!) { | |
Mod { | |
sandbox(sandboxId: $sandboxId) { | |
product { | |
mods( | |
params: {count: $count, start: $start, tags: $tags, sortBy: $sortBy, sortDir: $sortDir, searchTemplate: $searchTemplate, isRecommended: $isRecommended} | |
locale: $locale | |
) { | |
elements { | |
title | |
artifactId | |
modSlug | |
images { | |
url | |
type | |
} | |
offerId | |
itemId | |
namespace | |
createdBy | |
installs | |
like { | |
count | |
isLiked @include(if: $isUserAuthorized) | |
} | |
} | |
paging { | |
total | |
count | |
start | |
} | |
} | |
} | |
} | |
} | |
} | |
query playerProfile($epicAccountId: String!, $locale: String!, $page: Int!) { | |
PlayerProfile { | |
playerProfile(epicAccountId: $epicAccountId) { | |
epicAccountId | |
displayName | |
privacy { | |
accessLevel | |
} | |
avatar { | |
small | |
medium | |
large | |
} | |
relationship | |
achievementsSummaries { | |
... on PlayerAchievementResponseSuccess { | |
data { | |
totalUnlocked | |
totalXP | |
sandboxId | |
baseOfferForSandbox(locale: $locale) { | |
keyImages { | |
url | |
type | |
alt | |
} | |
} | |
product(locale: $locale) { | |
name | |
slug | |
} | |
productAchievements(locale: $locale) { | |
totalAchievements | |
totalProductXP | |
} | |
playerAwards { | |
awardType | |
unlockedDateTime | |
achievementSetId | |
} | |
} | |
} | |
... on ServiceError { | |
status | |
message | |
} | |
} | |
friendsSummaries(page: $page) { | |
... on PlayerFriendResponseSuccess { | |
data { | |
page | |
nextPage | |
previousPage | |
totalPages | |
totalItems | |
content { | |
epicAccountId | |
displayName | |
avatar { | |
small | |
medium | |
large | |
} | |
} | |
} | |
} | |
... on ServiceError { | |
status | |
message | |
} | |
} | |
} | |
} | |
ContentControl { | |
get { | |
... on ContentControlGetSuccess { | |
status | |
data { | |
controlsEnabled | |
maxEpicProfilePrivacy | |
} | |
} | |
} | |
} | |
Friends { | |
summary { | |
outgoing { | |
accountId | |
} | |
blocklist { | |
accountId | |
} | |
} | |
} | |
} | |
query Product($productId: String!, $sandboxFilter: [String!]) { | |
Product { | |
productSandboxes(productId: $productId, sandboxFilter: $sandboxFilter) { | |
id | |
productId | |
name | |
defaultPublic | |
} | |
} | |
} | |
query playerProfileAchievementsByProductId($epicAccountId: String!, $productId: String!) { | |
PlayerProfile { | |
playerProfile(epicAccountId: $epicAccountId) { | |
epicAccountId | |
displayName | |
relationship | |
avatar { | |
small | |
medium | |
large | |
} | |
productAchievements(productId: $productId) { | |
... on PlayerProductAchievementsResponseSuccess { | |
data { | |
epicAccountId | |
sandboxId | |
totalXP | |
totalUnlocked | |
achievementSets { | |
achievementSetId | |
isBase | |
totalUnlocked | |
totalXP | |
} | |
playerAwards { | |
awardType | |
unlockedDateTime | |
achievementSetId | |
} | |
playerAchievements { | |
playerAchievement { | |
achievementName | |
epicAccountId | |
progress | |
sandboxId | |
unlocked | |
unlockDate | |
XP | |
achievementSetId | |
isBase | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
mutation updateProfilePrivacy($epicAccountId: String!, $accessLevel: PrivacyLevelType!) { | |
PlayerPrivacy { | |
updatePlayerPrivacy(accessLevel: $accessLevel, epicAccountId: $epicAccountId) { | |
privacy { | |
accessLevel | |
} | |
} | |
} | |
} | |
0% { transform: translateX(0) } | |
25% { transform: translateX(5px) } | |
50% { transform: translateX(-5px) } | |
75% { transform: translateX(5px) } | |
100% { transform: translateX(0) } | |
mutation updateContentControl($pin: String!, $maxEpicProfilePrivacy: String!) { | |
ContentControl { | |
update(payload: {pin: $pin, maxEpicProfilePrivacy: $maxEpicProfilePrivacy}) { | |
... on ServiceError { | |
status | |
message | |
} | |
... on ContentControlUpdateSuccess { | |
data { | |
principalId | |
controlsEnabled | |
maxEpicProfilePrivacy | |
} | |
} | |
} | |
} | |
} | |
mutation inviteFriend($accountId: String!) { | |
Friends { | |
invite(friendToInvite: $accountId) { | |
success | |
message | |
} | |
} | |
} | |
mutation dismissInvite($accountId: String!) { | |
Friends { | |
deleteFriend(friendToDelete: $accountId) { | |
success | |
message | |
} | |
} | |
} | |
mutation blockAccount($accountId: String!) { | |
Friends { | |
block(friendToBlock: $accountId) { | |
success | |
message | |
} | |
} | |
} | |
mutation unblockAccount($accountId: String!) { | |
Friends { | |
unblock(friendToUnblock: $accountId) { | |
success | |
message | |
} | |
} | |
} | |
query myAchievementsSummary($epicAccountId: String!, $locale: String!) { | |
PlayerProfile { | |
playerProfile(epicAccountId: $epicAccountId) { | |
achievementsSummaries { | |
... on PlayerAchievementResponseSuccess { | |
data { | |
totalUnlocked | |
totalXP | |
sandboxId | |
baseOfferForSandbox(locale: $locale) { | |
keyImages { | |
url | |
type | |
alt | |
} | |
} | |
product(locale: $locale) { | |
name | |
slug | |
} | |
productAchievements(locale: $locale) { | |
totalAchievements | |
totalProductXP | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
query getSalesEventData($locale: String) { | |
PriceEngine { | |
salesEvents(locale: $locale) { | |
endDate | |
eventSlug | |
grantInitialVoucher | |
id | |
voucherImages { | |
type | |
url | |
} | |
voucherLink | |
} | |
} | |
} | |
mutation claimFreeCouponMutation($country: String!, $identityId: String!, $language: String!, $salesEventId: String!, $locale: String) { | |
CodeRedemption { | |
claimFreeCoupon( | |
country: $country | |
identityId: $identityId | |
language: $language | |
salesEventId: $salesEventId | |
) { | |
code | |
codeStatus | |
codeType | |
consumptionMetadata { | |
discountPercentage | |
amountDisplay { | |
amount | |
currency | |
placement | |
symbol | |
} | |
minSalesPriceDisplay { | |
amount | |
currency | |
placement | |
symbol | |
} | |
} | |
endDate | |
namespace | |
salesEvent(locale: $locale) { | |
eventSlug | |
voucherImages { | |
type | |
url | |
} | |
voucherLink | |
} | |
startDate | |
} | |
} | |
} | |
query getFreeCouponsRemainingQuery($identityId: String!, $salesEventId: String!) { | |
PriceEngine { | |
salesEvent(salesEventId: $salesEventId) { | |
freeCouponsRemaining(identityId: $identityId) | |
} | |
} | |
} | |
query storefrontDiscover($layoutSlug: String, $locale: String!, $country: String!, $layoutType: LayoutType) { | |
Storefront { | |
discoverLayout(locale: $locale, slug: $layoutSlug, layoutType: $layoutType) { | |
affiliateId | |
modules { | |
... on PageHeader { | |
__typename | |
eyebrow | |
type | |
title | |
description | |
banner { | |
src | |
altText | |
} | |
} | |
... on StorefrontBreaker { | |
__typename | |
type | |
title | |
titleGroup | |
description | |
backgroundColors | |
layout | |
action | |
couponSlug | |
link { | |
src | |
linkText | |
} | |
image { | |
src | |
alt | |
} | |
eyebrow | |
offer { | |
namespace | |
id | |
} | |
videoRecipe | |
} | |
... on StorefrontFreeGames { | |
__typename | |
type | |
title | |
} | |
... on StorefrontCardGroup { | |
__typename | |
type | |
title | |
offerPresentation | |
offerType | |
titleIcon | |
groupStyle | |
hideTitle | |
cardType | |
link { | |
src | |
linkText | |
} | |
offers { | |
namespace | |
id | |
offer { | |
title | |
id | |
namespace | |
description | |
keyImages { | |
type | |
url | |
} | |
seller { | |
id | |
name | |
} | |
productSlug | |
urlSlug | |
items { | |
id | |
namespace | |
} | |
customAttributes { | |
key | |
value | |
} | |
categories { | |
path | |
} | |
catalogNs { | |
mappings(pageType: "productHome") { | |
pageSlug | |
pageType | |
} | |
} | |
offerMappings { | |
pageSlug | |
pageType | |
} | |
price(country: $country) { | |
totalPrice { | |
discountPrice | |
originalPrice | |
voucherDiscount | |
discount | |
fmtPrice(locale: $locale) { | |
originalPrice | |
discountPrice | |
intermediatePrice | |
} | |
currencyCode | |
currencyInfo { | |
decimals | |
symbol | |
} | |
} | |
lineOffers { | |
appliedRules { | |
id | |
endDate | |
} | |
} | |
} | |
releaseDate | |
pcReleaseDate | |
effectiveDate | |
viewableDate | |
approximateReleasePlan { | |
day | |
month | |
quarter | |
year | |
releaseDateType | |
} | |
prePurchase | |
countriesBlacklist | |
countriesWhitelist | |
developerDisplayName | |
publisherDisplayName | |
} | |
} | |
} | |
... on StorefrontSubModules { | |
__typename | |
id | |
type | |
title | |
modules { | |
... on StorefrontBreaker { | |
id | |
type | |
title | |
titleGroup | |
description | |
backgroundColors | |
layout | |
action | |
couponSlug | |
link { | |
src | |
linkText | |
} | |
image { | |
src | |
alt | |
} | |
regionRestrictions { | |
filterType | |
appliedCountries | |
} | |
offer { | |
namespace | |
id | |
} | |
videoRecipe | |
} | |
... on StorefrontCardGroup { | |
id | |
type | |
title | |
link { | |
src | |
linkText | |
} | |
titleIcon | |
hideTitle | |
groupStyle | |
offerType | |
offerPresentation | |
cardType | |
offers { | |
namespace | |
id | |
offer { | |
title | |
id | |
namespace | |
offerType | |
expiryDate | |
status | |
isCodeRedemptionOnly | |
description | |
effectiveDate | |
releaseDate | |
pcReleaseDate | |
approximateReleasePlan { | |
day | |
month | |
quarter | |
year | |
releaseDateType | |
} | |
prePurchase | |
keyImages { | |
type | |
url | |
} | |
seller { | |
id | |
name | |
} | |
productSlug | |
urlSlug | |
items { | |
id | |
namespace | |
} | |
customAttributes { | |
key | |
value | |
} | |
categories { | |
path | |
} | |
catalogNs { | |
mappings(pageType: "productHome") { | |
pageSlug | |
pageType | |
} | |
} | |
offerMappings { | |
pageSlug | |
pageType | |
} | |
price(country: $country) { | |
totalPrice { | |
discountPrice | |
originalPrice | |
voucherDiscount | |
discount | |
fmtPrice(locale: $locale) { | |
originalPrice | |
discountPrice | |
intermediatePrice | |
} | |
currencyCode | |
currencyInfo { | |
decimals | |
symbol | |
} | |
} | |
lineOffers { | |
appliedRules { | |
id | |
endDate | |
} | |
} | |
} | |
linkedOfferId | |
linkedOffer { | |
effectiveDate | |
customAttributes { | |
key | |
value | |
} | |
} | |
countriesBlacklist | |
countriesWhitelist | |
developerDisplayName | |
publisherDisplayName | |
} | |
} | |
} | |
} | |
} | |
... on StorefrontFeaturedCarousel { | |
__typename | |
type | |
title | |
slides { | |
title | |
eyebrow | |
description | |
backgroundColor | |
image { | |
src | |
alt | |
} | |
mobileImage { | |
src | |
alt | |
} | |
link { | |
src | |
linkText | |
} | |
videoRecipe | |
} | |
} | |
... on StorefrontTiles { | |
__typename | |
type | |
title | |
tiles { | |
label | |
genre | |
link { | |
src | |
linkText | |
} | |
} | |
} | |
... on StorefrontMarkdown { | |
__typename | |
type | |
title | |
content | |
} | |
} | |
pageTheme { | |
preferredMode | |
light { | |
theme | |
accent | |
} | |
dark { | |
theme | |
accent | |
} | |
} | |
faq { | |
title | |
content | |
} | |
redirect { | |
code | |
url | |
} | |
} | |
} | |
} | |
query discoverMeta($layoutSlug: String, $locale: String!, $layoutType: LayoutType) { | |
Storefront { | |
discoverLayout(locale: $locale, slug: $layoutSlug, layoutType: $layoutType) { | |
seo { | |
title | |
description | |
keywords | |
image { | |
src | |
altText | |
} | |
twitter { | |
title | |
description | |
} | |
og { | |
title | |
description | |
image { | |
src | |
alt | |
width | |
height | |
} | |
} | |
} | |
} | |
} | |
} | |
mutation redeemCodeMutation($codeId: String, $source: String, $codeUseId: String) { | |
CodeRedemption { | |
redeemCode(codeId: $codeId, source: $source, codeUseId: $codeUseId) { | |
success | |
} | |
} | |
} | |
mutation unlockCodeMutation($codeId: String, $codeUseId: String) { | |
CodeRedemption { | |
unlockCode(codeId: $codeId, codeUseId: $codeUseId) { | |
success | |
} | |
} | |
} | |
mutation lockCodeMutation($codeId: String, $locale: String) { | |
CodeRedemption { | |
lockCode(codeId: $codeId, locale: $locale) { | |
success | |
data { | |
namespace | |
title | |
description | |
image | |
eulaIds | |
entitlementName | |
codeUseId | |
} | |
} | |
} | |
} | |
query evaluateCodeQuery($codeId: String, $locale: String) { | |
CodeRedemption { | |
evaluateCode(codeId: $codeId, locale: $locale) { | |
success | |
data { | |
namespace | |
offerId | |
title | |
description | |
image | |
eulaIds | |
entitlementName | |
} | |
} | |
} | |
} | |
query primarySearchAutocomplete($allowCountries: String, $category: String, $count: Int, $country: String, $keywords: String, $locale: String, $sortBy: String, $sortDir: String) { | |
Catalog { | |
searchStore( | |
allowCountries: $allowCountries | |
category: $category | |
count: $count | |
country: $country | |
keywords: $keywords | |
locale: $locale | |
sortBy: $sortBy | |
sortDir: $sortDir | |
) { | |
elements { | |
countriesBlacklist | |
countriesWhitelist | |
customAttributes { | |
key | |
value | |
} | |
isCodeRedemptionOnly | |
offerId: id | |
sandboxId: namespace | |
} | |
paging { | |
total | |
} | |
} | |
} | |
} | |
query myAccount { | |
Account { | |
myAccount { | |
country | |
displayName | |
emailVerified | |
id | |
lastName | |
name | |
tfaEnabled | |
externalAuths { | |
type | |
externalAuthId | |
} | |
associatedOrganizations { | |
name | |
organizationId | |
ownerAccountId | |
status | |
isDeveloper | |
} | |
cabinedMode | |
} | |
} | |
} | |
query unlinkedDieselPlatforms($locale: String!, $countryCode: String) { | |
Account { | |
myAccount { | |
unlinkedDieselPlatforms( | |
countryCode: $countryCode | |
locale: $locale | |
newUserOnly: true | |
) | |
} | |
} | |
} | |
mutation claimAndRedeemUplayCodes($accountId: String!, $uplayAccountId: String!, $gameIds: [String]!) { | |
PartnerIntegration { | |
claimAndRedeemUplayCodes( | |
accountId: $accountId | |
uplayAccountId: $uplayAccountId | |
gameIds: $gameIds | |
) { | |
data { | |
claimed { | |
data { | |
gameId | |
} | |
success | |
} | |
redeemed { | |
data { | |
gameId | |
} | |
success | |
} | |
} | |
success | |
} | |
} | |
} | |
query getOfferSubItems($namespace: String!, $offerId: String!) { | |
Catalog { | |
offerSubItems(namespace: $namespace, id: $offerId) { | |
id | |
namespace | |
title | |
categories { | |
path | |
} | |
customAttributes { | |
key | |
value | |
} | |
} | |
} | |
} | |
query fetchFriends { | |
Friends { | |
friends(displayNames: true) { | |
accountId | |
displayName | |
} | |
} | |
} | |
mutation friendApiInviteFriend($friendId: String!) { | |
Friends { | |
invite(friendToInvite: $friendId) { | |
success | |
} | |
} | |
} | |
mutation deleteFriend($friendId: String!) { | |
Friends { | |
deleteFriend(friendToDelete: $friendId) { | |
success | |
} | |
} | |
} | |
mutation dismissFriendRequest($friendId: String!) { | |
Friends { | |
dismissFriendSuggestion(suggestionToDismiss: $friendId) { | |
success | |
} | |
} | |
} | |
0% { | |
opacity: 1; | |
transform: translateX(-100%); | |
} | |
50% { | |
transform: translateX(0); | |
} | |
100% { | |
opacity: 1; | |
transform: translateX(100%); | |
} | |
query getTotalPlaytime($accountId: String!) { | |
PlaytimeTracking { | |
total(accountId: $accountId) { | |
artifactId | |
totalTime | |
} | |
} | |
} | |
query productReviewsQuery($sku: String!) { | |
OpenCritic { | |
productReviews(sku: $sku) { | |
id | |
name | |
openCriticScore | |
reviewCount | |
percentRecommended | |
openCriticUrl | |
award | |
topReviews { | |
publishedDate | |
externalUrl | |
snippet | |
language | |
score | |
author | |
ScoreFormat { | |
id | |
description | |
} | |
OutletId | |
outletName | |
displayScore | |
} | |
} | |
} | |
} | |
query getUserLibrary($cursor: String, $includeCategories: [String], $includeNs: [String], $locale: String) { | |
Library { | |
libraryItems( | |
cursor: $cursor | |
params: {includeCategories: $includeCategories, includeNs: $includeNs, includeMetadata: true} | |
) { | |
records { | |
relationshipId | |
availableDate | |
catalogItemId | |
namespace | |
appName | |
productId | |
sandboxType | |
sandboxName | |
tags | |
acquisitionDate | |
product { | |
supportedTypes | |
} | |
catalogItem(locale: $locale) { | |
id | |
namespace | |
title | |
keyImages { | |
type | |
url | |
} | |
categories { | |
path | |
} | |
releaseInfo { | |
appId | |
platform | |
compatibleApps | |
} | |
customAttributes { | |
key | |
value | |
} | |
dlcItemList { | |
id | |
} | |
mainGameItem { | |
id | |
} | |
} | |
} | |
responseMetadata { | |
nextCursor | |
} | |
} | |
} | |
} | |
mutation addCollectionItem($accountId: String!, $collectionId: String!, $item: CollectionItemProps!) { | |
Library { | |
collection { | |
addItem(accountId: $accountId, collectionId: $collectionId, item: $item) { | |
status | |
data { | |
collectionId | |
name | |
libraryItemContentVersion | |
} | |
} | |
} | |
} | |
} | |
query getCollectionItems($accountId: String!, $collectionId: String!, $cursor: String) { | |
Library { | |
collection { | |
items(accountId: $accountId, collectionId: $collectionId, cursor: $cursor) { | |
records { | |
relationshipId | |
artifactId | |
catalogId | |
sandbox | |
} | |
responseMetadata { | |
nextCursor | |
} | |
} | |
} | |
} | |
} | |
mutation removeCollectionItem($accountId: String!, $collectionId: String!, $item: CollectionItemProps!) { | |
Library { | |
collection { | |
removeItem(accountId: $accountId, collectionId: $collectionId, item: $item) { | |
status | |
data { | |
collectionId | |
name | |
libraryItemContentVersion | |
} | |
} | |
} | |
} | |
} | |
mutation createCollection($accountId: String!, $name: String!) { | |
Library { | |
collection { | |
create(accountId: $accountId, name: $name) { | |
status | |
data { | |
collectionId | |
name | |
libraryItemContentVersion | |
} | |
} | |
} | |
} | |
} | |
query getCollections($accountId: String!) { | |
Library { | |
collection { | |
collections(accountId: $accountId) { | |
name | |
collectionId | |
libraryItemContentVersion | |
} | |
} | |
} | |
} | |
mutation removeCollection($accountId: String!, $collectionId: String!) { | |
Library { | |
collection { | |
remove(accountId: $accountId, collectionId: $collectionId) { | |
data | |
status | |
} | |
} | |
} | |
} | |
mutation renameCollection($accountId: String!, $collectionId: String!, $name: String!) { | |
Library { | |
collection { | |
rename(accountId: $accountId, collectionId: $collectionId, name: $name) { | |
data { | |
name | |
collectionId | |
libraryItemContentVersion | |
} | |
status | |
} | |
} | |
} | |
} | |
mutation reorderCollections($accountId: String!, $orderedCollectionIdList: [String!]!) { | |
Library { | |
collection { | |
reorder( | |
accountId: $accountId | |
orderedCollectionIdList: $orderedCollectionIdList | |
) { | |
data | |
status | |
} | |
} | |
} | |
} | |
0% {width: 0;} | |
50% {transform: translateX(0);width: 100%;} | |
100% {transform: translateX(100%);} | |
query playtimeTracking($accountId: String!, $artifactId: String!) { | |
PlaytimeTracking { | |
artifact(accountId: $accountId, artifactId: $artifactId) { | |
artifactId | |
totalTime | |
} | |
} | |
} | |
query getAccountUplayCodes($accountId: String!) { | |
PartnerIntegration { | |
accountUplayCodes(accountId: $accountId) { | |
epicAccountId | |
gameId | |
redeemedOnUplay | |
uplayAccountId | |
} | |
} | |
} | |
query getRelatedOfferIdsByCategory($allowCountries: String!, $category: String!, $country: String!, $locale: String!, $namespace: String!, $sortBy: String!, $sortDir: String!, $codeRedemptionOnly: Boolean) { | |
Catalog { | |
catalogOffers( | |
namespace: $namespace | |
locale: $locale | |
params: {allowCountries: $allowCountries, category: $category, country: $country, sortBy: $sortBy, sortDir: $sortDir, codeRedemptionOnly: $codeRedemptionOnly} | |
) { | |
elements { | |
id | |
countriesBlacklist | |
countriesWhitelist | |
customAttributes { | |
key | |
value | |
} | |
isCodeRedemptionOnly | |
prePurchase | |
} | |
paging { | |
total | |
} | |
} | |
} | |
} | |
query getCatalogNamespace($sandboxId: String!) { | |
Catalog { | |
catalogNs(namespace: $sandboxId) { | |
ageGated | |
ageGatings { | |
ageControl | |
descriptor | |
element | |
gameRating | |
ratingImage | |
ratingSystem | |
title | |
} | |
displayName | |
mappings { | |
createdDate | |
deletedDate | |
mappings { | |
cmsSlug | |
offerId | |
prePurchaseOfferId | |
} | |
pageSlug | |
pageType | |
productId | |
sandboxId | |
updatedDate | |
} | |
store | |
} | |
} | |
} | |
0% { | |
width: 0; | |
} | |
50% { | |
transform: translateX(0); | |
width: 100%; | |
} | |
100% { | |
transform: translateX(100%); | |
} | |
query fetchMediaRef($mediaRefId: String!) { | |
Media { | |
getMediaRef(mediaRefId: $mediaRefId) { | |
accountId | |
outputs { | |
duration | |
url | |
width | |
height | |
key | |
contentType | |
} | |
namespace | |
} | |
} | |
} | |
//# sourceMappingURL=457.egstore-site.0cd3839260072eec9743.js.map |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment