younifyd
Menu

Create a new merchant

Create a new merchant

POST/merchants

Use it in a workflow

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

Request

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 201 with an object. Read it in later steps with {{createANewMerchant.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.

Create a new merchant — SCAYLE Admin — Documentation