with Etsy and Transloadit?
Emit new event when a Transloadit assembly finishes processing. See the documentation
Emit new event when a failed occurs during assembly processing. See the documentation
Emit new event when a new shop receipt is created. See the Documentation
Emit new event when a new transaction is created. See the Documentation
Creates a physical draft listing product in a shop on the Etsy channel. See the Documentation
Cancel a running assembly by its assembly ID. Useful for aborting processing jobs that are no longer needed. See the documentation
Open API V3 endpoint to delete a ShopListing. A ShopListing can be deleted only if the state is one of the following: SOLD_OUT
, DRAFT
, EXPIRED
, INACTIVE
, ACTIVE
and is_available
or ACTIVE
and has seller flags: SUPRESSED
(frozen), VACATION
, CUSTOM_SHOPS
(pattern), SELL_ON_FACEBOOK
. See the Documentation
Create a new assembly to process files using a specified template and steps. See the documentation
Etsy is a global e-commerce platform specializing in handmade, vintage, and craft items. It offers a marketplace where artisans can connect directly with buyers. The term 'Etsy' is a trademark of Etsy, Inc. This application uses the Etsy API but is not endorsed or certified by Etsy.
The Etsy API provides a rich interface to interact with the popular e-commerce platform known for its unique, handmade, and vintage items. Using the Etsy API via Pipedream, you can automate various aspects of your Etsy shop, including inventory management, order processing, and customer engagement. It opens up possibilities for streamlining mundane tasks, reacting to shop events in real-time, and syncing data across different platforms, enhancing the efficiency and responsiveness of your online business operations.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
etsy: {
type: "app",
app: "etsy",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://openapi.etsy.com/v3/application/users/me`,
headers: {
Authorization: `Bearer ${this.etsy.$auth.oauth_access_token}`,
"x-api-key": `${this.etsy.$auth.oauth_client_id}`,
},
})
},
})
import Transloadit from 'transloadit';
export default defineComponent({
props: {
transloadit: {
type: "app",
app: "transloadit",
}
},
async run({ steps, $ }) {
const transloadit = new Transloadit({
authKey: this.transloadit.$auth.auth_key,
authSecret: this.transloadit.$auth.auth_secret
})
const options = {
params: {
steps: {
"encoded": {
"use": ":original",
"robot": "/video/encode",
"preset": "iphone-high"
},
"thumbed": {
"use": "encoded",
"robot": "/video/thumbs",
"count": 8
}
}
},
waitForCompletion: true,
}
return await transloadit.createAssembly(options);
},
})