Menu
Post V2 Customer Address
Create a Customer Address
POST
/v2/customers/{customerID}/addressesUse it in a workflow
- Add a step and choose the Elastic Path connector.
- Pick the Post V2 Customer Address action (under Customer Addresses).
- Fill in the fields below, then reference the result from later steps as
{{postV2CustomerAddress.response.data}}.
Request
Path parameters
Request body
Enter the body as JSON in the step's Body field.
{
"data": {
"type": "address",
"first_name": "Ron",
"last_name": "Swanson",
"name": "Home",
"phone_number": "(555) 555-1234",
"instructions": "Leave behind bin",
"company_name": "Ron Swanson Enterprises",
"line_1": "1 Sunny Street",
"line_2": "Unit 101",
"city": "Sunny Town",
"county": "Sunnyville",
"region": "acc-legal-name"
}
}
Response
Returns 200 with an object. Read it in later steps with {{postV2CustomerAddress.response.data.<field>}}.
{
"data": null
}
Need more? See the Elastic Path guide for connection setup and behaviour shared by every action.
Was this page helpful?