OrderBulkCreateOrderLineInput Input Type
input OrderBulkCreateOrderLineInput {
variantId: ID
variantSku: String
variantExternalReference: String
variantName: String
productName: String
productSku: String
translatedVariantName: String
translatedProductName: String
createdAt: DateTime!
isShippingRequired: Boolean!
isGiftCard: Boolean!
quantity: Int!
totalPrice: TaxedMoneyInput!
undiscountedTotalPrice: TaxedMoneyInput!
unitDiscountReason: String
unitDiscountType: DiscountValueTypeEnum
unitDiscountValue: PositiveDecimal
warehouse: ID!
metadata: [MetadataInput!]
privateMetadata: [MetadataInput!]
taxRate: PositiveDecimal
taxClassId: ID
taxClassName: String
taxClassMetadata: [MetadataInput!]
taxClassPrivateMetadata: [MetadataInput!]
}
Fields
variantId
variantId · ID
The ID of the product variant.
variantSku
variantSku · String
The SKU of the product variant.
variantExternalReference
variantExternalReference · String
The external ID of the product variant.
variantName
variantName · String
The name of the product variant.
productName
productName · String
The name of the product.
productSku
productSku · String
The SKU of the product.
Added in Saleor 3.18translatedVariantName
translatedVariantName · String
Translation of the product variant name.
translatedProductName
translatedProductName · String
Translation of the product name.
createdAt
createdAt · DateTime!
The date, when the order line was created.
isShippingRequired
isShippingRequired · Boolean!
Determines whether shipping of the order line items is required.
isGiftCard
isGiftCard · Boolean!
Gift card flag.
quantity
quantity · Int!
Number of items in the order line
totalPrice
totalPrice · TaxedMoneyInput!
Price of the order line.
undiscountedTotalPrice
undiscountedTotalPrice · TaxedMoneyInput!
Price of the order line excluding applied discount.
unitDiscountReason
unitDiscountReason · String
Reason of the discount on order line.
Added in Saleor 3.19unitDiscountType
unitDiscountType · DiscountValueTypeEnum
Type of the discount: fixed or percent
Added in Saleor 3.19unitDiscountValue
unitDiscountValue · PositiveDecimal
Value of the discount. Can store fixed value or percent value
Added in Saleor 3.19warehouse
warehouse · ID!
The ID of the warehouse, where the line will be allocated.
metadata
metadata · [MetadataInput!]
Metadata of the order line. 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 line. 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.
taxRate
taxRate · PositiveDecimal
Tax rate of the order line.
taxClassId
taxClassId · ID
The ID of the tax class.
taxClassName
taxClassName · String
The name of the tax class.
taxClassMetadata
taxClassMetadata · [MetadataInput!]
Metadata of the tax class. 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.
taxClassPrivateMetadata
taxClassPrivateMetadata · [MetadataInput!]
Private metadata of the tax class. 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.
Used by
Schema: Saleor 3.23.43. Download SDL.