Skip to main content
Synchronise /tenants/{tenant}/catalog/vouchers and /catalog/categories independently using updated_since and cursor pagination. Use includes when an embedded snapshot is convenient, but retain top-level resources as the canonical synchronisation stream. Category and voucher lists use the order saved in the admin, with the resource ID breaking ties. With include=products, a category uses the voucher positions saved for that category and exposes those positions as products[].sort_order. Vouchers with equal positions in a category follow the global voucher order, then their ID. Voucher variant summaries follow the saved pricing option order.

Filters

  • category_id on /catalog/vouchers returns the vouchers in that category in their saved order and exposes their category positions as sort_order. Ties follow the global voucher order, then voucher ID. With updated_since, a change to the category can return all of its eligible vouchers so consumers receive new positions after a reorder.
  • best_sellers=true on /catalog/vouchers returns only the storefront best sellers; each voucher carries its best_seller_rank.
  • include_hidden=true on /catalog/categories adds live categories that the shop keeps out of its own listings. Check is_hidden before displaying them. A hidden category can always be fetched by identifier or used as a category_id.
Filters narrow a synchronisation stream, so keep a separate updated_since checkpoint for each combination you use. To display vouchers on a website, see the WordPress voucher feed guide.