Shopware icon

Shopware

Shopware

Actions778

Order Customer → Update Order Customer

AI-generated

Overview

This node operation updates an existing Order Customer in the Shopware system. It allows users to modify details such as customer information, order details, contact information, and custom fields associated with the order customer. This is useful in scenarios where order customer data needs to be corrected or updated after the order has been created, such as updating customer contact details, changing the associated customer or order, or adding custom metadata.

Use Case Examples

  1. Updating the email and name of an order customer after an order is placed.
  2. Modifying the customer ID or order ID linked to an order customer record.
  3. Adding custom fields or VAT IDs to an order customer for compliance or business needs.

Properties

Name Meaning
Id Identifier for the order_customer, required to specify which order customer to update.
Response Data format for response, optional query parameter to specify the response format.
Version Id Version identifier for the order customer record, used for concurrency control.
Customer Id Identifier of the customer associated with the order customer.
Order Id Identifier of the order associated with the order customer, required.
Order Version Id Version identifier for the order associated with the order customer.
Email Email address of the order customer, required.
Salutation Id Identifier for the salutation (e.g., Mr., Mrs.) associated with the order customer.
First Name First name of the order customer, required.
Last Name Last name of the order customer, required.
Company Company name associated with the order customer.
Title Title of the order customer.
Vat Ids VAT identification numbers associated with the order customer.
Customer Number Customer number associated with the order customer.
Custom Fields Custom fields for additional metadata related to the order customer.
Remote Address Remote IP address associated with the order customer.
Created At Timestamp when the order customer record was created.
Updated At Timestamp when the order customer record was last updated.
Order JSON object containing detailed order information related to the order customer.
Customer JSON object containing detailed customer information related to the order customer.
Salutation JSON object containing detailed salutation information related to the order customer.
Request Options Node settings for request options such as batching, SSL handling, proxy, and timeout.

Output

JSON

  • id - Identifier of the updated order customer.
  • customerId - Identifier of the customer associated with the updated order customer.
  • orderId - Identifier of the order associated with the updated order customer.
  • email - Email address of the updated order customer.
  • firstName - First name of the updated order customer.
  • lastName - Last name of the updated order customer.
  • company - Company name associated with the updated order customer.
  • customFields - Custom fields data of the updated order customer.
  • createdAt - Creation timestamp of the updated order customer record.
  • updatedAt - Last update timestamp of the updated order customer record.

Dependencies

  • Shopware Admin API with appropriate API key credentials

Troubleshooting

  • Ensure all required fields (Id, Order Id, Email, First Name, Last Name) are provided to avoid validation errors.
  • Check API credentials and base URL configuration to ensure connectivity to the Shopware Admin API.
  • If SSL issues occur, consider enabling the 'Ignore SSL Issues' option if appropriate for your environment.
  • Use batching options carefully to avoid rate limiting or request throttling issues.

Discussion