> For the complete documentation index, see [llms.txt](https://docs.thewalletcrew.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.thewalletcrew.io/api-reference/internal/tenant-settings/stores.md). Agents can also search and read this documentation through its [MCP server](https://docs.thewalletcrew.io/~gitbook/mcp).

# Stores

## List admin stores

> Ordered by identifier.

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"tags":[{"name":"Stores"}],"servers":[{"url":"https://api.thewalletcrew.io","description":"Production Server"},{"url":"https://api-qa.thewalletcrew.io","description":"Staging Server"}],"security":[{"admin-bearer":["tenant.configuration.dataStore:read"]},{"apiKey":[]}],"components":{"securitySchemes":{"admin-bearer":{"type":"oauth2","flows":{"implicit":{"authorizationUrl":"https://auth.neostore.cloud/authorize?audience=https://app.neostore.cloud/api/","scopes":{}}}},"apiKey":{"type":"apiKey","name":"X-API-KEY","in":"header"}},"schemas":{"StoreDefinition":{"required":["latitude","longitude","storeId"],"type":"object","properties":{"storeId":{"type":"string","description":"Store identifier in the retail system; what a holder's `storeId` refers to."},"displayName":{"type":["null","string"],"description":"Display name; null when none."},"address":{"type":["null","string"],"description":"Postal address as free text; null when none."},"longitude":{"type":"number","description":"Longitude in decimal degrees. With latitude, used to find the stores nearest a holder.","format":"double"},"latitude":{"type":"number","description":"Latitude in decimal degrees.","format":"double"},"altitude":{"type":["null","integer"],"description":"Altitude in meters; null when unknown.","format":"int32"},"availableLanguages":{"type":"array","items":{"type":"string"},"description":"ISO 639 codes of the languages spoken, e.g. `fr`."},"advisors":{"type":"array","items":{"description":"Advisor assigned to a store.","$ref":"#/components/schemas/StoreAdvisorDefinition"},"description":"Advisors working in the store."},"additionalProperties":{"type":"object","additionalProperties":{},"description":"Free-form values read by integrations, e.g. `y2.connectionName`."}},"additionalProperties":false,"description":"Full store definition."},"StoreAdvisorDefinition":{"required":["advisorId","displayName"],"type":"object","properties":{"advisorId":{"type":"string","description":"Advisor (sales associate) identifier in the retail system."},"displayName":{"type":"string","description":"Advisor display name."}},"additionalProperties":false,"description":"Advisor assigned to a store."},"ProblemDetails":{"type":"object","properties":{"type":{"type":["null","string"]},"title":{"type":["null","string"]},"status":{"type":["null","integer"],"format":"int32"},"detail":{"type":["null","string"]},"instance":{"type":["null","string"]}},"additionalProperties":{}},"HttpValidationProblemDetails":{"type":"object","allOf":[{"$ref":"#/components/schemas/ProblemDetails"}],"properties":{"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"additionalProperties":{}}}},"paths":{"/api/{tenantId}/admin/stores":{"get":{"tags":["Stores"],"summary":"List admin stores","description":"Ordered by identifier.","parameters":[{"name":"tenantId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Stores returned.","content":{"text/plain":{"schema":{"type":"array","items":{"description":"Full store definition.","$ref":"#/components/schemas/StoreDefinition"}}},"application/json":{"schema":{"type":"array","items":{"description":"Full store definition.","$ref":"#/components/schemas/StoreDefinition"}}},"text/json":{"schema":{"type":"array","items":{"description":"Full store definition.","$ref":"#/components/schemas/StoreDefinition"}}}}},"401":{"description":"The caller is not authenticated.","content":{"application/problem+json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ProblemDetails"},{"$ref":"#/components/schemas/HttpValidationProblemDetails"}]}}}},"403":{"description":"The caller lacks the `tenant.configuration.dataStore:read` scope.","content":{"application/problem+json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ProblemDetails"},{"$ref":"#/components/schemas/HttpValidationProblemDetails"}]}}}},"404":{"description":"The tenant does not exist.","content":{"application/problem+json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ProblemDetails"},{"$ref":"#/components/schemas/HttpValidationProblemDetails"}]}}}},"429":{"description":"Over 1200 requests per minute to this endpoint for the tenant (default limit); retry after `Retry-After`.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Sent when the limiter knows it.","schema":{"type":"integer"}}},"content":{"application/problem+json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ProblemDetails"},{"$ref":"#/components/schemas/HttpValidationProblemDetails"}]}}}}}}}}}
```

## Create store

> Example: \`{ "storeId": "paris-01", "displayName": "Paris Opera", "longitude": 2.331, "latitude": 48.871 }\`.

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"tags":[{"name":"Stores"}],"servers":[{"url":"https://api.thewalletcrew.io","description":"Production Server"},{"url":"https://api-qa.thewalletcrew.io","description":"Staging Server"}],"security":[{"admin-bearer":["tenant.configuration.dataStore:write"]},{"apiKey":[]}],"components":{"securitySchemes":{"admin-bearer":{"type":"oauth2","flows":{"implicit":{"authorizationUrl":"https://auth.neostore.cloud/authorize?audience=https://app.neostore.cloud/api/","scopes":{}}}},"apiKey":{"type":"apiKey","name":"X-API-KEY","in":"header"}},"schemas":{"CreateStoreRequest":{"required":["latitude","longitude","storeId"],"type":"object","properties":{"storeId":{"minLength":1,"type":"string","description":"Store identifier in the retail system. Unique within the tenant, case-insensitive. ASCII letters, digits, hyphens, underscores and dots; immutable."},"displayName":{"maxLength":200,"type":["null","string"],"description":"Display name, up to 200 characters. Optional."},"address":{"type":["null","string"],"description":"Postal address as free text. Optional."},"longitude":{"maximum":180,"minimum":-180,"type":"number","description":"Longitude in decimal degrees, -180 to 180.","format":"double"},"latitude":{"maximum":90,"minimum":-90,"type":"number","description":"Latitude in decimal degrees, -90 to 90.","format":"double"},"altitude":{"type":["null","integer"],"description":"Altitude in meters. Optional.","format":"int32"},"availableLanguages":{"type":"array","items":{"type":"string"},"description":"ISO 639 codes of the languages spoken. Omitted means none."},"advisors":{"type":"array","items":{"description":"Advisor assigned to a store.","$ref":"#/components/schemas/StoreAdvisorRequest"},"description":"Advisors working in the store. Omitted means none."},"additionalProperties":{"type":"object","additionalProperties":{},"description":"Free-form values read by integrations, e.g. `y2.connectionName`. Omitted means none."}},"additionalProperties":false,"description":"Request body to create a store."},"StoreAdvisorRequest":{"required":["advisorId","displayName"],"type":"object","properties":{"advisorId":{"minLength":1,"type":"string","description":"Advisor (sales associate) identifier in the retail system."},"displayName":{"maxLength":200,"minLength":1,"type":"string","description":"Advisor display name, up to 200 characters."}},"additionalProperties":false,"description":"Advisor assigned to a store."},"StoreDefinition":{"required":["latitude","longitude","storeId"],"type":"object","properties":{"storeId":{"type":"string","description":"Store identifier in the retail system; what a holder's `storeId` refers to."},"displayName":{"type":["null","string"],"description":"Display name; null when none."},"address":{"type":["null","string"],"description":"Postal address as free text; null when none."},"longitude":{"type":"number","description":"Longitude in decimal degrees. With latitude, used to find the stores nearest a holder.","format":"double"},"latitude":{"type":"number","description":"Latitude in decimal degrees.","format":"double"},"altitude":{"type":["null","integer"],"description":"Altitude in meters; null when unknown.","format":"int32"},"availableLanguages":{"type":"array","items":{"type":"string"},"description":"ISO 639 codes of the languages spoken, e.g. `fr`."},"advisors":{"type":"array","items":{"description":"Advisor assigned to a store.","$ref":"#/components/schemas/StoreAdvisorDefinition"},"description":"Advisors working in the store."},"additionalProperties":{"type":"object","additionalProperties":{},"description":"Free-form values read by integrations, e.g. `y2.connectionName`."}},"additionalProperties":false,"description":"Full store definition."},"StoreAdvisorDefinition":{"required":["advisorId","displayName"],"type":"object","properties":{"advisorId":{"type":"string","description":"Advisor (sales associate) identifier in the retail system."},"displayName":{"type":"string","description":"Advisor display name."}},"additionalProperties":false,"description":"Advisor assigned to a store."},"ProblemDetails":{"type":"object","properties":{"type":{"type":["null","string"]},"title":{"type":["null","string"]},"status":{"type":["null","integer"],"format":"int32"},"detail":{"type":["null","string"]},"instance":{"type":["null","string"]}},"additionalProperties":{}},"HttpValidationProblemDetails":{"type":"object","allOf":[{"$ref":"#/components/schemas/ProblemDetails"}],"properties":{"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"additionalProperties":{}}}},"paths":{"/api/{tenantId}/admin/stores":{"post":{"tags":["Stores"],"summary":"Create store","description":"Example: `{ \"storeId\": \"paris-01\", \"displayName\": \"Paris Opera\", \"longitude\": 2.331, \"latitude\": 48.871 }`.","parameters":[{"name":"tenantId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"description":"The store to create.","content":{"application/json":{"schema":{"description":"Request body to create a store.","$ref":"#/components/schemas/CreateStoreRequest"}},"text/json":{"schema":{"description":"Request body to create a store.","$ref":"#/components/schemas/CreateStoreRequest"}},"application/*+json":{"schema":{"description":"Request body to create a store.","$ref":"#/components/schemas/CreateStoreRequest"}}},"required":true},"responses":{"201":{"description":"Store created.","content":{"text/plain":{"schema":{"description":"Full store definition.","$ref":"#/components/schemas/StoreDefinition"}},"application/json":{"schema":{"description":"Full store definition.","$ref":"#/components/schemas/StoreDefinition"}},"text/json":{"schema":{"description":"Full store definition.","$ref":"#/components/schemas/StoreDefinition"}}}},"400":{"description":"Required field missing, coordinate out of range, name too long, or forbidden identifier character.","content":{"text/plain":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ProblemDetails"},{"$ref":"#/components/schemas/HttpValidationProblemDetails"}]}},"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ProblemDetails"},{"$ref":"#/components/schemas/HttpValidationProblemDetails"}]}},"text/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ProblemDetails"},{"$ref":"#/components/schemas/HttpValidationProblemDetails"}]}}}},"401":{"description":"The caller is not authenticated.","content":{"application/problem+json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ProblemDetails"},{"$ref":"#/components/schemas/HttpValidationProblemDetails"}]}}}},"403":{"description":"The caller lacks the `tenant.configuration.dataStore:write` scope.","content":{"application/problem+json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ProblemDetails"},{"$ref":"#/components/schemas/HttpValidationProblemDetails"}]}}}},"404":{"description":"The tenant does not exist.","content":{"application/problem+json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ProblemDetails"},{"$ref":"#/components/schemas/HttpValidationProblemDetails"}]}}}},"409":{"description":"A store with this identifier already exists.","content":{"text/plain":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ProblemDetails"},{"$ref":"#/components/schemas/HttpValidationProblemDetails"}]}},"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ProblemDetails"},{"$ref":"#/components/schemas/HttpValidationProblemDetails"}]}},"text/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ProblemDetails"},{"$ref":"#/components/schemas/HttpValidationProblemDetails"}]}}}},"429":{"description":"Over 1200 requests per minute to this endpoint for the tenant (default limit); retry after `Retry-After`.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Sent when the limiter knows it.","schema":{"type":"integer"}}},"content":{"application/problem+json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ProblemDetails"},{"$ref":"#/components/schemas/HttpValidationProblemDetails"}]}}}}}}}}}
```

## GET /api/{tenantId}/admin/stores/{storeId}

> Get store

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"tags":[{"name":"Stores"}],"servers":[{"url":"https://api.thewalletcrew.io","description":"Production Server"},{"url":"https://api-qa.thewalletcrew.io","description":"Staging Server"}],"security":[{"admin-bearer":["tenant.configuration.dataStore:read"]},{"apiKey":[]}],"components":{"securitySchemes":{"admin-bearer":{"type":"oauth2","flows":{"implicit":{"authorizationUrl":"https://auth.neostore.cloud/authorize?audience=https://app.neostore.cloud/api/","scopes":{}}}},"apiKey":{"type":"apiKey","name":"X-API-KEY","in":"header"}},"schemas":{"StoreDefinition":{"required":["latitude","longitude","storeId"],"type":"object","properties":{"storeId":{"type":"string","description":"Store identifier in the retail system; what a holder's `storeId` refers to."},"displayName":{"type":["null","string"],"description":"Display name; null when none."},"address":{"type":["null","string"],"description":"Postal address as free text; null when none."},"longitude":{"type":"number","description":"Longitude in decimal degrees. With latitude, used to find the stores nearest a holder.","format":"double"},"latitude":{"type":"number","description":"Latitude in decimal degrees.","format":"double"},"altitude":{"type":["null","integer"],"description":"Altitude in meters; null when unknown.","format":"int32"},"availableLanguages":{"type":"array","items":{"type":"string"},"description":"ISO 639 codes of the languages spoken, e.g. `fr`."},"advisors":{"type":"array","items":{"description":"Advisor assigned to a store.","$ref":"#/components/schemas/StoreAdvisorDefinition"},"description":"Advisors working in the store."},"additionalProperties":{"type":"object","additionalProperties":{},"description":"Free-form values read by integrations, e.g. `y2.connectionName`."}},"additionalProperties":false,"description":"Full store definition."},"StoreAdvisorDefinition":{"required":["advisorId","displayName"],"type":"object","properties":{"advisorId":{"type":"string","description":"Advisor (sales associate) identifier in the retail system."},"displayName":{"type":"string","description":"Advisor display name."}},"additionalProperties":false,"description":"Advisor assigned to a store."},"ProblemDetails":{"type":"object","properties":{"type":{"type":["null","string"]},"title":{"type":["null","string"]},"status":{"type":["null","integer"],"format":"int32"},"detail":{"type":["null","string"]},"instance":{"type":["null","string"]}},"additionalProperties":{}},"HttpValidationProblemDetails":{"type":"object","allOf":[{"$ref":"#/components/schemas/ProblemDetails"}],"properties":{"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"additionalProperties":{}}}},"paths":{"/api/{tenantId}/admin/stores/{storeId}":{"get":{"tags":["Stores"],"summary":"Get store","parameters":[{"name":"storeId","in":"path","required":true,"schema":{"type":"string"}},{"name":"tenantId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Store returned.","content":{"text/plain":{"schema":{"description":"Full store definition.","$ref":"#/components/schemas/StoreDefinition"}},"application/json":{"schema":{"description":"Full store definition.","$ref":"#/components/schemas/StoreDefinition"}},"text/json":{"schema":{"description":"Full store definition.","$ref":"#/components/schemas/StoreDefinition"}}}},"401":{"description":"The caller is not authenticated.","content":{"application/problem+json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ProblemDetails"},{"$ref":"#/components/schemas/HttpValidationProblemDetails"}]}}}},"403":{"description":"The caller lacks the `tenant.configuration.dataStore:read` scope.","content":{"application/problem+json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ProblemDetails"},{"$ref":"#/components/schemas/HttpValidationProblemDetails"}]}}}},"404":{"description":"Store not found, or the tenant does not exist.","content":{"text/plain":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ProblemDetails"},{"$ref":"#/components/schemas/HttpValidationProblemDetails"}]}},"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ProblemDetails"},{"$ref":"#/components/schemas/HttpValidationProblemDetails"}]}},"text/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ProblemDetails"},{"$ref":"#/components/schemas/HttpValidationProblemDetails"}]}}}},"429":{"description":"Over 1200 requests per minute to this endpoint for the tenant (default limit); retry after `Retry-After`.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Sent when the limiter knows it.","schema":{"type":"integer"}}},"content":{"application/problem+json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ProblemDetails"},{"$ref":"#/components/schemas/HttpValidationProblemDetails"}]}}}}}}}}}
```

## Update store

> Replaces every field except the identifier: a field left out is cleared, not kept.

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"tags":[{"name":"Stores"}],"servers":[{"url":"https://api.thewalletcrew.io","description":"Production Server"},{"url":"https://api-qa.thewalletcrew.io","description":"Staging Server"}],"security":[{"admin-bearer":["tenant.configuration.dataStore:write"]},{"apiKey":[]}],"components":{"securitySchemes":{"admin-bearer":{"type":"oauth2","flows":{"implicit":{"authorizationUrl":"https://auth.neostore.cloud/authorize?audience=https://app.neostore.cloud/api/","scopes":{}}}},"apiKey":{"type":"apiKey","name":"X-API-KEY","in":"header"}},"schemas":{"UpdateStoreRequest":{"required":["latitude","longitude"],"type":"object","properties":{"displayName":{"maxLength":200,"type":["null","string"],"description":"Display name, up to 200 characters. Omitted clears it."},"address":{"type":["null","string"],"description":"Postal address as free text. Omitted clears it."},"longitude":{"maximum":180,"minimum":-180,"type":"number","description":"Longitude in decimal degrees, -180 to 180.","format":"double"},"latitude":{"maximum":90,"minimum":-90,"type":"number","description":"Latitude in decimal degrees, -90 to 90.","format":"double"},"altitude":{"type":["null","integer"],"description":"Altitude in meters. Omitted clears it.","format":"int32"},"availableLanguages":{"type":"array","items":{"type":"string"},"description":"ISO 639 codes of the languages spoken. Omitted means none."},"advisors":{"type":"array","items":{"description":"Advisor assigned to a store.","$ref":"#/components/schemas/StoreAdvisorRequest"},"description":"Advisors working in the store, replacing the current ones. Omitted means none."},"additionalProperties":{"type":"object","additionalProperties":{},"description":"Free-form values read by integrations, e.g. `y2.connectionName`. Omitted means none."}},"additionalProperties":false,"description":"Request body to update a store. Replaces every field except the identifier."},"StoreAdvisorRequest":{"required":["advisorId","displayName"],"type":"object","properties":{"advisorId":{"minLength":1,"type":"string","description":"Advisor (sales associate) identifier in the retail system."},"displayName":{"maxLength":200,"minLength":1,"type":"string","description":"Advisor display name, up to 200 characters."}},"additionalProperties":false,"description":"Advisor assigned to a store."},"StoreDefinition":{"required":["latitude","longitude","storeId"],"type":"object","properties":{"storeId":{"type":"string","description":"Store identifier in the retail system; what a holder's `storeId` refers to."},"displayName":{"type":["null","string"],"description":"Display name; null when none."},"address":{"type":["null","string"],"description":"Postal address as free text; null when none."},"longitude":{"type":"number","description":"Longitude in decimal degrees. With latitude, used to find the stores nearest a holder.","format":"double"},"latitude":{"type":"number","description":"Latitude in decimal degrees.","format":"double"},"altitude":{"type":["null","integer"],"description":"Altitude in meters; null when unknown.","format":"int32"},"availableLanguages":{"type":"array","items":{"type":"string"},"description":"ISO 639 codes of the languages spoken, e.g. `fr`."},"advisors":{"type":"array","items":{"description":"Advisor assigned to a store.","$ref":"#/components/schemas/StoreAdvisorDefinition"},"description":"Advisors working in the store."},"additionalProperties":{"type":"object","additionalProperties":{},"description":"Free-form values read by integrations, e.g. `y2.connectionName`."}},"additionalProperties":false,"description":"Full store definition."},"StoreAdvisorDefinition":{"required":["advisorId","displayName"],"type":"object","properties":{"advisorId":{"type":"string","description":"Advisor (sales associate) identifier in the retail system."},"displayName":{"type":"string","description":"Advisor display name."}},"additionalProperties":false,"description":"Advisor assigned to a store."},"ProblemDetails":{"type":"object","properties":{"type":{"type":["null","string"]},"title":{"type":["null","string"]},"status":{"type":["null","integer"],"format":"int32"},"detail":{"type":["null","string"]},"instance":{"type":["null","string"]}},"additionalProperties":{}},"HttpValidationProblemDetails":{"type":"object","allOf":[{"$ref":"#/components/schemas/ProblemDetails"}],"properties":{"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"additionalProperties":{}}}},"paths":{"/api/{tenantId}/admin/stores/{storeId}":{"put":{"tags":["Stores"],"summary":"Update store","description":"Replaces every field except the identifier: a field left out is cleared, not kept.","parameters":[{"name":"storeId","in":"path","description":"Store identifier, case-insensitive.","required":true,"schema":{"type":"string"}},{"name":"tenantId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"description":"The full store definition.","content":{"application/json":{"schema":{"description":"Request body to update a store. Replaces every field except the identifier.","$ref":"#/components/schemas/UpdateStoreRequest"}},"text/json":{"schema":{"description":"Request body to update a store. Replaces every field except the identifier.","$ref":"#/components/schemas/UpdateStoreRequest"}},"application/*+json":{"schema":{"description":"Request body to update a store. Replaces every field except the identifier.","$ref":"#/components/schemas/UpdateStoreRequest"}}},"required":true},"responses":{"200":{"description":"Store updated.","content":{"text/plain":{"schema":{"description":"Full store definition.","$ref":"#/components/schemas/StoreDefinition"}},"application/json":{"schema":{"description":"Full store definition.","$ref":"#/components/schemas/StoreDefinition"}},"text/json":{"schema":{"description":"Full store definition.","$ref":"#/components/schemas/StoreDefinition"}}}},"400":{"description":"Required field missing, coordinate out of range, or name too long.","content":{"text/plain":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ProblemDetails"},{"$ref":"#/components/schemas/HttpValidationProblemDetails"}]}},"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ProblemDetails"},{"$ref":"#/components/schemas/HttpValidationProblemDetails"}]}},"text/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ProblemDetails"},{"$ref":"#/components/schemas/HttpValidationProblemDetails"}]}}}},"401":{"description":"The caller is not authenticated.","content":{"application/problem+json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ProblemDetails"},{"$ref":"#/components/schemas/HttpValidationProblemDetails"}]}}}},"403":{"description":"The caller lacks the `tenant.configuration.dataStore:write` scope.","content":{"application/problem+json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ProblemDetails"},{"$ref":"#/components/schemas/HttpValidationProblemDetails"}]}}}},"404":{"description":"Store not found, or the tenant does not exist.","content":{"text/plain":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ProblemDetails"},{"$ref":"#/components/schemas/HttpValidationProblemDetails"}]}},"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ProblemDetails"},{"$ref":"#/components/schemas/HttpValidationProblemDetails"}]}},"text/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ProblemDetails"},{"$ref":"#/components/schemas/HttpValidationProblemDetails"}]}}}},"429":{"description":"Over 1200 requests per minute to this endpoint for the tenant (default limit); retry after `Retry-After`.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Sent when the limiter knows it.","schema":{"type":"integer"}}},"content":{"application/problem+json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ProblemDetails"},{"$ref":"#/components/schemas/HttpValidationProblemDetails"}]}}}}}}}}}
```

## Delete store

> Holders whose \`storeId\` refers to it are not changed.

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"tags":[{"name":"Stores"}],"servers":[{"url":"https://api.thewalletcrew.io","description":"Production Server"},{"url":"https://api-qa.thewalletcrew.io","description":"Staging Server"}],"security":[{"admin-bearer":["tenant.configuration.dataStore:write"]},{"apiKey":[]}],"components":{"securitySchemes":{"admin-bearer":{"type":"oauth2","flows":{"implicit":{"authorizationUrl":"https://auth.neostore.cloud/authorize?audience=https://app.neostore.cloud/api/","scopes":{}}}},"apiKey":{"type":"apiKey","name":"X-API-KEY","in":"header"}},"schemas":{"ProblemDetails":{"type":"object","properties":{"type":{"type":["null","string"]},"title":{"type":["null","string"]},"status":{"type":["null","integer"],"format":"int32"},"detail":{"type":["null","string"]},"instance":{"type":["null","string"]}},"additionalProperties":{}},"HttpValidationProblemDetails":{"type":"object","allOf":[{"$ref":"#/components/schemas/ProblemDetails"}],"properties":{"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"additionalProperties":{}}}},"paths":{"/api/{tenantId}/admin/stores/{storeId}":{"delete":{"tags":["Stores"],"summary":"Delete store","description":"Holders whose `storeId` refers to it are not changed.","parameters":[{"name":"storeId","in":"path","description":"Store identifier, case-insensitive.","required":true,"schema":{"type":"string"}},{"name":"tenantId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Store deleted."},"401":{"description":"The caller is not authenticated.","content":{"application/problem+json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ProblemDetails"},{"$ref":"#/components/schemas/HttpValidationProblemDetails"}]}}}},"403":{"description":"The caller lacks the `tenant.configuration.dataStore:write` scope.","content":{"application/problem+json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ProblemDetails"},{"$ref":"#/components/schemas/HttpValidationProblemDetails"}]}}}},"404":{"description":"Store not found, or the tenant does not exist.","content":{"text/plain":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ProblemDetails"},{"$ref":"#/components/schemas/HttpValidationProblemDetails"}]}},"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ProblemDetails"},{"$ref":"#/components/schemas/HttpValidationProblemDetails"}]}},"text/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ProblemDetails"},{"$ref":"#/components/schemas/HttpValidationProblemDetails"}]}}}},"429":{"description":"Over 1200 requests per minute to this endpoint for the tenant (default limit); retry after `Retry-After`.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Sent when the limiter knows it.","schema":{"type":"integer"}}},"content":{"application/problem+json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ProblemDetails"},{"$ref":"#/components/schemas/HttpValidationProblemDetails"}]}}}}}}}}}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.thewalletcrew.io/api-reference/internal/tenant-settings/stores.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
