store.compare-ranks
Returns ranks, perks and eligible rank upgrades for comparison.
GET
/api/v1/{locale}/store/rank-comparisonAPI scope store.compare-ranks
Request
Send Authorization: Bearer <key> with each request.
Path parameters
| Field | Type | Requirement | Description |
|---|---|---|---|
locale | tr or en | Required | Request locale. |
Query parameters
| Field | Type | Requirement | Description |
|---|---|---|---|
table | string | Optional | Key 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.
| Field | Type | Requirement | Description |
|---|---|---|---|
locale | string | Required | Response locale. |
error | string or null | Conditional | Action error. Can be empty on success. |
errors | array or object | Conditional | Field or form validation errors. |
notice | string or null | Conditional | Action notice. |
currency | string | Required | Transaction currency code. |
cartCount | integer | Conditional | Number of cart items. |
quantities | JSON value | Conditional | Value determined by screen and configuration. |
communityGoal | object or null | Conditional | Configured community goal. |
categoryPath | string or null | Conditional | Store category path. |
ranks | object | array | Required | Ranks being compared. |
rankUpgrades | object | array | Required | Upgrades grouped by target rank. |
hasRankUpgrades | JSON value | Conditional | Value determined by screen and configuration. |
ownedRanks | object | array | Required | Ranks owned by the player. |
comparisonSections | object | array | Required | Perk sections configured in the admin panel. |
customComparison | object | null | Required | Selected custom comparison. |
Nested fields
| Field | Type | Requirement | Description |
|---|---|---|---|
ranks[].id | integer | Conditional | Field from this record, when available. |
ranks[].slug | string or null | Conditional | Field from this record, when available. |
ranks[].name | string or null | Conditional | Field from this record, when available. |
ranks[].description | JSON value | Conditional | Field from this record, when available. |
ranks[].description_html | string or null | Conditional | Field from this record, when available. |
ranks[].category | JSON value | Conditional | Field from this record, when available. |
ranks[].server | JSON value | Conditional | Field from this record, when available. |
ranks[].stock | integer or null | Conditional | Field from this record, when available. |
ranks[].durationDays | integer or null | Conditional | Number of days for a timed product. |
ranks[].currency | string or null | Conditional | Field from this record, when available. |
ranks[].prices | object | Conditional | Selling prices keyed by currency code. |
ranks[].originalPrices | object | Conditional | Prices before discount, keyed by currency code. |
ranks[].requiredRank | JSON value | Conditional | Field from this record, when available. |
ranks[].rankLocked | boolean | Conditional | Whether the required rank blocks purchase. |
ranks[].purchaseLimit | integer or null | Conditional | Field from this record, when available. |
ranks[].kind | JSON value | Conditional | Field from this record, when available. |
ranks[].image | JSON value | Conditional | Field from this record, when available. |
ranks[].imageSlug | JSON value | Conditional | Field from this record, when available. |
ranks[].tone | JSON value | Conditional | Field from this record, when available. |
ranks[].upgradeFrom | JSON value | Conditional | Field from this record, when available. |
ranks[].upgradeTo | JSON value | Conditional | Field from this record, when available. |
ranks[].discountPercent | number | Conditional | Field from this record, when available. |
Selected fields from an example response
{
"data": {
"locale": "en",
"currency": "TRY",
"cartCount": 1,
"communityGoal": {},
"ranks": {}
}
}