Get a Merchant Realm Mapping
GEThttps://useast.api.elasticpath.com/v2/merchant-realm-mappings/:mapping_id
Get a Merchant Realm Mapping
Request
Path Parameters
mapping_id stringrequired
The id of the Application Key.
Responses
- 200
- 404
- 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"
}
}
Not found. The requested entity does not exist.
- application/json
- Schema
- Example (from schema)
- not-found
Schema
errors Error[]required
{
"errors": [
{
"title": "string",
"status": "string",
"detail": "string"
}
]
}
Requested entity not found
{
"errors": [
{
"detail": "merchant realm mapping not found",
"status": "404",
"title": "Not Found"
}
]
}
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/:mapping_id' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'
ResponseClear