Skip to main content
PATCH
Update a listing

Authorizations

x-api-key
string
header
required

API key for authentication

Body

application/json
listingId
string<uuid>
required

The listing to update

Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
price
integer

Price in cents

Required range: x <= 9007199254740991
quantity
integer

Units for sale

Required range: 0 <= x <= 9007199254740991
sellerNotes
string

Note from the seller

Maximum string length: 500
active
boolean

Whether the listing is live

premiumPercent
number

Percent over spot for premium_percentage_pricing; 5 is 5%

Required range: x >= 0
premiumDollar
integer

Cents over spot for premium_dollar_pricing

Required range: 0 <= x <= 9007199254740991

Response

Default Response

success
boolean
required
data
object
required