Sales registers (POS)
Counter registers: location, the warehouse goods leave from, cash book and fiscal printer.
Module: POS (pos).
Endpoints
Section titled “Endpoints”GET /api/v1/pos_registers- List with filters, sorting and pagination (scopepos:read)GET /api/v1/pos_registers/{id}- A record by id (scopepos:read)POST /api/v1/pos_registers- Create a record (scopepos:write)PATCH /api/v1/pos_registers/{id}- Modify the submitted fields (scopepos:write)
Fields
Section titled “Fields”id(string, uuid; read): Unique identifier (UUID).name(string; write, required)location_id(string; write)warehouse_id(string; write)cashbook_book_id(string; write)fiscal_register_id(string; write)is_active(boolean; write): Whether the record is active.created_at(string, date-time; read): Creation date (ISO 8601).updated_at(string, date-time; read): Last modification date (ISO 8601).fiscal_auto(boolean; write)product_ids(array; write)price_adjust_pct(number; write)price_overrides(string; write)
Events
Section titled “Events”pos_registers.createdpos_registers.updatedpos_registers.deleted