Skip to content

Stock alerts

Back-in-stock subscriptions.

Module: Online shop (shop).

  • GET /api/v1/shop_stock_alerts - List with filters, sorting and pagination (scope shop:read)
  • GET /api/v1/shop_stock_alerts/{id} - A record by id (scope shop:read)
  • POST /api/v1/shop_stock_alerts - Create a record (scope shop:write)
  • PATCH /api/v1/shop_stock_alerts/{id} - Modify the submitted fields (scope shop:write)
  • DELETE /api/v1/shop_stock_alerts/{id} - Delete or deactivate (scope shop:write)
  • id (string, uuid; read): Unique identifier (UUID).
  • channel_id (string; write, required)
  • product_id (string, uuid; write, required)
  • email (string, email; write, required)
  • consent_text (string; read)
  • consent_version (string; read)
  • created_at (string, date-time; read): Creation date (ISO 8601).
  • notified_at (string, date-time; read)
  • expires_at (string, date-time; write)
  • state (string; write)