The B2B Commerce Platform for Digital Transformations.
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.
Write Python and use any of the 350k+ PyPi packages available. Refer to the Pipedream Python docs to learn more.
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.
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}`,
}
})
},
})
Develop, run and deploy your Python code in Pipedream workflows. Integrate seamlessly between no-code steps, with connected accounts, or integrate Data Stores and manipulate files within a workflow.
This includes installing PyPI packages, within your code without having to manage a requirements.txt
file or running pip
.
Below is an example of using Python to access data from the trigger of the workflow, and sharing it with subsequent workflow steps:
def handler(pd: "pipedream"):
# Reference data from previous steps
print(pd.steps["trigger"]["context"]["id"])
# Return data for use in future steps
return {"foo": {"test":True}}