OrderBulkCreateInput Input Type
No description
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 ● String
External ID of the order.
channel ● String!
Slug of the channel associated with the order.
createdAt ● DateTime!
The date, when the order was inserted to Saleor database.
status ● OrderStatus
Status of the order.
user ● OrderBulkCreateUserInput!
Customer associated with the order.
billingAddress ● AddressInput!
Billing address of the customer.
shippingAddress ● AddressInput
Shipping address of the customer.
currency ● String!
Currency code.
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 ● [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 ● String
Note about customer.
notes ● [OrderBulkCreateNoteInput!]
Notes related to the order.
languageCode ● LanguageCodeEnum!
Order language code.
displayGrossPrices ● Boolean
Determines whether displayed prices should include taxes.
weight ● WeightScalar
Weight of the order in kg.
redirectUrl ● String
URL of a view, where users should be redirected to see the order details.
lines ● [OrderBulkCreateOrderLineInput!]!
List of order lines.
deliveryMethod ● OrderBulkCreateDeliveryMethodInput
The delivery method selected for this order.
giftCards ● [String!]
List of gift card codes associated with the order.
voucherCode ● String
Code of a voucher associated with the order.
Added in Saleor 3.18discounts ● [OrderDiscountCommonInput!]
List of discounts.
fulfillments ● [OrderBulkCreateFulfillmentInput!]
Fulfillments of the order.
transactions ● [TransactionCreateInput!]
Transactions related to the order.
invoices ● [OrderBulkCreateInvoiceInput!]
Invoices related to the order.
Member Of
orderBulkCreate mutation