Shopware icon

Shopware

Shopware

Actions778

Order Customer → Create Order Customer

AI-generated

Overview

This node operation creates an Order Customer in the Shopware system. It is useful for automating the process of adding customer details to an order, such as during order processing or customer management workflows. For example, it can be used to programmatically create a customer record associated with a specific order, including detailed customer information and order metadata.

Use Case Examples

  1. Creating a new order customer record when a new order is placed in an e-commerce platform.
  2. Automating customer data entry for orders imported from external systems.

Properties

Name Meaning
Response Data format for response, either basic or detailed.
Id Unique identifier for the order customer (required).
Version Id Version identifier for the order customer record.
Customer Id Identifier of the customer associated with the order.
Order Id Identifier of the order (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 of the 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 data related to the order customer.
Remote Address Remote IP address of the order customer.
Created At Creation timestamp of the order customer record.
Updated At Last update timestamp of the order customer record.
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 salutation details related to the order customer.
Request Options Node settings for request options such as batching, SSL issues, proxy, and timeout.

Output

JSON

  • id - Unique identifier of the created order customer.
  • orderId - Identifier of the order associated with the created order customer.
  • customerId - Identifier of the customer associated with the created order customer.
  • email - Email address of the created order customer.
  • firstName - First name of the created order customer.
  • lastName - Last name of the created order customer.
  • company - Company name of the created order customer, if provided.
  • createdAt - Timestamp when the order customer record was created.
  • updatedAt - Timestamp when the order customer record was last updated.

Dependencies

  • An API key credential for Shopware Admin API

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 if authentication errors occur.
  • If the response format is not as expected, verify the '_response' property value (basic or detail).
  • For SSL issues, consider enabling 'Ignore SSL Issues' option if using self-signed certificates or insecure connections.

Discussion