This query loads the marketplace information.
General Pattern
query{
marketplace(id: "UUID"){
field_1
field_2 {
nested_field_1
...
}
}
}
Sample query
query{
marketplace(id: "d15b1b02-3c87-434d-a7fb-004b27415fbc"){
id
name
organizationID
collections{
id
marketplaceID
name
slug
description
}
}
}
Sample response
{
"data": {
"marketplace": {
"id": "d15b1b02-3c87-434d-a7fb-004b27415fbc",
"name": "metaverso",
"organizationID": "a1dc174d-abf4-47d3-be3c-9281c6eba456",
"collections": [
{
"id": "f2cd1160-1c99-4a27-b948-d48a60ba2e11",
"marketplaceID": "d15b1b02-3c87-434d-a7fb-004b27415fbc",
"name": "metaverso",
"slug": "metaverso",
"description": "Test"
},
{
"id": "b53a4163-ffce-455b-a72e-1a2106c90fbc",
"marketplaceID": "d15b1b02-3c87-434d-a7fb-004b27415fbc",
"name": "test metaverso",
"slug": "test-metaverso",
"description": "Test collection for metaverso"
}
]
}
}
}
Arguments
Name | Type | Description | Required |
---|---|---|---|
id | UUID | Represents the marketplace ID. | Yes |
Fields
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. |
Examples
Load the marketplace data with basic information: