Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 457 Bytes

File metadata and controls

23 lines (18 loc) · 457 Bytes
import { Flexprice } from "flexprice-ts-temp";

const flexprice = new Flexprice({
  serverURL: "https://api.example.com",
  apiKeyAuth: "<YOUR_API_KEY_HERE>",
});

async function run() {
  const result = await flexprice.addons.createAddon({
    lookupKey: "<value>",
    name: "<value>",
    type: "multiple_instance",
  });

  console.log(result);
}

run();