with Domain Group and Sylius?
Emit new event when an agency listing is updated. See the documentation
Emit new event when a new agency is created. See the documentation
Emit new event when a new agency listing is created. See the documentation
Creates a new business listing. See the documentation
Creates a new commercial listing. See the documentation
Creates a new residential listing. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
domain_group: {
type: "app",
app: "domain_group",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.domain_group.$auth.api_url}/v1/me`,
headers: {
Authorization: `Bearer ${this.domain_group.$auth.oauth_access_token}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
sylius: {
type: "app",
app: "sylius",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.sylius.$auth.api_url}/api/v2/shop/product-variants`,
headers: {
Authorization: `Bearer ${this.sylius.$auth.oauth_access_token}`,
"accept": `application/ld+json`,
},
params: {
page: `1`,
itemsPerPage: `30`,
},
})
},
})