Smart Returns Platform
Emit an event for each new or modified record in a table
Emit an event for each new or modified record in a view
Emits an event each time a record is added, updated, or deleted in an Airtable table. Supports tables up to 10,000 records
Create one or more records in a table by passing an array of objects containing field names and values as key/value pairs.
Retrieve records from a table with automatic pagination. Optionally sort and filter results.
Retrieve records in a view with automatic pagination. Optionally sort and filter results.
Welcome to the Returnly API! With our API, you can extend, integrate and build
custom returns flow and exchanges for your customers. Here are a few examples
of what you can do with our API:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
returnly: {
type: "app",
app: "returnly",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.returnly.com/returns`,
headers: {
"X-Api-Token": `${this.returnly.$auth.api_key}`,
},
params: {
include: `return_line_items,shipping_labels,instant_refund_voucher`,
status: `refunded`,
},
})
},
})
Using the Airtable API, you can build applications that can:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
airtable: {
type: "app",
app: "airtable",
},
baseId: {
type: "$.airtable.baseId",
appProp: "airtable",
},
tableId: {
type: "$.airtable.tableId",
baseIdProp: "baseId",
},
},
async run({steps, $}) {
return await axios($, {
url: `https://api.airtable.com/v0/${this.baseId}/${this.tableId}`,
headers: {
Authorization: `Bearer ${this.airtable.$auth.api_key}`,
"accept": `application/json`,
},
})
}
})