younifyd
Menu

Update Merchant Realm Mapping

Update a Merchant Realm Mapping

PUT/v2/merchant-realm-mappings/{mapping_id}

Use it in a workflow

  1. Add a step and choose the Elastic Path connector.
  2. Pick the Update Merchant Realm Mapping action (under Merchant Realm Mappings).
  3. Fill in the fields below, then reference the result from later steps as {{updateMerchantRealmMapping.response.data}}.

Request

Path parameters

mapping_idstringrequired

The id of the Application Key.

Request body

Enter the body as JSON in the step's Body field.

dataobjectrequired
prefixstring

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

typestring

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

json
{
  "data": {
    "prefix": "myCompany",
    "type": "string"
  }
}

Response

Returns 200 with an object. Read it in later steps with {{updateMerchantRealmMapping.response.data.<field>}}.

dataobject
idstring (uuid)

The unique identifier for this merchant realm mapping.

prefixstring

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

typestring

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

realm_idstring

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

store_idstring

System-generated store ID.

json
{
  "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"
  }
}

Need more? See the Elastic Path guide for connection setup and behaviour shared by every action.

Update Merchant Realm Mapping — Elastic Path — Documentation