younifyd
Menu

Get customers/me/shippingAddress

Get customers/me/shippingAddress

GET/V1/customers/me/shippingAddress

Use it in a workflow

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

Fields

baseUrlstring

The API host this action calls. Override to point at a different environment.

Default "/rest/default"

forwardAllHeadersboolean

If enabled, all headers from the incoming request will be forwarded. Additional headers below will override forwarded ones.

Default false

headerskeyvalue

Extra HTTP headers to include, beyond what this action already declares. These override forwarded or declared headers with the same name.

queryParamskeyvalue

Extra URL query parameters to include, beyond what this action already declares. These override declared query parameters with the same name.

Response

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