GET Storefront
https://pd.{shard}.a.pvp.net/store/v2/storefront/{puuid}
Get the currently available items in the store
Headers:
-
X-Riot-ClientPlatform: {client platform}
-
X-Riot-ClientVersion: {client version}
-
X-Riot-Entitlements-JWT: {entitlement token}
-
Authorization: Bearer {auth token}
URL Parameters:
-
{puuid}
A player's UUID
Other Variables:
-
client platform
A string representing the platform of the client. Base-64 encoded JSON with the following fields:
{ "platformType": "PC", "platformOS": "Windows", "platformOSVersion": "10.0.19042.1.256.64bit", "platformChipset": "Unknown" }
ew0KCSJwbGF0Zm9ybVR5cGUiOiAiUEMiLA0KCSJwbGF0Zm9ybU9TIjogIldpbmRvd3MiLA0KCSJwbGF0Zm9ybU9TVmVyc2lvbiI6ICIxMC4wLjE5MDQyLjEuMjU2LjY0Yml0IiwNCgkicGxhdGZvcm1DaGlwc2V0IjogIlVua25vd24iDQp9
is a value that works. -
client version
-
entitlement token
Can be obtained locally with the Entitlements Token endpoint or remotely using Riot auth and the Entitlement endpoint -
auth token
Can be obtained locally with the Entitlements Token endpoint or remotely by first using the Auth Cookies endpoint then using the cookies with the Auth Request endpoint
Response:
type StorefrontResponse = {
FeaturedBundle: {
Bundle: {
/** UUID */
ID: string;
/** UUID */
DataAssetID: string;
/** Currency ID */
CurrencyID: string;
Items: {
Item: {
/** Item Type ID */
ItemTypeID: string;
/** Item ID */
ItemID: string;
Amount: number;
};
BasePrice: number;
/** Currency ID */
CurrencyID: string;
DiscountPercent: number;
DiscountedPrice: number;
IsPromoItem: boolean;
}[];
ItemOffers: {
/** UUID */
BundleItemOfferID: string;
Offer: {
OfferID: string;
IsDirectPurchase: boolean;
/** Date in ISO 8601 format */
StartDate: string;
Cost: {
[x: string]: number;
};
Rewards: {
/** Item Type ID */
ItemTypeID: string;
/** Item ID */
ItemID: string;
Quantity: number;
}[];
};
DiscountPercent: number;
DiscountedCost: {
[x: string]: number;
};
}[] | null;
TotalBaseCost: {
[x: string]: number;
} | null;
TotalDiscountedCost: {
[x: string]: number;
} | null;
TotalDiscountPercent: number;
DurationRemainingInSeconds: number;
WholesaleOnly: boolean;
};
Bundles: {
/** UUID */
ID: string;
/** UUID */
DataAssetID: string;
/** Currency ID */
CurrencyID: string;
Items: {
Item: {
/** Item Type ID */
ItemTypeID: string;
/** Item ID */
ItemID: string;
Amount: number;
};
BasePrice: number;
/** Currency ID */
CurrencyID: string;
DiscountPercent: number;
DiscountedPrice: number;
IsPromoItem: boolean;
}[];
ItemOffers: {
/** UUID */
BundleItemOfferID: string;
Offer: {
OfferID: string;
IsDirectPurchase: boolean;
/** Date in ISO 8601 format */
StartDate: string;
Cost: {
[x: string]: number;
};
Rewards: {
/** Item Type ID */
ItemTypeID: string;
/** Item ID */
ItemID: string;
Quantity: number;
}[];
};
DiscountPercent: number;
DiscountedCost: {
[x: string]: number;
};
}[] | null;
TotalBaseCost: {
[x: string]: number;
} | null;
TotalDiscountedCost: {
[x: string]: number;
} | null;
TotalDiscountPercent: number;
DurationRemainingInSeconds: number;
WholesaleOnly: boolean;
}[];
BundleRemainingDurationInSeconds: number;
};
SkinsPanelLayout: {
SingleItemOffers: string[];
SingleItemStoreOffers: {
OfferID: string;
IsDirectPurchase: boolean;
/** Date in ISO 8601 format */
StartDate: string;
Cost: {
[x: string]: number;
};
Rewards: {
/** Item Type ID */
ItemTypeID: string;
/** Item ID */
ItemID: string;
Quantity: number;
}[];
}[];
SingleItemOffersRemainingDurationInSeconds: number;
};
UpgradeCurrencyStore: {
UpgradeCurrencyOffers: {
/** UUID */
OfferID: string;
/** Item ID */
StorefrontItemID: string;
Offer: {
OfferID: string;
IsDirectPurchase: boolean;
/** Date in ISO 8601 format */
StartDate: string;
Cost: {
[x: string]: number;
};
Rewards: {
/** Item Type ID */
ItemTypeID: string;
/** Item ID */
ItemID: string;
Quantity: number;
}[];
};
DiscountedPercent: number;
}[];
};
AccessoryStore: {
AccessoryStoreOffers: {
Offer: {
OfferID: string;
IsDirectPurchase: boolean;
/** Date in ISO 8601 format */
StartDate: string;
Cost: {
[x: string]: number;
};
Rewards: {
/** Item Type ID */
ItemTypeID: string;
/** Item ID */
ItemID: string;
Quantity: number;
}[];
};
/** UUID */
ContractID: string;
}[];
AccessoryStoreRemainingDurationInSeconds: number;
/** UUID */
StorefrontID: string;
};
/** Night market */
BonusStore?: {
BonusStoreOffers: {
/** UUID */
BonusOfferID: string;
Offer: {
OfferID: string;
IsDirectPurchase: boolean;
/** Date in ISO 8601 format */
StartDate: string;
Cost: {
[x: string]: number;
};
Rewards: {
/** Item Type ID */
ItemTypeID: string;
/** Item ID */
ItemID: string;
Quantity: number;
}[];
};
DiscountPercent: number;
DiscountCosts: {
[x: string]: number;
};
IsSeen: boolean;
}[];
BonusStoreRemainingDurationInSeconds: number;
} | undefined;
};