Get the Merchant Realm Mapping for the current store
GEThttps://useast.api.elasticpath.com/v2/merchant-realm-mappings
This API is used to obtain an Authentication Realm if there is none yet for the current store.
Responses
- 200
- 401
- default
OK
- application/json
- Schema
- Example (from schema)
Schema
data objectrequired
{
"data": {
"id": "0c45e4ec-26e0-4043-86e4-c15b9cf985a0",
"prefix": "myCompany",
"type": "string",
"realm_id": "e730bf37-ed95-4ca9-b4c4-2c5ee08b21d7",
"store_id": "88888888-4444-4333-8333-111111111111"
}
}
Unauthorized
- application/json
- Schema
- Example (from schema)
- unauthorized-error
Schema
errors Error[]required
{
"errors": [
{
"title": "string",
"status": "string",
"detail": "string"
}
]
}
{
"errors": [
{
"title": "Unauthorized",
"status": "401"
}
]
}
Internal server error. There was a system failure in the platform.
- application/json
- Schema
- Example (from schema)
- internal-server-error
Schema
errors Error[]required
{
"errors": [
{
"title": "string",
"status": "string",
"detail": "string"
}
]
}
Internal server error
{
"errors": [
{
"title": "Internal Server Error",
"status": "500",
"detail": "there was a problem processing your request"
}
]
}
Authorization: http
name: bearerAuthtype: httpscheme: bearer
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L -X GET 'https://useast.api.elasticpath.com/v2/merchant-realm-mappings' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'
ResponseClear