WooCommerce · Schema
AttributeTerm
A term (option value) for a product attribute.
eCommerceOpen SourceOrdersProductsWordPress
Properties
| Name | Type | Description |
|---|---|---|
| id | integer | Term unique identifier. |
| name | string | Term display name. |
| slug | string | URL-friendly term slug. |
| description | string | Term description. |
| count | integer | Number of products using this term. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/woocommerce/refs/heads/main/json-schema/woocommerce-store-api-attribute-term-schema.json",
"title": "AttributeTerm",
"description": "A term (option value) for a product attribute.",
"type": "object",
"properties": {
"id": {
"type": "integer",
"description": "Term unique identifier.",
"example": 1
},
"name": {
"type": "string",
"description": "Term display name.",
"example": "Example Name"
},
"slug": {
"type": "string",
"description": "URL-friendly term slug.",
"example": "string-value"
},
"description": {
"type": "string",
"description": "Term description.",
"example": "A sample description"
},
"count": {
"type": "integer",
"description": "Number of products using this term.",
"example": 1
}
}
}