Prime CLIUse the Prime CLI to test this endpoint by following the quick start guide and running this command:
Copy
Ask AI
primectl get-portfolio-fills --help
- CLI
- TS/JS
Copy
Ask AI
primectl get-portfolio-fills --help
Copy
Ask AI
const ordersService = new OrdersService(client);
ordersService.listPortfolioFills({
portfolioId: 'PORTFOLIO_ID_HERE',
orderId: 'ORDER_ID_HERE',
}).then(async (response) => {
console.log('Fills: ', response);
})