Skip to Content
MinexonMinexon

store.compare-ranks

Returns ranks, perks and eligible rank upgrades for comparison.

GET/api/v1/{locale}/store/rank-comparison

API scope store.compare-ranks

Request

Send Authorization: Bearer <key> with each request.

Path parameters

FieldTypeRequirementDescription
localetr or enRequiredRequest locale.

Query parameters

FieldTypeRequirementDescription
tablestringOptionalKey of a published custom VIP table.

This endpoint takes no request body.

Run samples from your application server. See Quickstart for variables and sessions.

curl --fail-with-body --request GET \
  -H "Authorization: Bearer $MINEXON_API_KEY" \
  "${MINEXON_BASE_URL}/api/v1/en/store/rank-comparison"

Response

HTTP 200 · application/json

The fields below are inside the response’s data object.

FieldTypeRequirementDescription
localestringRequiredResponse locale.
errorstring or nullConditionalAction error. Can be empty on success.
errorsarray or objectConditionalField or form validation errors.
noticestring or nullConditionalAction notice.
currencystringRequiredTransaction currency code.
cartCountintegerConditionalNumber of cart items.
quantitiesJSON valueConditionalValue determined by screen and configuration.
communityGoalobject or nullConditionalConfigured community goal.
categoryPathstring or nullConditionalStore category path.
ranksobject | arrayRequiredRanks being compared.
rankUpgradesobject | arrayRequiredUpgrades grouped by target rank.
hasRankUpgradesJSON valueConditionalValue determined by screen and configuration.
ownedRanksobject | arrayRequiredRanks owned by the player.
comparisonSectionsobject | arrayRequiredPerk sections configured in the admin panel.
customComparisonobject | nullRequiredSelected custom comparison.
Nested fields
FieldTypeRequirementDescription
ranks[].idintegerConditionalField from this record, when available.
ranks[].slugstring or nullConditionalField from this record, when available.
ranks[].namestring or nullConditionalField from this record, when available.
ranks[].descriptionJSON valueConditionalField from this record, when available.
ranks[].description_htmlstring or nullConditionalField from this record, when available.
ranks[].categoryJSON valueConditionalField from this record, when available.
ranks[].serverJSON valueConditionalField from this record, when available.
ranks[].stockinteger or nullConditionalField from this record, when available.
ranks[].durationDaysinteger or nullConditionalNumber of days for a timed product.
ranks[].currencystring or nullConditionalField from this record, when available.
ranks[].pricesobjectConditionalSelling prices keyed by currency code.
ranks[].originalPricesobjectConditionalPrices before discount, keyed by currency code.
ranks[].requiredRankJSON valueConditionalField from this record, when available.
ranks[].rankLockedbooleanConditionalWhether the required rank blocks purchase.
ranks[].purchaseLimitinteger or nullConditionalField from this record, when available.
ranks[].kindJSON valueConditionalField from this record, when available.
ranks[].imageJSON valueConditionalField from this record, when available.
ranks[].imageSlugJSON valueConditionalField from this record, when available.
ranks[].toneJSON valueConditionalField from this record, when available.
ranks[].upgradeFromJSON valueConditionalField from this record, when available.
ranks[].upgradeToJSON valueConditionalField from this record, when available.
ranks[].discountPercentnumberConditionalField from this record, when available.

Selected fields from an example response

{
  "data": {
    "locale": "en",
    "currency": "TRY",
    "cartCount": 1,
    "communityGoal": {},
    "ranks": {}
  }
}

Flow and error cases

Shared error and authentication contract