Get Merchant Realm Mapping
GET
the merchant realm mapping for the current store
For a direct GET on a resource, see Get Merchant Realm Mapping by ID.
https://api.moltin.com/v2/merchant-realm-mappings
Headers:
Name | Required | Type | Description |
---|---|---|---|
Authorization | Required | string | The Bearer token to grant access to the API. |
200 OK
{
"data": {
"id": "925c8617-41b3-44fa-ac4b-2f6edd1bd3c5",
"prefix": "mystore",
"realm_id": "e730bf37-ed95-4ca9-b4c4-2c5ee08b21d7",
"store_id": "88888888-4444-4333-8333-111111111111",
"type": "merchant-realm-mappings"
}
}
curl -X GET https://api.moltin.com/v2/merchant-realm-mappings \
-H "Authorization: Bearer XXXX"
GET
a merchant realm mapping by ID
https://api.moltin.com/v2/merchant-realm-mappings/:mapping-id
Path Parameters:
Name | Required | Type | Description |
---|---|---|---|
mapping-id | Required | string | The ID for the requested merchant realm mapping. |
Headers:
Name | Required | Type | Description |
---|---|---|---|
Authorization | Required | string | The Bearer token to grant access to the API. |
200 OK
{
"data": {
"id": "925c8617-41b3-44fa-ac4b-2f6edd1bd3c5",
"prefix": "mystore",
"realm_id": "e730bf37-ed95-4ca9-b4c4-2c5ee08b21d7",
"store_id": "88888888-4444-4333-8333-111111111111",
"type": "merchant-realm-mappings"
}
}
curl -X GET https://api.moltin.com/v2/merchant-realm-mappings/925c8617-41b3-44fa-ac4b-2f6edd1bd3c5 \
-H "Authorization: Bearer XXXX"