store.product
Returns a store product with pricing and its HTML description.
GET
/api/v1/{locale}/store/products/{slug}API scope store.product
Request
Send Authorization: Bearer <key> with each request.
Path parameters
| Field | Type | Requirement | Description |
|---|---|---|---|
locale | tr or en | Required | Request locale. |
slug | string | Required | URL slug of the resource. |
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/products/example"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. |
slug | string | Required | Product slug. |
product | object | Required | Public product catalog fields. |
descriptionHtml | string | Required | HTML description for display. |
Nested fields
| Field | Type | Requirement | Description |
|---|---|---|---|
product.id | integer | Conditional | Field from this record, when available. |
product.slug | string or null | Conditional | Field from this record, when available. |
product.name | string or null | Conditional | Field from this record, when available. |
product.description | JSON value | Conditional | Field from this record, when available. |
product.description_html | string or null | Conditional | Field from this record, when available. |
product.category | JSON value | Conditional | Field from this record, when available. |
product.server | JSON value | Conditional | Field from this record, when available. |
product.stock | integer or null | Conditional | Field from this record, when available. |
product.durationDays | integer or null | Conditional | Number of days for a timed product. |
product.currency | string or null | Conditional | Field from this record, when available. |
product.prices | object | Conditional | Prices in minor units keyed by currency. |
product.originalPrices | object | Conditional | Prices before discount, keyed by currency code. |
product.requiredRank | JSON value | Conditional | Field from this record, when available. |
product.rankLocked | boolean | Conditional | Whether the required rank blocks purchase. |
product.purchaseLimit | integer or null | Conditional | Field from this record, when available. |
product.kind | JSON value | Conditional | Field from this record, when available. |
product.image | JSON value | Conditional | Field from this record, when available. |
product.imageSlug | JSON value | Conditional | Field from this record, when available. |
product.tone | JSON value | Conditional | Field from this record, when available. |
product.upgradeFrom | JSON value | Conditional | Field from this record, when available. |
product.upgradeTo | JSON value | Conditional | Field from this record, when available. |
product.discountPercent | number | Conditional | Field from this record, when available. |
product.components | object | array | Conditional | Components of a bundle product. |
Selected fields from an example response
{
"data": {
"locale": "en",
"currency": "TRY",
"cartCount": 1,
"communityGoal": {},
"product": "example-product"
}
}