ShipHero

Whether you want to let go of running your own warehouse, or run your warehouse better, you can do both – and so much more – with ShipHero.

Integrate the ShipHero API with the Formatting API

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

[Data] Convert JSON to String with the Formatting API

Convert an object to a JSON format string

 
Try it
[Data] Parse JSON with the Formatting API

Parse a JSON string

 
Try it
[Date/Time] Add/Subtract Time with the Formatting API

Add or subtract time from a given input

 
Try it
[Date/Time] Compare Dates with the Formatting API

Get the duration between two dates in days, hours, minutes, and seconds along with checking if they are the same.

 
Try it
[Date/Time] Format with the Formatting API

Format a date string to another date string

 
Try it

Overview of ShipHero

The ShipHero API enables granular control over warehousing and order fulfillment processes, offering endpoints for managing inventory, orders, returns, and shipping. In Pipedream, you can leverage this API to automate routine tasks, sync data across multiple platforms, and trigger actions based on specific events. This can save time, reduce errors, and increase operational efficiency for e-commerce businesses.

Connect ShipHero

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    shiphero: {
      type: "app",
      app: "shiphero",
    }
  },
  async run({steps, $}) {
    const data = {
      "query": `{
      products {
        request_id
        data(first: 100) {
          edges {
            node {
              id
              sku
              name
            }
          }
        }
      }
    }
    `,
    }
    return await axios($, {
      method: "post",
      url: `https://public-api.shiphero.com/graphql`,
      headers: {
        Authorization: `Bearer ${this.shiphero.$auth.oauth_access_token}`,
        "Content-Type": `application/json`,
      },
      data,
    })
  },
})

Connect Formatting

1
2
3
4
5
6
export default defineComponent({
  async run({ steps, $ }) {
    const text = ' Hello world! ';
    return text.trim()
  },
})