Shopware icon

Shopware

Shopware

Actions778

Order Address → Create Order Address

AI-generated

Overview

This node operation creates a new order address in the Shopware system. It is useful for automating the addition of address details to orders, such as billing or shipping addresses, within an e-commerce workflow. For example, it can be used to programmatically add customer address information when processing orders in Shopware.

Use Case Examples

  1. Automatically add a shipping address to an order after a customer completes checkout.
  2. Create a billing address for an order based on customer input from a form submission.

Properties

Name Meaning
Response Data format for response, either basic or detailed.
Id Unique identifier for the order address (required).
Version Id Version identifier for the order address.
Country Id Identifier for the country of the address (required).
Country State Id Identifier for the state or region within the country.
Order Id Identifier of the order to which the address belongs (required).
Order Version Id Version identifier for the order.
Salutation Id Identifier for the salutation (e.g., Mr., Mrs.).
First Name First name of the person for the address (required).
Last Name Last name of the person for the address (required).
Street Street address (required).
Zipcode Postal code of the address.
City City of the address (required).
Company Company name associated with the address.
Department Department within the company.
Title Title of the person (e.g., Dr., Prof.).
Vat Id VAT identification number.
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 data.
Created At Timestamp when the address was created.
Updated At Timestamp when the address was last updated.
Country Country details in JSON format.
Country State Country state details in JSON format.
Order Order details in JSON format.
Order Deliveries Order delivery details in JSON format.
Salutation Salutation details in JSON format.

Output

JSON

  • id - Unique identifier of the created order address.
  • versionId - Version identifier of the created order address.
  • countryId - Country identifier of the created order address.
  • countryStateId - Country state identifier of the created order address.
  • orderId - Order identifier to which the address belongs.
  • orderVersionId - Version identifier of the order.
  • salutationId - Salutation identifier.
  • firstName - First name of the person.
  • lastName - Last name of the person.
  • street - Street address.
  • zipcode - Postal code.
  • city - City name.
  • company - Company name.
  • department - Department name.
  • title - Title of the person.
  • vatId - VAT identification number.
  • phoneNumber - Phone number.
  • additionalAddressLine1 - Additional address line 1.
  • additionalAddressLine2 - Additional address line 2.
  • customFields - Custom fields as JSON object.
  • createdAt - Creation timestamp.
  • updatedAt - Last update timestamp.
  • country - Country details as JSON object.
  • countryState - Country state details as JSON object.
  • order - Order details as JSON object.
  • orderDeliveries - Order deliveries details as JSON array.
  • salutation - Salutation details as JSON object.

Dependencies

  • Requires Shopware API credentials for authentication.

Troubleshooting

  • Ensure all required fields (Id, Country Id, Order Id, First Name, Last Name, Street, City) are provided to avoid validation errors.
  • Verify that the Shopware API credentials are correctly configured and have necessary permissions.
  • If the response format is not as expected, check the 'Response' property to switch between basic and detailed formats.
  • For SSL issues, consider enabling the 'Ignore SSL Issues' option if working with self-signed certificates or insecure connections.

Discussion