import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
americommerce: {
type: "app",
app: "americommerce",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.americommerce.$auth.subdomain}.americommerce.com/api/v1/products.json`,
headers: {
"X-AC-Auth-Token": `${this.americommerce.$auth.api_token}`,
}
})
},
})
Emit new event when a customer is created in your Americommerce store. See the documentation.
Emit new event when a product is added to your Americommerce store. See the documentation.
Emit new event when a new valid order (not declined or cancelled) is created in your Americommerce store. See the documentation.
Changes the status of an existing order. See the documentation.
Creates a new order or updates an existing one. See the documentation here and here.
Updates the details of a registered customer. See the documentation.
AmeriCommerce uses API keys for authentication. When you connect your AmeriCommerce account, Pipedream securely stores the keys so you can easily authenticate to AmeriCommerce APIs in both code and no-code steps.