You can use this API to set the price of an NFT.
POST /user/nfts/set_price
Name | Type | Description | Required |
---|---|---|---|
nftId | number | id of nft | ✔️ |
priceSatoshis | number | price to sell token for | ✔️ |
Status: 200
{
"success": true
}
curl -X POST https://www.juungle.net/api/v1/user/nfts/set_price \
--data '{
"nftId": 42069,
"priceSatoshis": 200000
}' \
-H 'X-Access-Token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOjEsImlhdCI6MTYxMTE3NDcyOCwiZXhwIjoxNjExNzc5NTI4fQ.IUDW9DeKsPTmJ8EupsprFV8UArqJcsNAbF_-IrxBG1Q'
You can use this API to cancel the sale of an NFT.
POST /user/nfts/cancel_sale
Name | Type | Description | Required |
---|---|---|---|
nftId | number | id of nft | ✔️ |
Status: 200
{
"success": true
}
curl -X POST https://www.juungle.net/api/v1/user/nfts/set_price \
--data '{
"nftId": 42069
}' \
-H 'X-Access-Token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOjEsImlhdCI6MTYxMTE3NDcyOCwiZXhwIjoxNjExNzc5NTI4fQ.IUDW9DeKsPTmJ8EupsprFV8UArqJcsNAbF_-IrxBG1Q'