younifyd
Menu

Update an existing merchant

Update an existing merchant

PUT/merchants/{merchantIdentifier}

Use it in a workflow

  1. Add a step and choose the SCAYLE Admin connector.
  2. Pick the Update an existing merchant action (under Merchants).
  3. Fill in the fields below, then reference the result from later steps as {{updateAnExistingMerchant.response.data}}.

Request

Path parameters

merchantIdentifieroneOfrequired

Merchant ID or reference key.

Query parameters

witharray<string>

Comma-separated list of additional properties that should be included in the response.

Request body

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

idinteger

The ID of the merchant created by SCAYLE.

referenceKeystringrequired

Reference key of the merchant.

namestringrequired

Name of the merchant.

priorityinteger

Priority of the merchant.

orderDelegationUrlstring (uri)

URL to send order delegation requests to the merchants.

cancellationUrlstring (uri)

URL to send order cancellation requests.

customDataany
json
{
  "referenceKey": "acme",
  "name": "ACME",
  "id": 1,
  "priority": 1,
  "orderDelegationUrl": "string",
  "cancellationUrl": "string",
  "customData": null
}

Response

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

idinteger

The ID of the merchant created by SCAYLE.

referenceKeystring

Reference key of the merchant.

namestring

Name of the merchant.

priorityinteger

Priority of the merchant.

orderDelegationUrlstring (uri)

URL to send order delegation requests to the merchants.

cancellationUrlstring (uri)

URL to send order cancellation requests.

customDataany
json
{
  "referenceKey": "acme",
  "name": "ACME",
  "id": 1,
  "priority": 1,
  "orderDelegationUrl": "string",
  "cancellationUrl": "string",
  "customData": null
}

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

Update an existing merchant — SCAYLE Admin — Documentation