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

Arguments

Name

Type

Description

Required

name

String

The name of the marketplace created within an organization.

Yes

orgId

UUID

The organization ID.

Yes

Returns

Name

Type

Description

Marketplace

Object

Contains 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: