Taxonomía de categorías
GET
https://pricto.dev/v1/categoriesFlat list of categories; rebuild the tree with parent_id. Includes mappings to Google Product Taxonomy.
| Créditos | MCP |
|---|---|
| 0 | — |
Parámetros#
| Parámetro | En | Tipo | Descripción |
|---|---|---|---|
parent_id | query | string | |
lang | query | string | Response language as a BCP 47 tag (es, es-CL, en, en-US...). Supported today: es, en. An unsupported language falls back to English with a warning, never an error. Falls back to Accept-Language, then to the account default. The resolved value is in meta.lang. |
Respuesta#
200 Categories.
| Campo | Tipo | Descripción |
|---|---|---|
data requerido | Category[] | |
data[].id requerido | string | |
data[].label requerido | string | |
data[].parent_id requerido | string | null | |
data[].level requerido | integer | |
data[].products_count | integer | |
data[].mappings | object | |
data[].mappings.google_product_taxonomy | integer | null | |
data[].mappings.coicop_2018 | string | null | |
data[].mappings.shopify_category_id | string | null | Shopify Standard Product Taxonomy (MIT). GS1 GPC is not exposed without written permission from GS1. |
meta requerido | Meta |
meta trae el costo, la fuente para citar, el idioma, la moneda y los avisos (ver Convenciones).
Errores#
Category taxonomy
GET
https://pricto.dev/v1/categoriesFlat list of categories; rebuild the tree with parent_id. Includes mappings to Google Product Taxonomy.
| Credits | MCP |
|---|---|
| 0 | — |
Parameters#
| Parameter | In | Type | Description |
|---|---|---|---|
parent_id | query | string | |
lang | query | string | Response language as a BCP 47 tag (es, es-CL, en, en-US...). Supported today: es, en. An unsupported language falls back to English with a warning, never an error. Falls back to Accept-Language, then to the account default. The resolved value is in meta.lang. |
Response#
200 Categories.
| Field | Type | Description |
|---|---|---|
data required | Category[] | |
data[].id required | string | |
data[].label required | string | |
data[].parent_id required | string | null | |
data[].level required | integer | |
data[].products_count | integer | |
data[].mappings | object | |
data[].mappings.google_product_taxonomy | integer | null | |
data[].mappings.coicop_2018 | string | null | |
data[].mappings.shopify_category_id | string | null | Shopify Standard Product Taxonomy (MIT). GS1 GPC is not exposed without written permission from GS1. |
meta required | Meta |
meta carries the cost, the source line to quote, the language, the currency and notices (see Conventions).