2025-05-08 19:30:00 +03:00

29 lines
383 B
GraphQL

fragment OrderFields on Order {
documentId
time_start
time_end
state
order_number
services {
documentId
name
}
client {
name
documentId
photoUrl
}
}
query GetOrder($documentId: ID!) {
order(documentId: $documentId) {
...OrderFields
}
}
mutation CreateOrder($input: OrderInput!) {
createOrder(data: $input) {
...OrderFields
}
}