Docs / Taxonomía de categoríasCategory taxonomyMarkdown

Taxonomía de categorías

GEThttps://pricto.dev/v1/categories

Flat list of categories; rebuild the tree with parent_id. Includes mappings to Google Product Taxonomy.

CréditosMCP
0—

Parámetros#

ParámetroEnTipoDescripción
parent_idquerystring
langquerystringResponse 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.

CampoTipoDescripción
data requeridoCategory[]
data[].id requeridostring
data[].label requeridostring
data[].parent_id requeridostring | null
data[].level requeridointeger
data[].products_countinteger
data[].mappingsobject
data[].mappings.google_product_taxonomyinteger | null
data[].mappings.coicop_2018string | null
data[].mappings.shopify_category_idstring | nullShopify Standard Product Taxonomy (MIT). GS1 GPC is not exposed without written permission from GS1.
meta requeridoMeta

meta trae el costo, la fuente para citar, el idioma, la moneda y los avisos (ver Convenciones).

Errores#

Category taxonomy

GEThttps://pricto.dev/v1/categories

Flat list of categories; rebuild the tree with parent_id. Includes mappings to Google Product Taxonomy.

CreditsMCP
0—

Parameters#

ParameterInTypeDescription
parent_idquerystring
langquerystringResponse 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.

FieldTypeDescription
data requiredCategory[]
data[].id requiredstring
data[].label requiredstring
data[].parent_id requiredstring | null
data[].level requiredinteger
data[].products_countinteger
data[].mappingsobject
data[].mappings.google_product_taxonomyinteger | null
data[].mappings.coicop_2018string | null
data[].mappings.shopify_category_idstring | nullShopify Standard Product Taxonomy (MIT). GS1 GPC is not exposed without written permission from GS1.
meta requiredMeta

meta carries the cost, the source line to quote, the language, the currency and notices (see Conventions).

Errors#