younifyd
Menu

Create Shipping Address

Create a new shipping address for the account

POST/accounts/{account_id}/shipping_addresses

Use it in a workflow

  1. Add a step and choose the Recurly connector.
  2. Pick the Create Shipping Address action (under shipping_address).
  3. Fill in the fields below, then reference the result from later steps as {{createShippingAddress.response.data}}.

Request

Path parameters

account_idstringrequired

Account ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-bob`.

Request body

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

nicknamestring
first_namestringrequired
last_namestringrequired
companystring
emailstring
vat_numberstring
phonestring
street1stringrequired
street2string
citystringrequired
regionstring

State or province.

postal_codestringrequired

Zip or postal code.

geo_codestring

Code that represents a geographic entity (location or object). Only returned when Vertex or Avalara for Communications is enabled.

countrystringrequired

Country, 2-letter ISO 3166-1 alpha-2 code.

json
{
  "first_name": "string",
  "last_name": "string",
  "street1": "string",
  "city": "string",
  "postal_code": "string",
  "country": "string",
  "nickname": "string",
  "company": "string",
  "email": "string",
  "vat_number": "string",
  "phone": "string",
  "street2": "string"
}

Response

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

idstring
objectstring
account_idstring
nicknamestring
first_namestring
last_namestring
companystring
emailstring
vat_numberstring
phonestring
street1string
street2string
citystring
regionstring

State or province.

postal_codestring

Zip or postal code.

countrystring

Country, 2-letter ISO 3166-1 alpha-2 code.

geo_codestring

Code that represents a geographic entity (location or object). Only returned when Vertex or Avalara for Communications is enabled.

created_atstring (date-time)
updated_atstring (date-time)
json
{
  "id": "string",
  "object": "string",
  "account_id": "string",
  "nickname": "string",
  "first_name": "string",
  "last_name": "string",
  "company": "string",
  "email": "string",
  "vat_number": "string",
  "phone": "string",
  "street1": "string",
  "street2": "string"
}

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