Skip to content

Product attributes

Global attributes (size, color).

Module: Online shop (shop).

  • GET /api/v1/shop_attributes - List with filters, sorting and pagination (scope shop:read)
  • GET /api/v1/shop_attributes/{id} - A record by id (scope shop:read)
  • POST /api/v1/shop_attributes - Create a record (scope shop:write)
  • PATCH /api/v1/shop_attributes/{id} - Modify the submitted fields (scope shop:write)
  • DELETE /api/v1/shop_attributes/{id} - Delete or deactivate (scope shop:write)
  • 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).
  • shop_attributes.created
  • shop_attributes.updated
  • shop_attributes.deleted