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
Country → Create Country
AI-generatedOverview
This node operation allows creating a new country entry in the Shopware system. It is useful for managing country data within an e-commerce platform, enabling the addition of countries with detailed attributes such as tax rules, address formats, and shipping availability. For example, a user can create a country with specific VAT requirements, postal code patterns, and associated states to tailor the e-commerce experience to different regions.
Use Case Examples
- Creating a new country with its ISO codes, tax rules, and address format to support localized shipping and billing.
- Adding a country with custom fields and sales channel assignments to integrate with specific sales channels and customer groups.
Properties
| Name | Meaning |
|---|---|
| Response | Data format for response, either basic or detailed. |
| Id | Unique identifier for the country, required. |
| Name | Name of the country, required. |
| Iso | ISO code of the country. |
| Position | Position or order of the country in listings. |
| Active | Whether the country is active or not. |
| Shipping Available | Indicates if shipping is available to this country. |
| Iso 3 | Three-letter ISO code of the country. |
| Display State In Registration | Whether to display state selection during registration. |
| Force State In Registration | Whether state selection is mandatory during registration. |
| Check Vat Id Pattern | Whether to validate VAT ID pattern. |
| Vat Id Required | Whether VAT ID is required. |
| Vat Id Pattern | Pattern for validating VAT ID. |
| Custom Fields | Custom fields as JSON object. |
| Customer Tax | Customer tax details as JSON object. |
| Company Tax | Company tax details as JSON object. |
| Postal Code Required | Whether postal code is required. |
| Check Postal Code Pattern | Whether to validate postal code pattern. |
| Check Advanced Postal Code Pattern | Whether to validate advanced postal code pattern. |
| Advanced Postal Code Pattern | Pattern for validating advanced postal code. |
| Address Format | Address format details as JSON object, required. |
| Default Postal Code Pattern | Default pattern for postal code. |
| Is Eu | Indicates if the country is part of the European Union. |
| Created At | Creation timestamp of the country entry. |
| Updated At | Last update timestamp of the country entry. |
| Translated | Translated fields as JSON object. |
| States | States associated with the country as JSON array. |
| Customer Addresses | Customer addresses related to the country as JSON array. |
| Order Addresses | Order addresses related to the country as JSON array. |
| Sales Channel Default Assignments | Default sales channel assignments as JSON array. |
| Sales Channels | Sales channels associated with the country as JSON array. |
| Tax Rules | Tax rules applicable to the country as JSON array. |
| Currency Country Roundings | Currency rounding rules for the country as JSON array. |
Output
JSON
id- Unique identifier of the created country.name- Name of the created country.iso- ISO code of the created country.active- Indicates if the country is active.shippingAvailable- Indicates if shipping is available to the country.states- List of states associated with the country.taxRules- Tax rules applied to the country.createdAt- Timestamp when the country was created.updatedAt- Timestamp when the country was last updated.
Dependencies
- An API key credential for Shopware Admin API
Troubleshooting
- Ensure all required fields (Id, Name, Address Format) are provided to avoid validation errors.
- Check JSON formatting for fields like customFields, customerTax, companyTax, states, and others to prevent parsing errors.
- Verify API credentials and endpoint URL to avoid authentication or connection issues.
- If the response format is set to 'detail', expect a more comprehensive response which might be larger and slower to process.