Product attributes
Global attributes (size, color).
Module: Online shop (shop).
Endpoints
Section titled “Endpoints”GET /api/v1/shop_attributes- List with filters, sorting and pagination (scopeshop:read)GET /api/v1/shop_attributes/{id}- A record by id (scopeshop:read)POST /api/v1/shop_attributes- Create a record (scopeshop:write)PATCH /api/v1/shop_attributes/{id}- Modify the submitted fields (scopeshop:write)DELETE /api/v1/shop_attributes/{id}- Delete or deactivate (scopeshop:write)
Fields
Section titled “Fields”id(string, uuid; read): Unique identifier (UUID).name(string; write, required)kind(string; write)position(integer; read)created_at(string, date-time; read): Creation date (ISO 8601).custom_fields(object; read): Custom fields (key-value object). Definitions are created in the ERP; see the guide on docs.rivil.app.updated_at(string, date-time; read): Last modification date (ISO 8601).
Events
Section titled “Events”shop_attributes.createdshop_attributes.updatedshop_attributes.deleted