Venly API
Search…
Update offer price
Endpoint to update the price of an existing offer
patch
https://api.arkane.market
/offers/:offerId/price
Update the price of an offer
The price of a normal sale can always be updated. The price for an auction can only be updated when the auction has 0 bids.

Error codes:

  • invalid-offer-status: The offer is not available anymore in the market, either it has been bought or canceled.

Example

Request

1
https://api.arkane.market/offers/18ec506b-1d11-4f94-95f4-e19d89f93da1/price
Copied!

Request Body

1
{
2
"price": "9.99"
3
}
Copied!

Response

1
{
2
"success": true,
3
"result": {
4
"id": "7ae41bf0-fc02-41d3-8e1e-31f5cdf7026f",
5
"nft": {
6
"id": "452",
7
"address": "0xeea32c4db500b21600ed0fa139f7916307bd50c6",
8
"chain": "MATIC",
9
"name": "Ryu - Street Fighter",
10
"description": "Ryu is a fictional Japanese fighting character and the main protagonist of Capcom's Street Fighter series. Having premiered in the first Street Fighter in 1987, Ryu appears as the game's lead character alongside his best friend Ken Masters",
11
"imageUrl": "https://storage.googleapis.com/shopify-dev-314109.appspot.com/nfts/1628018209831_2650831544-rya.gif",
12
"url": "https://streetfighter.fandom.com/wiki/Ryu",
13
"imagePreviewUrl": "https://storage.googleapis.com/shopify-dev-314109.appspot.com/nfts/1628018209831_2650831544-rya.gif",
14
"imageThumbnailUrl": "https://storage.googleapis.com/shopify-dev-314109.appspot.com/nfts/1628018209831_2650831544-rya.gif",
15
"animationUrls": [
16
{
17
"type": "image",
18
"value": "https://i.pinimg.com/originals/90/6b/fe/906bfe4a35cbca6258b04f921223cb27.png"
19
}
20
],
21
"fungible": false,
22
"maxSupply": 10,
23
"attributes": [
24
{
25
"type": "property",
26
"name": "Power",
27
"value": "9"
28
},
29
{
30
"type": "property",
31
"name": "Speed",
32
"value": "9"
33
},
34
{
35
"type": "property",
36
"name": "Ability",
37
"value": "Energy Ball"
38
}
39
],
40
"contract": {
41
"chain": "MATIC",
42
"address": "0xeea32c4db500b21600ed0fa139f7916307bd50c6",
43
"count": 0,
44
"name": "SEED",
45
"description": "SEED TEST",
46
"symbol": "SEED",
47
"url": "seedcms.com",
48
"imageUrl": "https://storage.googleapis.com/shopify-dev-314109.appspot.com/settings/SeedCMS-capsule_image_mens-collection.underwear.png",
49
"media": [
50
{
51
"type": "unknown",
52
"value": "https://storage.googleapis.com/shopify-dev-314109.appspot.com/settings/SeedCMS-capsule_media_mens-collection.tops.png"
53
}
54
],
55
"verified": false,
56
"premium": false,
57
"categories": []
58
}
59
},
60
"sellerId": "fd5a4ee7-2cf8-4f33-8978-3649bc447482",
61
"sellerAddress": "0x39069fb544c7e25122b8a54cd7b982d34d11e470",
62
"startDate": "2021-08-09T19:59:50.398634Z",
63
"type": "SALE",
64
"status": "READY",
65
"dataToSign": "7ae41bf0-fc02-41d3-8e1e-31f5cdf7026f_0x39069fb544c7e25122b8a54cd7b982d34d11e470_0xe885A1cD1b67bDC352A113AB2e6A5Fc6C924F888_452",
66
"txInCustody": "0x054717e82edc70bec5e4aa0d1b712eb35846667a967ea0ac935caf49cfab45a0",
67
"createdOn": "2021-08-09T19:59:50.680943Z",
68
"createdBy": "fd5a4ee7-2cf8-4f33-8978-3649bc447482",
69
"modifiedOn": "2021-08-09T20:22:23.787778Z",
70
"modifiedBy": "fd5a4ee7-2cf8-4f33-8978-3649bc447482",
71
"signed": true,
72
"currency": "USDC",
73
"price": 9.99
74
}
75
}
Copied!
Last modified 1mo ago