v1BrandById
Get a single brand by ID
QUERY
v1BrandByIdArguments
idString!requiredBrand UUID. Required
Returns
Brands
Try it
Server
Bodyapplication/json
Request
curl -X POST 'https://graphql.enad.io/{app_id}/graphql' \
-H 'Content-Type: application/json' \
-d '{
"query": "query V1BrandById($id: String!) {\n v1BrandById(id: $id) {\n id\n name\n slug\n description\n logoUrl\n coverUrl\n address {\n streetAddress\n city\n postalCode\n region\n country\n }\n email\n series {\n id\n name\n slug\n logoUrl\n coverUrl\n }\n }\n}",
"variables": {
"id": "string"
}
}'const response = await fetch("https://graphql.enad.io/{app_id}/graphql", {
method: "POST",
headers: {
"Content-Type": "application/json"
},
body: "{\n \"query\": \"query V1BrandById($id: String!) {\\n v1BrandById(id: $id) {\\n id\\n name\\n slug\\n description\\n logoUrl\\n coverUrl\\n address {\\n streetAddress\\n city\\n postalCode\\n region\\n country\\n }\\n email\\n series {\\n id\\n name\\n slug\\n logoUrl\\n coverUrl\\n }\\n }\\n}\",\n \"variables\": {\n \"id\": \"string\"\n }\n}"
});import requests
response = requests.post(
"https://graphql.enad.io/{app_id}/graphql",
headers={
"Content-Type": "application/json"
},
data="{\n \"query\": \"query V1BrandById($id: String!) {\\n v1BrandById(id: $id) {\\n id\\n name\\n slug\\n description\\n logoUrl\\n coverUrl\\n address {\\n streetAddress\\n city\\n postalCode\\n region\\n country\\n }\\n email\\n series {\\n id\\n name\\n slug\\n logoUrl\\n coverUrl\\n }\\n }\\n}\",\n \"variables\": {\n \"id\": \"string\"\n }\n}",
)Response
{
"data": {
"v1BrandById": {
"id": "string",
"name": "string",
"slug": "string",
"description": "string",
"logoUrl": "string",
"coverUrl": "string",
"address": {
"streetAddress": "string",
"city": "string",
"postalCode": "string",
"region": "string",
"country": "string"
},
"email": "string",
"series": [
{
"id": "string",
"name": "string",
"slug": "string",
"logoUrl": "string",
"coverUrl": "string"
}
]
}
}
}