Accessing Orders
Accessing all orders
You can access all orders in your GarageSale library through the allOrders variable.
function run() {
consoleLog("your library contains " + allOrders.length + " orders);
}Accessing selected orders
You can access the currently selected orders in GarageSale’s outline view through the selectedOrders variable.
function run() {
for (order of selectedOrders) {
consoleLog(order.title);
}
}| << Inventory Item properties | eBay Order JavaScript properties >> |