2019-07-29 07:49:48 +02:00
|
|
|
# http://localhost:8080/
|
2019-07-29 07:13:33 +02:00
|
|
|
|
|
|
|
query {
|
|
|
|
me {
|
|
|
|
id
|
|
|
|
full_name
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
query {
|
|
|
|
customers {
|
|
|
|
id
|
|
|
|
email
|
|
|
|
payments {
|
|
|
|
customer_id
|
|
|
|
amount
|
|
|
|
billing_details
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
query {
|
|
|
|
products(id: $PRODUCT_ID) {
|
|
|
|
name
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
query {
|
|
|
|
products(id: $PRODUCT_ID) {
|
|
|
|
name
|
|
|
|
image
|
|
|
|
}
|
2019-07-30 07:38:05 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
query {
|
|
|
|
products(
|
|
|
|
limit: 30
|
|
|
|
order_by: { price: desc }
|
|
|
|
distinct: [price]
|
|
|
|
where: { id: { and: { greater_or_equals: 20, lt: 28 } } }
|
|
|
|
) {
|
|
|
|
id
|
|
|
|
name
|
|
|
|
price
|
|
|
|
user {
|
|
|
|
id
|
|
|
|
email
|
|
|
|
}
|
|
|
|
}
|
2019-07-29 07:49:48 +02:00
|
|
|
}
|