Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Create or Update Category
LOYVERSE_CREATE_OR_UPDATE_CATEGORYTool to create a new category or update an existing one. If the ID field is provided, the category will be updated; otherwise, a new category is created.
Create or Update Customer
LOYVERSE_CREATE_OR_UPDATE_CUSTOMERTool to create a new customer or update an existing one in Loyverse. Use when you need to add customer records or modify customer information. If the 'id' field is provided, it will update the existing customer; otherwise, it creates a new customer.
Create or Update Discount
LOYVERSE_CREATE_OR_UPDATE_DISCOUNTCreates a single discount with a FIXED_PERCENT, FIXED_AMOUNT, or VARIABLE type.
Create or Update Item
LOYVERSE_CREATE_OR_UPDATE_ITEMTool to create a new item or update an existing one in Loyverse inventory. Include the item ID to update an existing item, or omit it to create a new one.
Create or Update Modifier
LOYVERSE_CREATE_OR_UPDATE_MODIFIERTool to create or update a single modifier with options. If an ID is included in the request, it will update the existing modifier; otherwise, it creates a new one.
Create or Update POS Device
LOYVERSE_CREATE_OR_UPDATE_POS_DEVICETool to create a new POS device or update an existing one. If the request includes an ID, it updates the device; otherwise, it creates a new one.
Create or Update Supplier
LOYVERSE_CREATE_OR_UPDATE_SUPPLIERTool to create a new supplier or update an existing one in Loyverse. Use when you need to register suppliers before purchases or modify supplier information. If the 'id' field is provided, it will update the existing supplier; otherwise, it creates a new supplier.
Create or Update Tax
LOYVERSE_CREATE_OR_UPDATE_TAXTool to create or update a single tax. If the ID field is provided, the tax will be updated; otherwise, a new tax is created. Use when setting up tax rates for stores.
Create or Update Variant
LOYVERSE_CREATE_OR_UPDATE_VARIANTTool to create or update a single item variant in Loyverse. Use when you need to add product variations (like size, color) or modify existing variant details. If variant_id is provided, it updates the existing variant; otherwise, it creates a new one. Note: The parent item must have option names defined before variants can be created.
Create or Update Webhook
LOYVERSE_CREATE_OR_UPDATE_WEBHOOKCreate a new Loyverse webhook subscription or update an existing one by ID. Supported event types include items.update, inventory_levels.update, receipts.update, customers.update, and shifts.create.
Create Receipt
LOYVERSE_CREATE_RECEIPTTool to create a sales receipt with line items and payments. Use when you need to record a sale transaction in Loyverse.
Create Refund
LOYVERSE_CREATE_REFUNDTool to create a refund receipt for a sales receipt. Use when you need to process a refund for items from a previous sale. Only supports refunds for receipts paid by a single payment method (not integrated payments).
Update Inventory
LOYVERSE_UPDATE_INVENTORYTool to batch update inventory levels for item variants at specific stores. Use when you need to set absolute stock quantities (not deltas) for one or more variant-store combinations.
Upload Item Image
LOYVERSE_UPLOAD_ITEM_IMAGEUpload a single PNG or JPEG image for an item by ID. The tool may report failure after the image has been uploaded if it cannot retrieve the image URL.