Skip to main content

DraftOrderCreated Object

Event sent when new draft order is created.

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

Fields

DraftOrderCreated.issuedAt ● DateTime scalar miscellaneous

Time of the event.

DraftOrderCreated.version ● String scalar miscellaneous

Saleor version that triggered the event.

DraftOrderCreated.issuingPrincipal ● IssuingPrincipal union miscellaneous

The user or application that triggered the event.

DraftOrderCreated.recipient ● App object apps

The application receiving the webhook.

DraftOrderCreated.order ● Order object orders

The order the event relates to.

Interfaces

Event interface miscellaneous

Returned By

draftOrderCreated subscription