Read-only catalog access for approved users. Ask your administrator for a login or API key. Never put credentials in the URL.
Using your catalog login
curl --user 'YOUR_LOGIN' \
'https://appleretail.ru/api.php?action=catalog-api'
cURL will prompt for your password.
Using an API key
curl -H 'Authorization: Bearer YOUR_API_KEY' \
'https://appleretail.ru/api.php?action=catalog-api'
Your administrator issues the key; store it securely and don't share it publicly.
Example response
{
"brand": "AppleRetail",
"authenticatedAs": "YOUR_LOGIN",
"count": 1,
"items": [
{ "partNo": "...", "product": "...", "price": "...", "main": "...", "category": "..." }
]
}
Returns up to 5,000 items. The API includes part number, product, price and categories; it does not include Notes.