orderCreated Subscription
Event sent when new order is created.
Added in Saleor 3.20orderCreated(channels: [String!]): OrderCreated
Returns
Show return type
type OrderCreated implements Event {
issuedAt: DateTime
version: String
issuingPrincipal: IssuingPrincipal
recipient: App
order: Order
}Arguments
channels
channels · [String!]
List of channel slugs. The event will be sent only if the object belongs to one of the provided channels. If the channel slug list is empty, objects that belong to any channel will be sent. Maximally 500 items.
Schema: Saleor 3.23.43. Download SDL.