Authorization headerstore permissioncommunityID401 if the key is missing, invalid, or expired403 if the key does not include the store permissionfields is a comma-separated projection and must use selectable store configuration fieldslang selects translated content when the store has localized fieldsfields values return 400502{ "query": "?fields=title,widget&lang=en" }/stores with the request body, query parameters, or multipart fields shown below. Partner API key required when this surface is enabled for the community. Confirm gateway access before using in production.https://api.returning.ai; keep it marked non-primary until the gateway alias is confirmed.data with status and message.400 invalid request body, query, ObjectId, pagination, file format, or missing required field.401 missing, invalid, expired, or insufficient API key/token.403 key is valid but cannot access this community/channel/user/resource, where supported by the service.404 target resource, route, or community-scoped record was not found.409 duplicate or conflicting state for create/update operations, where applicable.500 unexpected Returning.AI service error.curl --location 'https://api.returning.ai/stores?fields=title%2Cwidget&lang=en' \
--header 'Authorization: Bearer XXXXXX'{
"meta": {
"status": "success",
"statusCode": 200
},
"message": "Read store config success.",
"data": {
"_id": "507f1f77bcf86cd799439011",
"communityID": "6502c9e514a3e564c5c09c0a",
"isEnabled": true,
"title": "Rewards Store",
"description": "<p>Redeem community rewards.</p>",
"cover": {
"type": "image",
"value": "https://example.com/cover.png"
},
"currency": {
"name": "Coins",
"symbol": "coin"
},
"widgetID": "650906d314a3e564c56f3450",
"widget": {
"isEnabled": true
},
"createdAt": "2026-04-28T00:00:00.000Z",
"updatedAt": "2026-04-28T00:00:00.000Z"
}
}