OrderBulkCreateInput Input Type
input OrderBulkCreateInput {
externalReference: String
channel: String!
createdAt: DateTime!
status: OrderStatus
user: OrderBulkCreateUserInput!
billingAddress: AddressInput!
shippingAddress: AddressInput
currency: String!
metadata: [MetadataInput!]
privateMetadata: [MetadataInput!]
customerNote: String
notes: [OrderBulkCreateNoteInput!]
languageCode: LanguageCodeEnum!
displayGrossPrices: Boolean
weight: WeightScalar
redirectUrl: String
lines: [OrderBulkCreateOrderLineInput!]!
deliveryMethod: OrderBulkCreateDeliveryMethodInput
giftCards: [String!]
voucherCode: String
discounts: [OrderDiscountCommonInput!]
fulfillments: [OrderBulkCreateFulfillmentInput!]
transactions: [TransactionCreateInput!]
invoices: [OrderBulkCreateInvoiceInput!]
}
Fields
externalReference
externalReference · String
External ID of the order.
channel
channel · String!
Slug of the channel associated with the order.
createdAt
createdAt · DateTime!
The date, when the order was inserted to Saleor database.
status
status · OrderStatus
Status of the order.
user
user · OrderBulkCreateUserInput!
Customer associated with the order.
billingAddress
billingAddress · AddressInput!
Billing address of the customer.
shippingAddress
shippingAddress · AddressInput
Shipping address of the customer.
currency
currency · String!
Currency code.
metadata
metadata · [MetadataInput!]
Metadata of the order. Can be read by any API client authorized to read the object it’s attached to.
Warning: never store sensitive information, including financial data such as credit card details.
privateMetadata
privateMetadata · [MetadataInput!]
Private metadata of the order. Requires permissions to modify and to read the metadata of the object it’s attached to.
Warning: never store sensitive information, including financial data such as credit card details.
customerNote
customerNote · String
Note about customer.
notes
notes · [OrderBulkCreateNoteInput!]
Notes related to the order.
languageCode
languageCode · LanguageCodeEnum!
Order language code.
displayGrossPrices
displayGrossPrices · Boolean
Determines whether displayed prices should include taxes.
weight
weight · WeightScalar
Weight of the order in kg.
redirectUrl
redirectUrl · String
URL of a view, where users should be redirected to see the order details.
lines
lines · [OrderBulkCreateOrderLineInput!]!
List of order lines.
deliveryMethod
deliveryMethod · OrderBulkCreateDeliveryMethodInput
The delivery method selected for this order.
giftCards
giftCards · [String!]
List of gift card codes associated with the order.
voucherCode
voucherCode · String
Code of a voucher associated with the order.
Added in Saleor 3.18discounts
discounts · [OrderDiscountCommonInput!]
List of discounts.
fulfillments
fulfillments · [OrderBulkCreateFulfillmentInput!]
Fulfillments of the order.
transactions
transactions · [TransactionCreateInput!]
Transactions related to the order.
invoices
invoices · [OrderBulkCreateInvoiceInput!]
Invoices related to the order.
Used by
Schema: Saleor 3.23.43. Download SDL.