Update a Merchant Realm Mapping
PUT/v2/merchant-realm-mappings/:mapping_id
Update a Merchant Realm Mapping
Request
Path Parameters
The id of the Application Key.
- application/json
Body
required
data MerchantRealmMappingrequired
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
.
Responses
- 200
- 400
- 404
- 409
- 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"
}
}
Bad request. The request failed validation.
- application/json
- Schema
- Example (from schema)
- missing-name
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": [
{
"detail": "The field 'prefix' is required.",
"status": "400",
"title": "Bad Request"
}
]
}
Not found. The requested entity does not exist.
- application/json
- Schema
- Example (from schema)
- not-found
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": [
{
"detail": "merchant realm mapping not found",
"status": "404",
"title": "Not Found"
}
]
}
Conflict
- application/json
- Schema
- Example (from schema)
- conflict-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": [
{
"detail": "the prefix is already in use",
"status": "409",
"title": "Conflict"
}
]
}
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"
}
]
}
{
"errors": [
{
"title": "Internal Server Error",
"status": "500",
"detail": "there was a problem processing your request"
}
]
}