Shopware icon

Shopware

Shopware

Actions778

Customer Address → Create Customer Address

AI-generated

Overview

This node operation creates a new customer address in the Shopware system. It is useful for automating the addition of customer address details during customer management workflows, such as onboarding new customers or updating customer profiles with new address information.

Use Case Examples

  1. Automatically add a new shipping address for a customer after they place an order.
  2. Create a billing address for a customer when importing customer data from another system.

Properties

Name Meaning
Response Data format for the response, either basic or detailed.
Id Unique identifier for the customer address.
Customer Id Identifier of the customer to whom the address belongs.
Country Id Identifier of the country for the address.
Country State Id Identifier of the state or region within the country.
Salutation Id Identifier for the salutation (e.g., Mr., Mrs.).
First Name First name of the customer for the address.
Last Name Last name of the customer for the address.
Zipcode Postal code for the address.
City City of the address.
Company Company name associated with the address.
Street Street address.
Department Department within the company or organization.
Title Title of the customer (e.g., Dr., Prof.).
Phone Number Phone number associated with the address.
Additional Address Line 1 Additional address information line 1.
Additional Address Line 2 Additional address information line 2.
Custom Fields Custom fields in JSON format for additional address data.
Created At Timestamp when the address was created.
Updated At Timestamp when the address was last updated.
Customer Customer data in JSON format associated with the address.
Country Country data in JSON format associated with the address.
Country State Country state data in JSON format associated with the address.
Salutation Salutation data in JSON format associated with the address.

Output

JSON

  • id - Unique identifier of the created customer address.
  • customerId - Identifier of the customer associated with the address.
  • countryId - Identifier of the country for the address.
  • countryStateId - Identifier of the state or region within the country.
  • salutationId - Identifier for the salutation.
  • firstName - First name of the customer for the address.
  • lastName - Last name of the customer for the address.
  • zipcode - Postal code for the address.
  • city - City of the address.
  • company - Company name associated with the address.
  • street - Street address.
  • department - Department within the company or organization.
  • title - Title of the customer.
  • phoneNumber - Phone number associated with the address.
  • additionalAddressLine1 - Additional address information line 1.
  • additionalAddressLine2 - Additional address information line 2.
  • customFields - Custom fields for additional address data.
  • createdAt - Timestamp when the address was created.
  • updatedAt - Timestamp when the address was last updated.
  • customer - Customer data associated with the address.
  • country - Country data associated with the address.
  • countryState - Country state data associated with the address.
  • salutation - Salutation data associated with the address.

Dependencies

  • An API key credential for Shopware Admin API

Troubleshooting

  • Ensure all required fields (Id, Customer Id, Country Id, First Name, Last Name, City, Street) are provided to avoid validation errors.
  • If the API returns authentication errors, verify that the Shopware Admin API credentials are correctly configured and valid.
  • For JSON fields like Customer, Country, Country State, and Salutation, ensure the JSON is well-formed to prevent parsing errors.

Discussion