Actions778
- Acl Role Actions
- App Actions
- App Action Button Actions
- App Administration Snippet Actions
- App Cms Block Actions
- App Flow Action Actions
- App Flow Event Actions
- App Payment Method Actions
- App Script Condition Actions
- App Shipping Method Actions
- App Template Actions
- Category Actions
- Cms Block Actions
- Cms Page Actions
- Cms Section Actions
- Cms Slot Actions
- Country Actions
- Country State Actions
- Currency Actions
- Currency Country Rounding Actions
- Custom Entity Actions
- Custom Field Actions
- Custom Field Set Actions
- Custom Field Set Relation Actions
- Customer Actions
- Customer Address Actions
- Customer Group Actions
- Customer Recovery Actions
- Customer Wishlist Actions
- Customer Wishlist Product Actions
- Delivery Time Actions
- Document Actions
- Document Base Config Actions
- Document Base Config Sales Channel Actions
- Document Type Actions
- Flow Actions
- Flow Sequence Actions
- Flow Template Actions
- Import Export File Actions
- Import Export Log Actions
- Import Export Profile Actions
- Integration Actions
- Landing Page Actions
- Language Actions
- Locale Actions
- Log Entry Actions
- Mail Header Footer Actions
- Mail Template Actions
- Mail Template Type Actions
- Main Category Actions
- Media Actions
- Media Default Folder Actions
- Media Folder Actions
- Media Folder Configuration Actions
- Media Thumbnail Actions
- Media Thumbnail Size Actions
- Newsletter Recipient Actions
- Notification Actions
- Number Range Actions
- Number Range Sales Channel Actions
- Number Range State Actions
- Number Range Type Actions
- Order Actions
- Order Customer Actions
- Order Delivery Actions
- Order Delivery Position Actions
- Order Line Item Actions
- Order Line Item Download Actions
- Order Transaction Actions
- Order Transaction Capture Actions
- Order Transaction Capture Refund Actions
- Order Transaction Capture Refund Position Actions
- Payment Method Actions
- Plugin Actions
- Product Actions
- Product Configurator Setting Actions
- Product Cross Selling Actions
- Product Cross Selling Assigned Products Actions
- Product Download Actions
- Product Export Actions
- Product Feature Set Actions
- Product Keyword Dictionary Actions
- Product Manufacturer Actions
- Product Media Actions
- Product Price Actions
- Product Review Actions
- Product Search Config Actions
- Product Search Config Field Actions
- Product Search Keyword Actions
- Product Sorting Actions
- Product Stream Actions
- Product Stream Filter Actions
- Product Visibility Actions
- Promotion Actions
- Promotion Discount Actions
- Promotion Discount Prices Actions
- Promotion Individual Code Actions
- Promotion Sales Channel Actions
- Promotion Setgroup Actions
- Property Group Actions
- Property Group Option Actions
- Rule Actions
- Rule Condition Actions
- Sales Channel Actions
- Sales Channel Analytics Actions
- Sales Channel Domain Actions
- Sales Channel Type Actions
- Salutation Actions
- Scheduled Task Actions
- State Machine Transition Actions
- System Config Actions
- Tag Actions
- Tax Actions
- Tax Provider Actions
- Tax Rule Actions
- Tax Rule Type Actions
- Theme Actions
- Unit Actions
- User Actions
- User Access Key Actions
- User Config Actions
- User Recovery Actions
- Webhook Actions
- Webhook Event Log Actions
- System Info Health Check Actions
- Bulk Operations Actions
- Document Management Actions
- Asset Management Actions
- Mail Operations Actions
- System Operations Actions
- Customer Impersonation Actions
- Order Management Actions
- Order Address Actions
- Authorization Authentication Actions
Unit → Update Unit
AI-generatedOverview
This node operation updates a Unit resource in the Shopware system. It is useful for scenarios where you need to modify existing unit details such as its identifier, short code, name, custom fields, timestamps, translations, and associated products. For example, you might use this node to update the name or short code of a unit or to add custom fields to it.
Use Case Examples
- Updating the name and short code of a unit identified by its ID.
- Adding or modifying custom fields for a specific unit.
- Updating the list of products associated with a unit.
Properties
| Name | Meaning |
|---|---|
| Id | Identifier for the unit, required to specify which unit to update. |
| Response | Data format for the response; can be empty if no specific format is provided. |
| Short Code | Short code for the unit, required for the update. |
| Name | Name of the unit, required for the update. |
| Custom Fields | Custom fields in JSON format to add or update for the unit. |
| Created At | Timestamp string representing when the unit was created. |
| Updated At | Timestamp string representing when the unit was last updated. |
| Translated | Translated fields in JSON format for the unit. |
| Products | JSON array representing products associated with the unit. |
| Request Options | Settings for request behavior such as batching, SSL handling, proxy, and timeout. |
Output
JSON
id- The identifier of the updated unit.shortCode- The short code of the updated unit.name- The name of the updated unit.customFields- Custom fields associated with the unit.createdAt- Creation timestamp of the unit.updatedAt- Last update timestamp of the unit.translated- Translated fields of the unit.products- Products associated with the unit.
Dependencies
- An API key credential for Shopware Admin API
Troubleshooting
- Ensure the 'Id' property is correctly set to identify the unit to update; missing or incorrect Id will cause errors.
- Validate JSON format for 'Custom Fields', 'Translated', and 'Products' properties to avoid parsing errors.
- Check network and proxy settings if requests fail due to connectivity issues.
- If SSL certificate validation fails and you trust the source, enable 'Ignore SSL Issues' option to bypass SSL errors.