Shipengine

Shipping API & multi carrier shipping system

Integrate the Shipengine API with the Python API

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

Run Python Code with Python API on New Shipping Label Created from Shipengine API
Shipengine + Python
 
Try it
Run Python Code with Python API on New Tracking Event (Instant) from Shipengine API
Shipengine + Python
 
Try it
New Shipping Label Created from the Shipengine API

Emit new event when a new label is shipped. See the docs.

 
Try it
New Tracking Event (Instant) from the Shipengine API

Emit new event when a new event is tracked. See the docs.

 
Try it
Find Tracking Status with the Shipengine API

Retrieves package tracking information. See the docs.

 
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
Search Labels with the Shipengine API

By default, all labels are returned, 25 at a time, starting with the most recently created ones. You can combine multiple filter options to narrow-down the results. See the docs.

 
Try it
Start Tracking a Package with the Shipengine API

Allows you to subscribe to tracking updates for a package. See the docs.

 
Try it
Validate An Address with the Shipengine API

Address validation ensures accurate addresses and can lead to reduced shipping costs by preventing address correction surcharges. See the docs.

 
Try it

Overview of Shipengine

The Shipengine API enables robust automation possibilities for shipping logistics. From label creation, rate comparison, to tracking shipments, the API provides the tools to streamline e-commerce and shipping workflows. By harnessing Shipengine's capabilities through Pipedream, you can build seamless integrations that connect your shipping operations with other business processes, enhancing efficiency and reducing manual overhead.

Connect Shipengine

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    shipengine: {
      type: "app",
      app: "shipengine",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      method: "post",
      url: `https://api.shipengine.com/v1/addresses/validate`,
      headers: {
        "API-Key": `${this.shipengine.$auth.api_key}`,
        "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}}