1. Products
Returning.AI
  • Getting Started
  • Bulk Operations
    • Bulk user updates
    • List bulk update jobs
      GET
    • Get bulk update job status
      GET
    • Get bulk update job details
      GET
    • Bulk update users from CSV
      POST
    • Bulk update premium currency from CSV
      POST
  • Chart Analysis
    • Create Analysis
      POST
    • Get Analysis
      GET
    • Update Analysis
      PATCH
    • Delete Analysis
      DELETE
    • List Analyses
      GET
    • Append Drawings
      POST
  • Rewards & Redemptions
    • Redemption lifecycle
    • Store catalog to redemptions
    • Update redemption order status or refund
    • 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
    • List redemption orders by custom-field identifier
  • Gamification
    • Leaderboards
      • 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
      • Mini-game State and History
      • List user streak logs
      • List mini-game logs by user email
      • Get current mini-game and streak state
      • Update user spin-wheel information
    • Referral
      • Referral Program Integration
      • Get referral programs
      • Get user's referral summary
    • Rolling Data
    • Match Predictions
      • Create match prediction
      • List match predictions
      • Get match prediction
      • Patch match prediction
      • Publish match prediction
      • Settle match prediction
      • Get settlement results
      • Void match prediction
      • Bulk update match predictions
      • Get bulk job status
      • Get bulk job results
    • Loyalty Points
      • Create loyalty points export
      • Get loyalty points export status
      • Get loyalty points export download link
    • Quizzes
      • Create quiz
      • List quizzes
      • Get quiz
      • Update quiz
      • Delete quiz
      • Add quiz question
      • Update quiz question
      • Delete quiz question
    • Get tier configuration
    • Get daily user XP and coin changes
    • Search user gamification logs
    • Get user activity stats
  • Messaging
    • Agent messaging workflow
    • Get Messages
    • Send Message
    • Reply Message
    • React Message
    • Upload message images
  • Users
    • User directory and provisioning
    • Get Users with Filters
    • Create New User
    • Get User Data
    • Manage User Account
    • Get User Milestones
    • Update User Data, Identifier, And Roles
  • 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
    • Channels
    • Leaderboard
    • Milestone
    • Socials
    • Store
  • Community Analytics
    • Get Loyalty Overview
    • Get Phone Verification Contacts
  • Store
    • Store journey
    • Store catalog
    • Purchase History
      • Archive or restore an order
      • Update 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
        GET
      • Create products in bulk
        POST
      • Create product with vouchers
        POST
      • Update products in bulk
        PUT
      • Read product
        GET
      • Update product and append vouchers
        PUT
      • Delete product
        DELETE
    • Redemption-transaction
      • Get redemption transaction detail
    • Get Store configuration
      GET
    • Update Store configuration
      PUT
  • Community
    • Community directory and appearance
    • 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
  • User Fields
    • User field definitions and history
    • User Field History
      • List Community User-Field History
      • List One Field Across Users
      • List One User Across Fields
      • List One User's One Field
      • Update A User Field Value
      • Deprecated Field-First History Write
      • Deprecated Field-First History Read
    • Create A User Field Definition
    • Get A User Field Definition
    • Update A User Field Definition
    • Delete A User Field Definition
    • List User Field Definitions
  • API Keys
    • API key lifecycle
    • 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
  • Legacy
    • Servers
      • Create server
      • List servers
      • Update server metadata
    • Bulk Operations
      • Bulk import users from CSV
    • Authentication
      • Register user with password
      • Verify user email
      • Log in user with password
      • Secure Auth
    • Badges
      • List badges
      • Create badge
      • Update badge
      • Delete badge
      • Remove badge from user
      • Award badge to user
    • Messaging
    • Roles & Permissions
      • List server roles
      • Create role
      • Update role
      • Delete role
      • List user roles
      • Add role to user
      • Remove role from user
    • Users
      • Get user
      • 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
  • Community Logs
    • Retrieve and export community logs
  1. Products

Read product

GET
https://sgtr-api.returning.ai/v1/products/{productID}
Store / Catalog

What this endpoint does#

Read one product and its public inventory count without returning private voucher values.
INFO
Workflow
Product ID → product → Store widget or update

Quick start#

Use the environment selected by Try it. The example values are synthetic.

Authentication and permission#

SendPermissionCommunity scope
Authorization: Bearer <apiKey>storeCommunity scope is derived from the key; do not send a community identifier.

Complete examples#

No JSON body is sent. Replace each {pathParameter} and use the query parameters documented below.

Success and readback#

