with BigCommerce and eBay?
The BigCommerce API enables merchants to seamlessly manage their e-commerce operations by automating tasks, syncing data, and integrating with a plethora of other services. With Pipedream, you can tap into the BigCommerce API to create custom workflows that handle everything from order processing to customer relationship management. The result is a more efficient, personalized shopping experience for customers and less manual work for store owners.
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    bigcommerce: {
      type: "app",
      app: "bigcommerce",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.bigcommerce.com/stores/${this.bigcommerce.$auth.store_hash}/v3/catalog/summary`,
      headers: {
        "X-Auth-Token": `${this.bigcommerce.$auth.access_token}`,
      },
    })
  },
})
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    ebay: {
      type: "app",
      app: "ebay",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://apiz.ebay.com/commerce/identity/v1/user/`,
      headers: {
        Authorization: `Bearer ${this.ebay.$auth.oauth_access_token}`,
        "content-type": `application/json`,
      },
    })
  },
})