Menu
Update Merchant Realm Mapping
Update a Merchant Realm Mapping
PUT
/v2/merchant-realm-mappings/{mapping_id}Use it in a workflow
- Add a step and choose the Elastic Path connector.
- Pick the Update Merchant Realm Mapping action (under Merchant Realm Mappings).
- Fill in the fields below, then reference the result from later steps as
{{updateMerchantRealmMapping.response.data}}.
Request
Path parameters
Request body
Enter the body as JSON in the step's Body field.
{
"data": {
"prefix": "myCompany",
"type": "string"
}
}
Response
Returns 200 with an object. Read it in later steps with {{updateMerchantRealmMapping.response.data.<field>}}.
{
"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.
Was this page helpful?