Skip to main content
Version: 3.x

DraftOrderCreated

Event sent when new draft order is created.

Added in Saleor 3.2
type DraftOrderCreated implements Event {
issuedAt: DateTime
version: String
issuingPrincipal: IssuingPrincipal
recipient: App
order: Order
}

Fields

DraftOrderCreated.issuedAt ● DateTime scalar

Time of the event.

DraftOrderCreated.version ● String scalar

Saleor version that triggered the event.

DraftOrderCreated.issuingPrincipal ● IssuingPrincipal union

The user or application that triggered the event.

DraftOrderCreated.recipient ● App object

The application receiving the webhook.

DraftOrderCreated.order ● Order object

The order the event relates to.

Interfaces

Event interface


Was this page helpful?