Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Store

List readable stores

get
/api/{tenantId}/stores

Administrators get every store; other callers get the stores they hold tenant.store:read on, or an empty list.

Path parameters
tenantIdstringRequired
Responses
200

Readable stores with their texts; possibly empty.

A physical store.

storeIdstringRequired

Store id; the storeId of the other store routes.

displayNamestringRequired

Store name shown to staff and holders.

availableLanguagesstring[] · nullableOptional

Languages served; null if none.

additionalResourcesobject · nullableOptional

Store texts by culture name (same as GET {storeId}/additionalResources); cultures without text are absent.

additionalPropertiesobject · nullableOptional

Tenant-specific attributes; keys depend on the tenant's store directory; null if none.

get/api/{tenantId}/stores
GET /api/{tenantId}/stores HTTP/1.1
Host: api.thewalletcrew.io
Accept: */*
[
  {
    "storeId": "text",
    "displayName": "text",
    "availableLanguages": [
      "text"
    ],
    "additionalResources": null,
    "additionalProperties": null
  }
]

Get a store with its texts

get
/api/{tenantId}/stores/{storeId}
Required scopes
This endpoint requires the following scopes:
Authorizations
OAuth2implicitRequired
Authorization URL:
Path parameters
storeIdstringRequired

Store id.

tenantIdstringRequired
Responses
200

The store, with texts and tenant-specific attributes.

A physical store.

storeIdstringRequired

Store id; the storeId of the other store routes.

displayNamestringRequired

Store name shown to staff and holders.

availableLanguagesstring[] · nullableOptional

Languages served; null if none.

additionalResourcesobject · nullableOptional

Store texts by culture name (same as GET {storeId}/additionalResources); cultures without text are absent.

additionalPropertiesobject · nullableOptional

Tenant-specific attributes; keys depend on the tenant's store directory; null if none.

get/api/{tenantId}/stores/{storeId}
GET /api/{tenantId}/stores/{storeId} HTTP/1.1
Host: api.thewalletcrew.io
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
  "storeId": "text",
  "displayName": "text",
  "availableLanguages": [
    "text"
  ],
  "additionalResources": null,
  "additionalProperties": null
}

Get store texts

get
/api/{tenantId}/stores/{storeId}/additionalResources

Texts per culture, e.g. {"en": {"hours": "Mon-Fri 9AM-9PM"}}. Cultures without text are left out; an unknown store or one with no text returns an empty object.

Path parameters
storeIdstringRequired

Store id.

tenantIdstringRequired
Responses
200

Texts per culture; possibly empty.

Other propertiesanyOptional
get/api/{tenantId}/stores/{storeId}/additionalResources
GET /api/{tenantId}/stores/{storeId}/additionalResources HTTP/1.1
Host: api.thewalletcrew.io
Accept: */*
{
  "ANY_ADDITIONAL_PROPERTY": "anything"
}

List store advisors

get
/api/{tenantId}/stores/{storeId}/advisors
Required scopes
This endpoint requires the following scopes:
Authorizations
OAuth2implicitRequired
Authorization URL:
Path parameters
storeIdstringRequired

Store id.

tenantIdstringRequired
Responses
200

Advisors; possibly empty.

A store staff member.

advisorIdstringRequired

Advisor id.

displayNamestringRequired

Advisor name shown to staff and holders.

get/api/{tenantId}/stores/{storeId}/advisors
GET /api/{tenantId}/stores/{storeId}/advisors HTTP/1.1
Host: api.thewalletcrew.io
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
[
  {
    "advisorId": "text",
    "displayName": "text"
  }
]

Last updated