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 → Update Country
AI-generatedOverview
This node operation updates the details of a country in the Shopware system. It is useful for scenarios where you need to modify country information such as name, ISO codes, tax rules, address formats, and other country-specific settings. For example, updating the postal code pattern or enabling/disabling shipping availability for a country.
Use Case Examples
- Updating the name and ISO code of a country.
- Modifying tax rules or address format for a specific country.
- Changing the active status or shipping availability of a country.
Properties
| Name | Meaning |
|---|---|
| Id | Identifier for the country, required to specify which country to update. |
| Response | Data format for response, optional query parameter. |
| Name | Name of the country. |
| 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 | Whether shipping is available to the country. |
| Iso 3 | Three-letter ISO code of the country. |
| Display State In Registration | Whether to display state selection in registration forms. |
| Force State In Registration | Whether to force state selection in registration forms. |
| Check Vat Id Pattern | Whether to check VAT ID pattern for the country. |
| Vat Id Required | Whether VAT ID is required for the country. |
| Vat Id Pattern | Pattern for VAT ID validation. |
| Custom Fields | Custom fields as JSON object for additional country data. |
| Customer Tax | Customer tax settings as JSON object. |
| Company Tax | Company tax settings as JSON object. |
| Postal Code Required | Whether postal code is required for the country. |
| Check Postal Code Pattern | Whether to check postal code pattern. |
| Check Advanced Postal Code Pattern | Whether to check advanced postal code pattern. |
| Advanced Postal Code Pattern | Advanced postal code pattern for validation. |
| Address Format | Address format as JSON object. |
| Default Postal Code Pattern | Default postal code pattern. |
| Is Eu | Whether the country is part of the European Union. |
| Created At | Creation timestamp of the country record. |
| Updated At | Last update timestamp of the country record. |
| Translated | Translated fields as JSON object. |
| States | States within 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 related to 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- Identifier of the updated countryname- Name of the updated countryiso- ISO code of the updated countryposition- Position of the updated countryactive- Active status of the updated countryshippingAvailable- Shipping availability statusiso3- Three-letter ISO codedisplayStateInRegistration- Flag to display state in registrationforceStateInRegistration- Flag to force state in registrationcheckVatIdPattern- Flag to check VAT ID patternvatIdRequired- Flag indicating if VAT ID is requiredvatIdPattern- VAT ID pattern stringcustomFields- Custom fields datacustomerTax- Customer tax informationcompanyTax- Company tax informationpostalCodeRequired- Flag indicating if postal code is requiredcheckPostalCodePattern- Flag to check postal code patterncheckAdvancedPostalCodePattern- Flag to check advanced postal code patternadvancedPostalCodePattern- Advanced postal code pattern stringaddressFormat- Address format JSON objectdefaultPostalCodePattern- Default postal code pattern stringisEu- Flag indicating if country is in the EUcreatedAt- Creation timestampupdatedAt- Last update timestamptranslated- Translated fields JSON objectstates- States JSON arraycustomerAddresses- Customer addresses JSON arrayorderAddresses- Order addresses JSON arraysalesChannelDefaultAssignments- Sales channel default assignments JSON arraysalesChannels- Sales channels JSON arraytaxRules- Tax rules JSON arraycurrencyCountryRoundings- Currency country rounding rules JSON array
Dependencies
- an API key credential for Shopware Admin API
Troubleshooting
- Ensure the 'Id' property is provided and correctly identifies the country to update, otherwise the update will fail.
- Invalid JSON in properties like 'customFields', 'customerTax', 'companyTax', 'addressFormat', 'translated', 'states', 'customerAddresses', 'orderAddresses', 'salesChannelDefaultAssignments', 'salesChannels', 'taxRules', or 'currencyCountryRoundings' can cause errors. Validate JSON format before sending.
- Check API credentials and base URL configuration to ensure connectivity to the Shopware Admin API.
- Timeout or proxy settings in 'Request Options' may need adjustment if requests fail or are slow.