How to hide or show a product

How to hide or show a product

Use this guide when you need to control whether a product is visible to participants in an event.


Request — hide a product

Bash
curl -X POST "https://your-event-domain.com/api/v2/product/set" \
  -H "Authorization: Bearer your_api_key_here" \
  -F "event_id=7" \
  -F "id=452" \
  -F "status=0"

Request — show a product

Bash
curl -X POST "https://your-event-domain.com/api/v2/product/set" \
  -H "Authorization: Bearer your_api_key_here" \
  -F "event_id=7" \
  -F "id=452" \
  -F "status=1"

Notes

  • status=1 (default) — visible for this event

  • status=0 — hidden for this event. The product record still exists

  • Visibility is event-scoped — the same product can be visible on one event and hidden on another