younifyd
Menu

Get a merchant

Get a merchant

GET/merchants/{merchantIdentifier}

Use it in a workflow

  1. Add a step and choose the SCAYLE Admin connector.
  2. Pick the Get a merchant action (under Merchants).
  3. Fill in the fields below, then reference the result from later steps as {{getAMerchant.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.

Response

Returns 200 with an object. Read it in later steps with {{getAMerchant.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.

contactsarray<object>

A list of merchant contacts.

idinteger

The ID of the contact created by SCAYLE.

namestring

The name of the contact.

emailstring

The email of the contact.

phonestring

The phone of the contact.

cellPhonestring

The cell phone of the contact.

typestring

The type of the contact.

positionstring

The position of the contact.

descriptionstring

The description of the contact.

returnAddressesarray<object>

A list of merchant return addresses.

idinteger

The ID of the return address created by SCAYLE.

namestring

The name of the return address.

streetstring

The street name of the return address.

streetNostring

The street number of the return address.

zipCodestring

The postal code of the return address.

citystring

The city name of the return address.

countryCodestring

ISO 3166 alpha 2 country code.

dhlCodestring

The DHL code of the return address.

carriersarray<object>

A list of carriers attached to the merchant.

countryCodestringrequired

ISO 3166 alpha 2 country code.

carrierobjectrequired4 fields
warehousesarray<object>

A list of warehouses attached to the merchant.

idinteger

The ID of the warehouse created by SCAYLE.

referenceKeystringrequired

A key that uniquely identifies the warehouse within the tenant's ecosystem.

customDataany
json
{
  "referenceKey": "acme",
  "name": "ACME",
  "id": 1,
  "priority": 1,
  "orderDelegationUrl": "string",
  "cancellationUrl": "string",
  "contacts": [
    {
      "id": 1,
      "name": "John Doe",
      "email": "foo@bar.org",
      "phone": 123456789,
      "cellPhone": 123456789,
      "type": "general",
      "position": "Partner Service",
      "description": "string"
    }
  ],
  "returnAddresses": [
    {
      "id": 1,
      "name": "Return Point",
      "street": "Domstrasse",
      "streetNo": 10,
      "zipCode": 22303,
      "city": "Hamburg",
      "countryCode": "DE",
      "dhlCode": "JVGL0849489024"
    }
  ],
  "carriers": [
    {
      "countryCode": "DE",
      "carrier": {
        "key": "DHL_STD_NATIONAL",
        "name": "DHL",
        "id": 1,
        "trackingUrl": "http://nolp.dhl.de/nextt-online-public/set_identcodes.do"
      }
    }
  ],
  "warehouses": [
    {
      "referenceKey": "my-warehouse",
      "id": 1
    }
  ],
  "customData": null
}

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