Shopware icon

Shopware

Shopware

Actions778

Order Address → Update Order Address

AI-generated

Overview

This node operation updates an existing order address in the Shopware system. It is useful for scenarios where order address details need to be modified, such as correcting customer information, updating shipping details, or adding additional address lines. For example, if a customer changes their shipping address after placing an order, this node can update the order address accordingly.

Use Case Examples

  1. Updating the first name, last name, and street of an order address to correct a typo.
  2. Adding additional address lines or company information to an existing order address.
  3. Changing the country or state of the order address to reflect a new shipping destination.

Properties

Name Meaning
Id Identifier for the order_address, required to specify which order address to update.
Response Data format for response; can be empty if no specific format is provided.
Version Id Version identifier for the order address, used for concurrency control.
Country Id Identifier for the country of the order address, required for address validation and processing.
Country State Id Identifier for the state within the country, optional for more precise location data.
Order Id Identifier for the order associated with the address, required to link the address to the correct order.
Order Version Id Version identifier for the order, used for concurrency control.
Salutation Id Identifier for the salutation (e.g., Mr., Mrs.), optional for personalization.
First Name First name of the person at the order address, required for identification.
Last Name Last name of the person at the order address, required for identification.
Street Street address line, required for delivery and billing purposes.
Zipcode Postal code for the order address, optional but useful for accurate delivery.
City City of the order address, required for location specification.
Company Company name associated with the order address, optional for business orders.
Department Department within the company, optional for more detailed address info.
Title Title of the person at the order address, optional for personalization.
Vat Id VAT identification number, optional for tax purposes.
Phone Number Contact phone number for the order address, optional for communication.
Additional Address Line 1 Additional address information line 1, optional for extended address details.
Additional Address Line 2 Additional address information line 2, optional for extended address details.
Custom Fields Custom JSON fields for additional data, optional for extended customization.
Created At Timestamp of when the order address was created, optional for record keeping.
Updated At Timestamp of the last update to the order address, optional for record keeping.
Country JSON object representing detailed country information, optional for complex data structures.
Country State JSON object representing detailed state information, optional for complex data structures.
Order JSON object representing detailed order information, optional for complex data structures.
Order Deliveries JSON array representing order delivery details, optional for complex data structures.
Salutation JSON object representing detailed salutation information, optional for complex data structures.

Output

JSON

  • id - Identifier of the updated order address
  • versionId - Version identifier of the updated order address
  • countryId - Country identifier of the updated order address
  • countryStateId - Country state identifier of the updated order address
  • orderId - Order identifier associated with the updated address
  • orderVersionId - Version identifier of the associated order
  • salutationId - Salutation identifier of the updated order address
  • firstName - First name in the updated order address
  • lastName - Last name in the updated order address
  • street - Street address in the updated order address
  • zipcode - Zipcode in the updated order address
  • city - City in the updated order address
  • company - Company name in the updated order address
  • department - Department in the updated order address
  • title - Title in the updated order address
  • vatId - VAT ID in the updated order address
  • phoneNumber - Phone number in the updated order address
  • additionalAddressLine1 - Additional address line 1 in the updated order address
  • additionalAddressLine2 - Additional address line 2 in the updated order address
  • customFields - Custom fields in the updated order address
  • createdAt - Creation timestamp of the updated order address
  • updatedAt - Last update timestamp of the updated order address
  • country - Detailed country information in the updated order address
  • countryState - Detailed country state information in the updated order address
  • order - Detailed order information in the updated order address
  • orderDeliveries - Order deliveries information in the updated order address
  • salutation - Salutation information in the updated order address

Dependencies

  • An API key credential for Shopware Admin API

Troubleshooting

  • Ensure all required fields (Id, Country Id, Order Id, First Name, Last Name, Street, City) 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 customFields, country, countryState, order, orderDeliveries, and salutation, ensure the JSON is well-formed to prevent parsing errors.
  • Timeouts or network issues can occur; adjust the timeout and proxy settings in Request Options if needed.

Discussion