Docs / Demo

Reference

Demo mock_5

The query товар returns the built-in test items.

Local

curl -s -H "Content-Type: application/json" \
  -d '{"q":"товар","limit":5}' \
  http://127.0.0.1:8080/v1/catalog/mock_5/search

Until a key is issued for the shop and CATALOG_API_TOKEN is unset, a request from this machine is allowed without a header. After keys issue, Authorization: Bearer nwp_… is required.