Shop for handmade, vintage, custom, and unique gifts
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
Create a new document in a collection of your choice. See the docs here
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
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}`,
},
})
},
})
The MongoDB API provides powerful capabilities to interact with a MongoDB database, allowing you to perform CRUD (Create, Read, Update, Delete) operations, manage databases, and execute sophisticated queries. With Pipedream, you can harness these abilities to automate tasks, sync data across various apps, and react to events in real-time. It’s a combo that’s particularly potent for managing data workflows, syncing application states, or triggering actions based on changes to your data.
import mongodb from 'mongodb'
export default defineComponent({
props: {
mongodb: {
type: "app",
app: "mongodb",
},
collection: {
type: "string"
},
filter: {
type: "object"
}
},
async run({steps, $}) {
const MongoClient = mongodb.MongoClient
const {
database,
hostname,
username,
password,
} = this.mongodb.$auth
const url = `mongodb+srv://${username}:${password}@${hostname}/test?retryWrites=true&w=majority`
const client = await MongoClient.connect(url, {
useNewUrlParser: true,
useUnifiedTopology: true
})
const db = client.db(database)
const results = await db.collection(this.collection).find(this.filter).toArray();
$.export('results', results);
await client.close()
},
})