Skip to main content

OrderBulkCreateOrderLineInput Input Type

No description

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 ● ID​

The ID of the product variant.

variantSku ● String​

The SKU of the product variant.

variantExternalReference ● String​

The external ID of the product variant.

variantName ● String​

The name of the product variant.

productName ● String​

The name of the product.

productSku ● String​

The SKU of the product.

Added in Saleor 3.18

translatedVariantName ● String​

Translation of the product variant name.

translatedProductName ● String​

Translation of the product name.

createdAt ● DateTime!​

The date, when the order line was created.

isShippingRequired ● Boolean!​

Determines whether shipping of the order line items is required.

isGiftCard ● Boolean!​

Gift card flag.

quantity ● Int!​

Number of items in the order line

totalPrice ● TaxedMoneyInput!​

Price of the order line.

undiscountedTotalPrice ● TaxedMoneyInput!​

Price of the order line excluding applied discount.

unitDiscountReason ● String​

Reason of the discount on order line.

Added in Saleor 3.19

unitDiscountType ● DiscountValueTypeEnum​

Type of the discount: fixed or percent

Added in Saleor 3.19

unitDiscountValue ● PositiveDecimal​

Value of the discount. Can store fixed value or percent value

Added in Saleor 3.19

warehouse ● ID!​

The ID of the warehouse, where the line will be allocated.

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 ● [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 ● PositiveDecimal​

Tax rate of the order line.

taxClassId ● ID​

The ID of the tax class.

taxClassName ● String​

The name of the tax class.

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 ● [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.

Member Of​

OrderBulkCreateInput input