1. Store
Returning.AI
  • Getting Started
  • Authentication
    • Register user with password
      POST
    • Verify user email
      POST
    • Log in user with password
      POST
    • Secure Auth
      GET
  • Users
    • Get user
      GET
    • Get Users with Filters
      POST
    • Create New User
      POST
    • Get User Data
      POST
    • Manage User Account
      POST
    • List mini-game logs by user email
      POST
    • Get user's current Mini Games and Streak stats
      POST
    • Get User Milestones
      POST
  • Messaging
    • Message Actions
      • Direct Channel
        • private DM channel
          • Reply Message
          • Send Message
          • React Message
        • public channel
          • Reply Message
          • Send Message
          • React Message
      • Forum Channel
        • Send Message
        • Reply Message
        • React Message
      • Text Channel
        • Reply Message
        • Send Message
        • React Message
      • Iframe Channel
        • Reply Message
        • Send Message
        • React Message
    • Get Messages
      GET
    • Send Message
      POST
    • Reply Message
      POST
    • React Message
      POST
    • Upload message images
      POST
  • Gamification
    • Leaderboards
      • List leaderboards with pagination
      • Create a new leaderboard
      • Update an existing leaderboard
      • Get a single leaderboard by ID
      • Delete a leaderboard
    • Streaks & Mini Games
      • List user streak logs
      • Update user spin-wheel information
    • Referral
      • Get referral programs
      • Get user's referral summary
    • Get tiers and XP settings
      GET
    • Get daily user gamification history
      POST
    • List user gamification logs
      POST
    • Get user activity stats
      POST
  • Rewards & Redemptions
    • Update redemption order status
    • List redemption orders by user email
    • List redemption statuses
    • Get redemption status by ID
    • List redemption orders by community
    • Create redemption order status
    • Get redemption order status history
  • Chart Analysis
    • Create Analysis
    • Get Analysis
    • Update Analysis
    • Delete Analysis
    • List Analyses
    • Append Drawings
  • Bulk Operations
    • List bulk update jobs
    • Get bulk update job status
    • Get bulk update job details
    • Bulk update users from CSV
    • Bulk update premium currency from CSV
  • Channels
    • Iframe
    • List integration channels
  • Events
    • Outgoing webhooks
      • Encryption
      • User Joins Server
      • User Visits server
      • New Message Posted Anywhere
      • New Message Posted To channel
      • Purchased Store Item
    • Incoming webhooks
      • API Keys & Encryption
      • Send message into channels
      • Update Custom User Fields
      • Update In-game currency
  • Widgets
    • Authenticated Widgets
    • Public widgets
  • Store
    • Purchase History
      • Update purchase history redemption instructions or voucher details
    • Categories
      • List store categories
      • Create store category
      • Get store category by ID
      • Update store category
      • Delete store category
    • Products
      • List products
      • Create products in bulk
      • Create product with vouchers
      • Update products in bulk
      • Read product
      • Update product and append vouchers
      • Delete product
    • Get store configuration
      GET
    • Update store configuration
      PUT
  • Community Analytics
    • Get Loyalty Overview
  • Community
    • Appearance
      • Update community theme colors
      • Update community bot profile
      • Update community URL metadata
      • Update community name and URL
    • Community Users
      • Get community users
      • Get user
    • Create community
  • API Keys
    • Community API Keys
      • Create API key
      • Read API keys
      • Delete API key
      • Update API key
    • User API Keys
      • List user API keys
      • Create user API key
      • Update user API key
      • Delete user API key
      • Get current API key information
  • User Fields
    • User Field History
      • Get all user field histories in a community
      • Get user field histories for a specific field
      • Get user field histories for a specific user
      • Get user field histories of specific user field and user
      • Create user field history for specific user
      • Create user field history
      • Get user field histories
    • Get Specific User Field
    • Update Custom User Field
    • Create user field
    • Delete Custom User Field
    • Get all user fields for a community
    • Delete user field
    • Update user field
    • Get specific user field
  • Legacy
    • Servers
      • Create server
      • List servers
      • Update server metadata
    • Bulk Operations
      • Bulk import users from CSV
    • Badges
      • List badges
      • Create badge
      • Update badge
      • Delete badge
      • Remove badge from user
      • Award badge to user
    • Messaging
      • Reply to message
      • Send message
      • React to message
    • Roles & Permissions
      • List server roles
      • Create role
      • Update role
      • Delete role
      • List user roles
      • Add role to user
      • Remove role from user
    • Users
      • Upload user avatar
    • Channels
      • Create channel
      • Update channel
      • Delete channel
    • API Keys
      • List integration API keys
      • Create integration API key
      • Delete integration API key
      • Update integration API key
  • Schemas
    • Sample Schemas
    • Schemas
    • Outgoing webhooks
    • Analysis
    • Pet
    • Category
    • Tag
    • ValidationError
    • NotFoundError
    • InternalServerError
    • NotImplementedError
    • CreateUserFieldHistoryResponse
    • CreateUserFieldHistorySuccessResponse
    • UserFieldHistoryItem
    • GetUserFieldHistoriesResponse
    • UserFieldHistoriesValidationError
    • UserFieldHistoriesMetaWithValidation
    • UserFieldHistoriesMetaWithPagination
    • GetUserFieldHistoriesSuccessResponse
    • CreateUserFieldResponse
    • CreateUserFieldSuccessResponse
    • DeleteUserFieldResponse
    • DeleteUserFieldSuccessResponse
    • UserFieldCreator
    • GetUserFieldResponse
    • GetUserFieldSuccessResponse
    • ValidationErrorItem
    • GetUserFieldsMetaResponse
    • CreatorInfo
    • UserFieldResponse
    • GetUserFieldsSuccessResponse
    • UpdateUserFieldResponse
    • UpdateUserFieldPayload
    • UpdateUserFieldSuccessResponse
    • MetaResponse
    • GetUserResponse
    • GetUserSuccessResponse
    • Purchased store item
    • ErrorResponse
    • New message posted to channel
    • UpdateAnalysisRequest
    • User visits server
    • AppendDrawingsRequest
    • User join server
    • CreateAnalysisResponse
    • GetAnalysisResponse
    • UpdateAnalysisResponse
    • AppendDrawingsResponse
    • AnalysisMetadata
    • Expiry
    • Levels
    • LevelEntry
    • Drawing
    • HorizontalLineDrawing
    • LineDrawing
    • RectangleDrawing
    • ParallelDrawing
    • FibonacciRetracementDrawing
    • Coordinate
    • DrawingStyle
    • AnalysisDetail
    • AnalysisSummary
    • CreateAnalysisRequest
    • ListAnalysesResponse
    • StandardApiError
    • StandardSuccessEnvelope
    • PurchasedStoreItemEvent
    • ChannelMessagePostedEvent
    • UserVisitedCommunityEvent
    • UserJoinedCommunityEvent
  1. Store

