orgCreateMarketplace

This mutation allows the creation of a marketplace within an organization.

Sample Mutation

Create a marketplace within an organization with a name:

mutation{
  orgCreateMarketplace(name:"port" orgId:"a1dc174d-abf4-47d3-be3c-9281c6eba456"){
    id
    name
    organizationID
  }
}

Sample Response

{
  "data": {
    "orgCreateMarketplace": {
      "id": "ebd2bab6-5c5c-44ae-9e68-29ea1f93acdb",
      "name": "port",
      "organizationID": "a1dc174d-abf4-47d3-be3c-9281c6eba456"
    }
  }
}

Result

245245

Arguments

NameTypeDescriptionRequired
nameStringThe name of the marketplace created within an organization.Yes
orgIdUUIDThe organization ID.Yes

Returns

NameTypeDescription
MarketplaceObjectContains all the information from Marketplace such as the marketplace ID, the marketplace name, organization ID, theme, collections, and tokens.

Example

Create a marketplace in an organization using a name and organization ID: