with Amazon Selling Partner and ShipStation?
Emit new event for each new webhook event received. See docs here
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
amazon_selling_partner: {
type: "app",
app: "amazon_selling_partner",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://sellingpartnerapi-na.amazon.com/inbound/fba/2024-03-20/inboundPlans`,
headers: {
"x-amz-access-token": `${this.amazon_selling_partner.$auth.oauth_access_token}`,
},
})
},
})
The ShipStation API allows for streamlined management of shipping operations for e-commerce. With it, you can automate order processing, label creation, and tracking updates. Pipedream excels as a platform for integrating ShipStation with other services to create custom workflows.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
shipstation: {
type: "app",
app: "shipstation",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://ssapi.shipstation.com/users/`,
auth: {
username: `${this.shipstation.$auth.api_key}`,
password: `${this.shipstation.$auth.api_secret}`,
},
})
},
})