Discord Server Invite

Offers Resource

Offer Objects

Offer Structure
Field Type Description
created integer the timestamo when the offer was created
id snowflake the offer's id
from snowflake the creator's id
type string the offer's type
sell object the item object, if the offer is a sell type
buy object the item object, if the offer is a buy type
sold integer the amount sold, if the offer is a sell type
bought integer the amount bought, if the offer is a buy type

Item Object

The object with only key equal to the item ID and the value being the amount sold/bought.
It also includes a key called price including the price of the offer.

Get Offers

GET/list/offers

Returns an array of offers.

Get Selling Offers

GET/list/offers/selling

Returns an array of selling offers.

Get Buying Offers

GET/list/offers/buying

Returns an array of buying offers.