Welcome to the Airtable Community! If you're new here, check out our Getting Started area to get the most out of your community experience.

API Connection Cin7

Topic Labels: Scripting extentions
145 0
Showing results for 
Search instead for 
Did you mean: 

Has anyone used Airscripts to pull data in from Cin7 via API? Also, does anyone have recommendation for best API to use? I think you have to use async and await in Scripts? JavaScript has so many options. Plus, I just started using Airtable yesterday. I was think about using the below but adding Cin7 requirements. They just use HTTP auth so I need to add that piece for accessing still.

import fetch from ‘node-fetch’;

const getPokemon = async() => {
let id = 1;
let url =${id};
const res = await fetch(url); // Returns a promise so we need await
const data = await res.json(); // Returns a promise so we need await
}catch(err) {


0 Replies 0