younifyd
Menu

Update an existing return address

Update an existing return address

PUT/merchants/{merchantIdentifier}/return-addresses/{merchantReturnAddressId}

Use it in a workflow

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

Request

Path parameters

merchantIdentifieroneOfrequired

Merchant ID or reference key.

merchantReturnAddressIdintegerrequired

The return address ID.

Request body

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

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.

json
{
  "id": 1,
  "name": "Return Point",
  "street": "Domstrasse",
  "streetNo": 10,
  "zipCode": 22303,
  "city": "Hamburg",
  "countryCode": "DE",
  "dhlCode": "JVGL0849489024"
}

Response

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

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.

json
{
  "id": 1,
  "name": "Return Point",
  "street": "Domstrasse",
  "streetNo": 10,
  "zipCode": 22303,
  "city": "Hamburg",
  "countryCode": "DE",
  "dhlCode": "JVGL0849489024"
}

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

Update an existing return address — SCAYLE Admin — Documentation