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}`,
},
})
},
})
Automated Order Processing Workflow: Trigger a Pipedream workflow when a new sale occurs on Etsy. The workflow could automatically send order details to a Google Sheet for record-keeping, email the customer a personalized thank you message using SendGrid, and generate a shipping label through a service like EasyPost.
Inventory Management System: Implement a workflow that monitors your stock levels by regularly checking your Etsy listings. When the inventory for a specific item falls below a predefined threshold, the workflow could trigger a purchase order to your supplier through an email, create a task in a project management tool like Trello or Asana, or send you an alert via SMS using Twilio.
Customer Engagement Enhancer: Create a workflow that listens for reviews posted by customers on your Etsy shop. When a new review is detected, it can be automatically posted to your business's Twitter account to share positive feedback, or you might use the sentiment analysis from an app like MonkeyLearn to categorize the review and respond accordingly, whether that's thanking the customer or addressing concerns raised.
You must have an Etsy shop in order to use this integration. If you don't already have one, please create one here first.
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
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
Retrieves the inventory record for a listing by listing ID. See the Documentation
Updates the inventory for a listing identified by a listing ID. See the Documentation
Etsy uses OAuth authentication. When you connect your Etsy account, Pipedream will open a popup window where you can sign into Etsy and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any Etsy API.
Pipedream requests the following authorization scopes when you connect your account:
profile_r
profile_w
feedback_r
transactions_r
transactions_w
shops_r
shops_w
email_r
listings_d
listings_w
listings_r
GET
https://www.etsy.com/oauth/connect
?
client_id={{oauth.client_id}}
&
redirect_uri={{oauth.redirect_uri}}
&
state={{oauth.state}}
&
response_type=code
&
scope={{oauth.space_separated_scopes}}
POST
https://openapi.etsy.com/v3/public/oauth/token
content-type: application/x-www-form-urlencoded
accept: application/json
client_id={{oauth.client_id}}
&
client_secret={{oauth.client_secret}}
&
redirect_uri={{oauth.redirect_uri}}
&
grant_type=authorization_code
&
code={{oauth.code}}
POST
https://api.etsy.com/v3/public/oauth/token
content-type: application/x-www-form-urlencoded
accept: application/json
client_id={{oauth.client_id}}
&
grant_type=refresh_token
&
refresh_token={{oauth.refresh_token}}