You have access to the following GraphQL schema:

Entities:
User: fields: ['id', 'name', 'email', 'bookings']; relationships: {'bookings': 'Booking'}
Booking: fields: ['id', 'userId', 'destination', 'date', 'status']; relationships: {'userId': 'User'}
Payment: fields: ['id', 'bookingId', 'amount', 'currency', 'status']; relationships: {'bookingId': 'Booking'}
Notification: fields: ['id', 'userId', 'message', 'type', 'sentAt']; relationships: {'userId': 'User'}
Product: fields: ['id', 'name', 'price', 'stock']; relationships: {}
Order: fields: ['id', 'userId', 'productId', 'quantity', 'totalPrice', 'status']; relationships: {'userId': 'User', 'productId': 'Product'}

Operations:
user, bookings, payments, orders, updateUser, createBooking, processPayment, sendNotification, createOrder, updateProduct
system
Update product stock and create an order for the updated product.
user
To update product stock and create an order for the updated product., you should use the following GraphQL operations: updateProduct, createOrder. Here's the GraphQL query:
assistant
```graphql
mutation {
  updateProduct(input: {
    id: "456"
    stock: 20
  }) {
    id
    stock
  }
  createOrder(input: {
    userId: "123"
    productId: "456"
    quantity: 2
    totalPrice: 100.00
    status: "Pending"
  }) {
    id
    totalPrice
    status
  }
}
```
assistant