younifyd
Menu

Get customers/addresses/{addressId}

Get customers/addresses/{addressId}

GET/V1/customers/addresses/{addressId}

Use it in a workflow

  1. Add a step and choose the Adobe Commerce connector.
  2. Pick the Get customers/addresses/{addressId} action (under Customers).
  3. Fill in the fields below, then reference the result from later steps as {{getCustomersAddressesAddressid.response.data}}.

Request

Path parameters

addressIdintegerrequired

Response

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

idinteger

ID

customer_idinteger

Customer ID

regionobject

Customer address region interface.

region_codestringrequired

Region code

regionstringrequired

Region

region_idintegerrequired

Region id

extension_attributesobject

ExtensionInterface class for @see \Magento\Customer\Api\Data\RegionInterface

region_idinteger

Region ID

country_idstring

Country code in ISO_3166-2 format

streetarray<string>

Street

companystring

Company

telephonestring

Telephone number

faxstring

Fax number

postcodestring

Postcode

citystring

City name

firstnamestring

First name

lastnamestring

Last name

middlenamestring

Middle name

prefixstring

Prefix

suffixstring

Suffix

vat_idstring

Vat id

default_shippingboolean

If this address is default shipping address.

default_billingboolean

If this address is default billing address

extension_attributesobject

ExtensionInterface class for @see \Magento\Customer\Api\Data\AddressInterface

custom_attributesarray<object>

Custom attributes values.

attribute_codestringrequired

Attribute code

valuestringrequired

Attribute value

json
{
  "id": 0,
  "customer_id": 0,
  "region": {
    "region_code": "string",
    "region": "string",
    "region_id": 0,
    "extension_attributes": {}
  },
  "region_id": 0,
  "country_id": "string",
  "street": [
    "string"
  ],
  "company": "string",
  "telephone": "string",
  "fax": "string",
  "postcode": "string",
  "city": "string",
  "firstname": "string"
}

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