Retailed

The ultimate inventory tool for resellers. Retailed Suite combines all the digital tools and advice needed to help you grow your business. ‍Built by resellers, for resellers!

Integrate the Retailed API with the Python API

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

Get API Usage with the Retailed API

Gets the API usage information for the Retailed API. 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

Overview of Retailed

The Retailed API enables developers to tap into a trove of retail data, ranging from product details to inventory management. Through Pipedream, one can use this API to craft automated workflows that react to specific triggers or schedule tasks to regularly fetch data. With seamless integration capabilities, Pipedream can connect the Retailed API to numerous other apps, allowing for a rich ecosystem of automations that can save time, optimize retail operations, and enhance data analysis.

Connect Retailed

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    retailed: {
      type: "app",
      app: "retailed",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://app.retailed.io/api/v1/stockx/search`,
      headers: {
        "x-api-key": `${this.retailed.$auth.api_token}`,
        "Content-Type": `application/json`,
      },
    })
  },
})

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}}