Branch on: meta.code = PRODUCT_RETRIEVED
{
  "meta": {
    "status": "success",
    "statusCode": 200,
    "code": "PRODUCT_RETRIEVED"
  },
  "message": "Read product successfully",
  "data": {
    "_id": "prd_agent_01",
    "name": "Agent Test Voucher",
    "categoryID": "650906d314a3e564c56f3450",
    "category": "Premium Rewards",
    "price": 100,
    "stocks": 2
  }
}
CHECK
Readback
No additional readback is required for this read operation.

Errors and recovery#

Branch on meta.code, never message text.
HTTPMachine codeWhat the caller should doRetry?
400VALIDATION_FAILEDRepair the path ID.No, fix first
401AUTH_API_KEY_REQUIREDAdd the Authorization header.No, fix first
401AUTH_API_KEY_INVALIDReplace or rotate the key.No, fix first
401AUTH_API_KEY_VALIDATION_FAILEDAuthentication could not be completed.Yes, with backoff
403AUTH_PERMISSION_REQUIREDRequest the store permission; no resource data is returned.No, fix first
404STORE_RESOURCE_NOT_FOUNDRefresh the product list.After refreshing the ID
502STORE_DEPENDENCY_UNAVAILABLERetry after a short backoff; the Store dependency is unavailable.Yes, with backoff
500INTERNAL_ERRORRetry with exponential backoff and the same request context, then escalate.Yes, with backoff

Retry safety#

TIP
Exact retry
This read is safe to retry with exponential backoff.

Gotchas#

Avoid this mistake

Next steps#

Update Store product
Show the product in Store or update it.

Effective response fields#

categoryID is canonical and category is its readable name.
redemptionMethodIDs is the raw stored product-owned array; redemptionMethods is the effective ordered read view, including inheritance.
redemptionProductFieldValues contains only values applicable to the effective methods.
Public permission user references are readable usernames only; internal user identifiers are not documented.
An explicit fields projection is authoritative after effective-method and readable-reference enrichment; only selected public fields remain. Selecting categoryID also retains its readable category companion.

Request

Path Params

Query Params

Header Params

Responses

🟢200OK
application/json
Read product succeeded.
Bodyapplication/json

🟠400Bad Request
🟠401Unauthorized
🟠403Forbidden
🟠404Record Not Found
🔴500Server Error
🔴502Bad Gateway
Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'https://sgtr-api.returning.ai/v1/products/prd_agent_01?fields=name%2CdisplayOrder&lang=en' \
--header 'Authorization: Bearer XXXXXX'
Response Response Example
200 - Success Example
{
  "meta": {
    "status": "success",
    "statusCode": 200,
    "code": "PRODUCT_RETRIEVED"
  },
  "message": "Read product successfully",
  "data": {
    "_id": "prd_agent_01",
    "name": "Agent Test Voucher",
    "category": "Premium Rewards",
    "price": 100,
    "stocks": 2,
    "categoryID": "650906d314a3e564c56f3450",
    "redemptionMethodIDs": [],
    "redemptionMethods": [
      {
        "_id": "method_1",
        "enabled": true,
        "title": "Email delivery",
        "description": "Deliver the voucher by email",
        "icon": "mail",
        "defaultFields": {
          "name": true,
          "phone": false,
          "address": false
        },
        "fields": [
          {
            "_id": "recipient_email",
            "name": "Recipient email",
            "description": "Where the voucher will be delivered",
            "placeholder": "name@example.com",
            "type": "text",
            "required": true,
            "fieldOptionsMode": "customField",
            "options": [
              {
                "value": "primary",
                "label": "Primary email",
                "isDefault": true
              }
            ],
            "userFieldSource": {
              "customFieldId": "custom_field_1",
              "separator": ",",
              "defaultSelectFirst": true,
              "userFieldType": "text"
            },
            "displayInDropdown": false
          }
        ],
        "productFields": [
          {
            "id": "field_1",
            "name": "Amount"
          }
        ],
        "redemptionCondition": {
          "enabled": true,
          "title": "Eligibility check",
          "description": "Validated during redemption",
          "localizedFieldLabels": {
            "status": "Eligibility status"
          }
        }
      }
    ],
    "redemptionProductFieldValues": {
      "method_1": {
        "field_1": "250"
      }
    },
    "productPermission": [
      {
        "isEnabled": true,
        "type": "user",
        "permission": {
          "roleNames": [
            "VIP Member"
          ],
          "tagNames": [
            "Early Access"
          ],
          "usernames": [
            "alex"
          ],
          "combination": [
            {
              "type": "role",
              "values": [
                "VIP Member"
              ]
            }
          ],
          "isSelectAll": false
        }
      }
    ]
  }
}
Modified at 2026-08-17 06:50:11
Previous
Update products in bulk
Next
Update product and append vouchers
Built with