import { graphQLClient, gql } from '@afosto/graphql-client';
export default defineComponent({
props: {
afosto: {
type: "app",
app: "afosto",
}
},
async run({steps, $}) {
graphQLClient.setAuthorizationHeader(this.afosto.$auth.auth_token);
const query = gql`query GetChannelData { channel { name type logo locale favicon business { name messaging { sender { name address } } } branding { colors { primary text } style } links { type value } } }`;
return await graphQLClient.request(query);
},
})
Add customer information to a cart. See the documentation
Add an item to a cart. See the documentation
Add a note to a cart. See the documentation
Confirm a cart. See the documentation
Create a new cart. See the documentation
Afosto uses API keys for authentication. When you connect your Afosto account, Pipedream securely stores the keys so you can easily authenticate to Afosto APIs in both code and no-code steps.