Url to playground: https://localhost:7028/ui/playground
{
customers{
id,
firstName,
lastName,
orders
{
id,
status
}
}
}
{
customerById(id: "aeab639a-efd1-4bf2-81d8-0c068f7cc692"){
id,
firstName,
lastName,
orders
{
id,
status
}
}
}
{
orders{
id,
status,
customer
{
id,
firstName,
lastName
}
}
}
{
orderById(id: "026f0bd5-dfe6-4b77-942c-9ab5aabbd4f6"){
id,
status,
customer
{
id,
firstName,
lastName
}
}
}
mutation
{
createCustomer(firstName: "James", lastName:"Test", notes: "some notes")
{
id,
firstName,
lastName,
notes
}
}