Custom Field Defs Create
tiendanube_custom_field_defs_createCreate a custom field definition for products, variants, orders, customers, or categories to extend Tiendanube data with namespaced fields.
Instructions
Create a custom field definition (unstable API). HTTP: POST /{entity}/custom-fields Required scope: read_products/write_products API version: unstable
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"entity": "<entity>",
"definition": "<definition>"
},
"name": "tiendanube_custom_field_defs_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity | Yes | Entity type owning the definitions (categories | customers | orders | products | products/variants) | |
| definition | Yes | Definition per the unstable Custom Fields API reference (namespace, slug, name, value_type...) |