Skip to main content

Get the Merchant Realm Mapping for the current store

GET 

https://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

OK

Schema
    data objectrequired
    idstring<uuid>

    The unique identifier for this merchant realm mapping.

    Example: 0c45e4ec-26e0-4043-86e4-c15b9cf985a0
    prefixstring

    The store prefix that is assigned to this merchant realm mapping. This can be null if a store prefix has not been assigned.

    Example: myCompany
    typestring

    Represents the type of object being returned. Always merchant-realm-mappings.

    Constant value: merchant-realm-mappings
    realm_idstring

    The ID of the authentication realm used to sign in as administrator.

    Example: e730bf37-ed95-4ca9-b4c4-2c5ee08b21d7
    store_idstring

    System-generated store ID.

    Example: 88888888-4444-4333-8333-111111111111

Authorization: http

name: bearerAuthtype: httpscheme: bearer
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "https://useast.api.elasticpath.com/v2/merchant-realm-mappings");
request.Headers.Add("Accept", "application/json");
request.Headers.Add("Authorization", "Bearer <token>");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
Request Collapse all
Base URL
https://useast.api.elasticpath.com
Auth
ResponseClear

Click the Send API Request button above and see the response here!