Update Merchant Settings Prefix
PUT
to update Merchant settings Prefix
https://api.moltin.com/v2/merchant-realm-mappings/:mappingId
Headers:
Name | Required | Type | Description |
---|---|---|---|
Authorization | Required | string | The Bearer token to grant access to the API. |
Body:
Name | Required | Type | Description |
---|---|---|---|
type | Required | string | merchant-realm-mappings |
prefix | Required | string | The prefix name to associate with a store. |
200 OK
{
"data": {
"id": "925c8617-41b3-44fa-ac4b-2f6edd1bd3c5",
"prefix": "awesomeName",
"realm_id": "e730bf37-ed95-4ca9-b4c4-2c5ee08b21d7",
"store_id": "88888888-4444-4333-8333-111111111111",
"type": "merchant-realm-mappings"
}
}
curl -X POST https://api.moltin.com/v2/merchant-realm-mappings/:mappingId \
-H "Authorization: Bearer XXXX" \
-H "Content-Type: application/json" \
-d $'{
"data": {
"type": "merchant-realm-mappings",
"prefix": "awesomeName"
}
}'