Stock alerts
Back-in-stock subscriptions.
Module: Online shop (shop).
Endpoints
Section titled “Endpoints”GET /api/v1/shop_stock_alerts- List with filters, sorting and pagination (scopeshop:read)GET /api/v1/shop_stock_alerts/{id}- A record by id (scopeshop:read)POST /api/v1/shop_stock_alerts- Create a record (scopeshop:write)PATCH /api/v1/shop_stock_alerts/{id}- Modify the submitted fields (scopeshop:write)DELETE /api/v1/shop_stock_alerts/{id}- Delete or deactivate (scopeshop:write)
Fields
Section titled “Fields”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)