createMarketplaceClaimableSet

This mutation generates a specific marketplace claimable set.

Sample Mutation

mutation{
  createMarketplaceClaimableSet(input:{
    collectionId:"a3efd946-3d6f-4ec0-b83e-7e7a11e3964c"
    collectionItemName:"claimable test 2"
    totalUnits:20
    delivery:{
      deliveryMethod:NoOp
      NoOp:{
        notes:"no op for claimable"
      }
    }
    perWalletLimit:1000
    promoCodeConfig:{
      prefix:"CLMB"
      numberOfCodes:4
      isSingleCode:true
      codeValue:"ClaimableCodeValue"
    }
    startDate:"2022-07-01T05:01:49Z"
    endDate:"2022-07-31T05:01:49Z"
  }){
    id
    marketplaceCollectionItem{
      id
      marketplaceTokenId
      collectionId
      saleType
      name
      slug
      status
    }
    totalUnits
    totalAvailableUnits
    startDate
    perWalletLimit
    claimingType
    endDate
  }
}

Sample Response

{
  "data": {
    "createMarketplaceClaimableSet": {
      "id": "e842b8b9-e4a2-436e-8f6f-c992ff0368c3",
      "marketplaceCollectionItem": {
        "id": "e36052db-945e-4789-a113-b3220afc8396",
        "marketplaceTokenId": null,
        "collectionId": "a3efd946-3d6f-4ec0-b83e-7e7a11e3964c",
        "saleType": "Claimable",
        "name": "claimable test 2",
        "slug": "claimable-test-2",
        "status": "Active"
      },
      "totalUnits": 20,
      "totalAvailableUnits": 20,
      "startDate": "2022-07-01T05:01:49Z",
      "perWalletLimit": 1000,
      "claimingType": "SingleCode",
      "endDate": "2022-07-31T05:01:49Z"
    }
  }
}

Argument

Name

Type

Description

input

Object

The input to generate marketplace claimable set. Represented in CreateMarketplaceClaimableSetInput object.

Return

Name

Type

Description

MarketplaceClaimableOutput

Object

The success response of marketplace claimable set creation.

Example

Create a marketplace claimable set: