Custom Fields Create
tiendanube_custom_fields_createCreate custom fields for Tiendanube entities such as products, variants, customers, orders, and categories. Specify field name, value type, and allowed values to extend entity data.
Instructions
Define a custom field for an entity. HTTP: POST /{entity}/custom-fields Required scope: read_products/write_products (categories, products, products/variants) | read_customers/write_customers (customers) | read_orders/write_orders (orders) API version: 2025-03
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Field name | |
| entity | Yes | Entity whose custom fields are managed (categories | customers | orders | products | products/variants) | |
| values | No | Allowed values (for list types) | |
| read_only | No | Read-only for merchants | |
| value_type | Yes | Value type (text | text_list | numeric | date | boolean | object) | |
| description | No | Description | |
| additional_fields | No | Extra raw API body fields not covered above; merged into the request body |