/api/products provides endpoints for locating and updating product information. A product represents an individual collection of tokens within a contract.
Get data for a single product.
OK
Upload banner image through the IPFS service.
const response = await fetch('api.rair.market/api/products/{id}', { method: 'GET', headers: {}, }); const data = await response.json();
const response = await fetch('api.rair.market/api/products/{id}', { method: 'POST', headers: { "Content-Type": "multipart/form-data" }, body: JSON.stringify({}), }); const data = await response.json();