v1/purchase-reseller
This endpoint is dedicated to production usage of BrickVerse & not recommended for 3rd Party applications due to cookie requirement & way we handle data on this endpoint.
GET
https://api.brickverse.co/v1/asset
Query Parameters
Name
Type
Description
id*
Int
Limited Posting ID
success
var xhr = new XMLHttpRequest();
xhr.open('GET', "/api/v1/asset/purchase-reseller?id=1", true);
xhr.onload = function() {
var data = xhr.response;
if (data.startsWith("success")) {
console.log("Purchase successful!");
} else {
var reason = data.split(":")[1];
console.log("Purchase failed for " + reason);
}
};
xhr.send();
This endpoint is used for purchasing user-created assets such as Hats, Shirts, Pants, etc. This endpoint operates similar to v1/asset/purchase, this endpoint is dedicated to buying items from resellers of limiteds.
Last updated
Was this helpful?