Get store configuration

GET
/stores
Reads the current community store configuration aggregate for the API-key's community, including display settings, currency configuration, i18n settings, and populated widget data with defaults.
Use this before rendering a partner storefront shell. Omit fields to receive the complete public aggregate; pass fields only when you intentionally want a projected response.
Authentication:
Bearer API key in Authorization header
API key must have the store permission
Community is resolved from the API key token — do not pass communityID
Returns 401 if the key is missing, invalid, or expired
Returns 403 if the key does not include the store permission
Rate limits:
Standard API rate limits apply
Constraints:
fields is an optional comma-separated projection and must use selectable store configuration fields
Omit fields for the full public aggregate and default values
lang selects translated content when the store has localized fields
Internal identifiers such as widgetID and widget._id are not exposed
Invalid fields values return 400
Upstream store-service failures return 502
Example — read full aggregate:
{ "query": "?lang=en" }
Related endpoints:
PUT /stores

Request

Query Params

Header Params

Responses

🟢200OK
application/json
Read store config success.
Bodyapplication/json

🟠400Bad Request
🟠401Unauthorized
🟠403Forbidden
🔴500Server Error
🔴502Bad Gateway
Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'https://adss-integration.returning.ai/apis/stores?fields=isEnabled%2Ctitle%2Cdescription%2Ccover%2Ccurrency%2Ci18n%2Cwidget&lang=en' \
--header 'Authorization: Bearer XXXXXX'
Response Response Example
200 - Success Example
{
    "meta": {
        "status": "success",
        "statusCode": 200
    },
    "message": "Read store config success.",
    "data": {
        "_id": "650a619360e8475d8ce4b2d4",
        "communityID": "6502c9e514a3e564c5c09c0a",
        "isEnabled": true,
        "title": "The Concept Trading update",
        "description": "<p>Redeem community rewards.</p>",
        "cover": {
            "isEnabled": false,
            "light": "",
            "dark": ""
        },
        "currency": {
            "isEnabled": false,
            "name": "Coins",
            "light": "",
            "dark": ""
        },
        "i18n": {
            "isTranslationEnabled": false,
            "titleTranslations": [],
            "descriptionTranslations": [],
            "translationPrompt": "",
            "translationIgnoreList": []
        },
        "widget": {
            "isEnabled": true,
            "allowedDomains": [],
            "accessMode": "live",
            "testUsers": [],
            "testRoles": [],
            "size": {
                "mode": "dynamic",
                "width": 400,
                "height": 400
            },
            "appearance": {
                "light": {
                    "name": "violet-dream",
                    "palette": {}
                },
                "dark": {
                    "name": "black-beauty",
                    "palette": {
                        "accent": "rgb(3, 169, 244)",
                        "text": "rgb(0, 150, 218)",
                        "background": "rgb(3, 23, 38)",
                        "divider": "rgb(19, 71, 95)",
                        "shadow": "rgba(26, 38, 43, .5)"
                    }
                },
                "useCommunityTheme": false
            },
            "callToAction": {
                "isEnabled": false,
                "text": "",
                "link": ""
            },
            "userIdentifierFields": [],
            "apiKey": "9d644e64ce43b0cfd4b428b03fb0f962f0f093078b2b618fbf1aaf7d8b668b06",
            "createdAt": "2026-04-15T12:41:45.223Z",
            "updatedAt": "2026-04-15T12:42:22.024Z",
            "__v": 0
        },
        "createdAt": "2026-04-15T12:41:45.223Z",
        "updatedAt": "2026-04-15T12:42:22.024Z",
        "__v": 0
    }
}
Modified at 2026-06-11 10:14:56
Previous
Delete product
Next
Update store configuration
Built with