whitemarket Documentation For Partners

Placing your inventory items on the market

mutation {
	market_new_multiple(
		items: [{
			inventoryId: "1ef34673-32bf-6dbc-84bb-0242ac1e000b" # Inventory ID
			assetId: "38384121671" # Asset ID
			price: {
				value: "42.42" # Decimal value
				currency: USD # Currency
			}
		}]
		deliveryType: SEMI # Default SEMI
		lifetime: 2592000 # Default 2592000 seconds = 30 days. Min 1 minute, max 30 days
	) {
		# Position in request
		index # 1
		# instance of MarketProductUnion. Possible types:
		# MarketProduct
		# MarketProductHistory
		product
		# Error category
		errorCategory # market.product.not_found
		# Error category
		errorMessage # ❗️ Oops! Item not found.
	}
}