Get the Merchant Realm Mapping for the current store
GET/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
The unique identifier for this merchant realm mapping.
The store prefix that is assigned to this merchant realm mapping. This can be null if a store prefix has not been assigned.
Represents the type of object being returned. Always merchant-realm-mappings.
The ID of the authentication realm used to sign in as administrator.
System-generated store ID.
{
  "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
- Array [
 - ]
 
errors Error[]required
A brief summary of the error.
The HTTP response code of the error.
Optional additional detail about the error.
{
  "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
- Array [
 - ]
 
errors Error[]required
A brief summary of the error.
The HTTP response code of the error.
Optional additional detail about the error.
{
  "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"
    }
  ]
}