Alerte de stoc
Abonările la revenirea în stoc.
Modul: Magazin online (shop).
Endpointuri
Secțiune intitulată „Endpointuri”GET /api/v1/shop_stock_alerts- Listare cu filtre, sortare și paginare (scopeshop:read)GET /api/v1/shop_stock_alerts/{id}- O înregistrare după id (scopeshop:read)POST /api/v1/shop_stock_alerts- Creează o înregistrare (scopeshop:write)PATCH /api/v1/shop_stock_alerts/{id}- Modifică câmpurile trimise (scopeshop:write)DELETE /api/v1/shop_stock_alerts/{id}- Șterge sau dezactivează (scopeshop:write)
id(string, uuid; citire): Identificator unic (UUID).channel_id(string; scriere, obligatoriu)product_id(string, uuid; scriere, obligatoriu)email(string, email; scriere, obligatoriu)consent_text(string; citire)consent_version(string; citire)created_at(string, date-time; citire): Data creării (ISO 8601).notified_at(string, date-time; citire)expires_at(string, date-time; scriere)state(string; scriere)