Buy an offer
Endpoint to buy a certain offer
To buy an offer: use POST /fulfillments with type=PURCHASE
Buy an offer
POST
https://api.venly.market/fulfillments
Request Body
Name | Type | Description |
---|---|---|
type* | String | PURCHASE or REIMBURSEMENT |
offerId* | String | The Offer being bought |
amount* | String | The amount of items being bought (should be equal or less than Offer.amount) |
walletAddress | String | (optional) Address to where the bought NFT should be send |
userId | String | id of the sub-user buying the Offer |
Example
Request
Request Body (when buying for yourself)
You need to specify the walletAddress
to where the NFT needs to be send.
Request Body (when buying on behalf of your sub-user)
You can specify a sub-user
-id, when you want to register a sale for a sub-user (see creating a sub-user). The NFT will be send to the specified wallet-address.
Response
Last updated