Loyverse

Point of Sale and Inventory Management Platform for Small & Medium Businesses.

Integrate the Loyverse API with the Python API

Setup the Loyverse API trigger to run a workflow which integrates with the Python API. Pipedream's integration platform allows you to integrate Loyverse and Python remarkably fast. Free for developers.

Run Python Code with Python API on Customer Updated (Instant) from Loyverse API
Loyverse + Python
 
Try it
Run Python Code with Python API on Item Updated (Instant) from Loyverse API
Loyverse + Python
 
Try it
Run Python Code with Python API on Receipt Updated (Instant) from Loyverse API
Loyverse + Python
 
Try it
Customer Updated (Instant) from the Loyverse API

Emit new event when a customer is updated.

 
Try it
Item Updated (Instant) from the Loyverse API

Emit new event when an item is updated.

 
Try it
Receipt Updated (Instant) from the Loyverse API

Emit new event when a receipt is updated.

 
Try it
Create Receipt with the Loyverse API

Creates a new receipt for a specific store. See the documentation

 
Try it
Run Python Code with the Python API

Write Python and use any of the 350k+ PyPi packages available. Refer to the Pipedream Python docs to learn more.

 
Try it
Generate Receipt Items with the Loyverse API

Generates the data for items to use in a receipt. See the documentation

 
Try it
Get Customer(s) with the Loyverse API

Retrieves details of one or more customers. See the documentation

 
Try it
Update Inventory Levels with the Loyverse API

Batch updates the inventory levels for specific item variants. See the documentation

 
Try it

Overview of Loyverse

The Loyverse API provides a suite of functions to access and manage the data for businesses using the Loyverse platform, which includes point of sale, inventory management, employee management, and analytics. With Pipedream, you can create automated workflows that trigger on new events from Loyverse, like a new sale, or that perform operations in Loyverse, like creating a new item in your inventory. By connecting Loyverse to other apps via Pipedream, you can sync data across platforms, get real-time notifications, and streamline operations.

Connect Loyverse

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    loyverse: {
      type: "app",
      app: "loyverse",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.loyverse.com/v1.0/merchant/`,
      headers: {
        Authorization: `Bearer ${this.loyverse.$auth.oauth_access_token}`,
      },
    })
  },
})

Overview of Python

Develop, run and deploy your Python code in Pipedream workflows. Integrate seamlessly between no-code steps, with connected accounts, or integrate Data Stores and manipulate files within a workflow.

This includes installing PyPI packages, within your code without having to manage a requirements.txt file or running pip.

Below is an example of using Python to access data from the trigger of the workflow, and sharing it with subsequent workflow steps:

Connect Python

1
2
3
4
5
def handler(pd: "pipedream"):
  # Reference data from previous steps
  print(pd.steps["trigger"]["context"]["id"])
  # Return data for use in future steps
  return {"foo": {"test":True}}