Quickstart

In this quick start guide, we will show you an end-to-end process from Auth0 setup until creating an Auction Lot using our Mojito API. Before following the steps below, we suggest you read first our internal data model structure here. It helps you understand the data flow creation that you need to do.

Auth0 Quickstart Guide

Steps:

  1. Sign up on our Mojito Mint here.
  2. Receive a User ID from Mojito Mint.
  3. Send a User ID from Mojito Mint to your representative at Mojito.
  4. Mojito will grant you access to Mojito Mint.
  5. Create and set up an Auth0 tenant account here with the same email you sign up with Mojito mint.
  6. In Auth0 dashboard, go to Applications > Applications > Default App.
  7. Under Settings, set the Application Type to be Native.
1272
  1. Scroll down to the bottom and click Save Changes.
  2. Under Settings, copy the Auth0 Domain.
1991
  1. Login to our Mojito Mint and go to Settings here.
  2. Set Auth0 Domain that you have in the Set Domain Box here:
1282
  1. Click UPDATE DOMAIN.

Create an Organization via Mojito API

To create an organization via our Mojito API, you can use createOrgByUser mutation with a defined name and handle. Below is the createOrgByUser use case example that you can use. For further details, please refer here.

Create a Marketplace via Mojito API

Once you create an organization, you can create a marketplace within it. To create a marketplace via our Mojito API, you can use orgCreateMarketplace mutation with a defined name and orgId. Below is the orgCreateMarketplace use case example that you can use. For further details, please refer here.

Create a Marketplace Collection via Mojito API

After you have a marketplace setup, you can start populating your marketplace with a collection that will contain various collection items. To create a marketplace collection via our Mojito API, you can use createMarketplaceCollection mutation with a defined marketplaceID and data. Below is the createMarketplaceCollection use case example that you can use. For further details, please refer here.

Create a Collection Item via Mojito API (Auction Lot and Buy Now Lot)

Collection Item(s) is an item or various items that are located within a collection. It has two types: Auction Lot and Buy Now Lot. A collection item can only have one type either an auction-style lot or a buy-it-now style lot. You can create both lot types using our Mojito API.

To create an Auction Lot, you can use createMarketplaceAuctionLot mutation with a defined marketplaceAuctionLot object. Below is the createMarketplaceAuctionLot use case example that you can use. For further details, please refer here.

To create a Buy Now Lot, you can use createMarketplaceBuyNowLot mutation with a defined input object. Below is the createMarketplaceBuyNowLot use case example that you can use. For further details, please refer here.