Create category
post
/v1/categoriesCreate a new category (tag) for the merchant.
Exemplo
curl -X POST "https://api.ya.onl/v1/categories" \
-H "X-API-Key: yv_live_v1_…" \
-H "Content-Type: application/json" \
-d '{"name":"…","catalog_id":"…"}'Corpo da requisição
namestringCategory name
catalog_idintegerCatalog ID to associate the category with
Respostas
201Successful Response
401Invalid or missing API key
403API key lacks the
products:write scope422Validation Error
429Rate limit exceeded
