Zen ERP icon

Zen ERP

Zen ERP connector node

Actions1246

Catalog/Location → CountryCreate

AI-generated

Summary

Create a country in the Catalog/Location resource.

Inputs

  • catalog_location_countryCreate_bodyJson — Collection containing the country data to create. Provides fields: id (integer), name (string, required), codeA2 (string, required), codeA3 (string, required), codeN (string, required), tags (string, optional), properties (object, optional). Default is an empty collection {}. Variable name: catalog_location_countryCreate_bodyJson.

Output shape

json

Returns the created country record as a JSON item on the node's main output. If the operation fails and continueOnFail is enabled, returns an error JSON item instead.

Examples

Example 1: Create a new country with ISO codes and tags.

Set the JSON body with the required id, name, codeA2, codeA3, codeN fields and optional tags/properties fields. Run the node with valid zenApi credentials.

Links

Discussion