Currently, there is a maximum limit of 15 NFTs per order.
- A marketplace where a buyer can add multiple NFTs to a cart and make the purchase in a single transaction.
- Enabling the purchase of multiple distinct tokens from an ERC-1155 contract in a single transaction.
Marketplace Sales
The following example requires that you have a customcollectionId that supports secondary sales provisioned for you by your Crossmint Customer Success Engineer. For more information on marketplace and launchpad support, check this guide.
If you need to contact the team about getting set up with secondary sales support contact the team.
Multiple lineItems for Secondary Sales
To enable a multi item purchase, you simply need to pass an array of lineItems instead of a single object when creating an order.
The below examples demonstrate how to create a multiple line item order for secondary sales:
Primary Sales of Multiple Items
If you have a custom ERC-721 contract that supports the minter being able to specify which token they want to mint
you could use the example(s) below to enable them to purchase multiple and specific tokens in the same transaction.
This is an uncommon pattern for ERC-721 contracts though.
_id passed in the callData of each lineItem is unique (1 and 2).

