Skip to content

Latest commit

 

History

History
 
 

order

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

🧾 Order

Docs

import { LemonsqueezyClient } from "lemonsqueezy.ts";

const client = new LemonsqueezyClient("YOUR_API_KEY");

const order = await client.retrieveOrder({
  id: "...",
});

const orders = await client.listAllOrders();
import { retrieveOrder, listAllOrders } from "lemonsqueezy.ts/order";

const order = await retrieveOrder({
  apiKey: "YOUR_API_KEY",
  id: "...",
});

const orders = await listAllOrders({
  apiKey: "YOUR_API_KEY",
});