> Documentation index: [Saleor](/llms.txt) · [This section](/api-reference/orders/llms.txt)
> Source: https://docs.saleor.io/api-reference/orders/inputs/order-bulk-create-order-line-input

# OrderBulkCreateOrderLineInput Input Type

No description

```graphql
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!]
}
```

<a id="fields"></a>

### Fields

<a id="variant-id"></a>

#### [`variantId`](#variant-id) ● [`ID`](/api-reference/miscellaneous/scalars/id.md)

The ID of the product variant.

<a id="variant-sku"></a>

#### [`variantSku`](#variant-sku) ● [`String`](/api-reference/miscellaneous/scalars/string.md)

The SKU of the product variant.

<a id="variant-external-reference"></a>

#### [`variantExternalReference`](#variant-external-reference) ● [`String`](/api-reference/miscellaneous/scalars/string.md)

The external ID of the product variant.

<a id="variant-name"></a>

#### [`variantName`](#variant-name) ● [`String`](/api-reference/miscellaneous/scalars/string.md)

The name of the product variant.

<a id="product-name"></a>

#### [`productName`](#product-name) ● [`String`](/api-reference/miscellaneous/scalars/string.md)

The name of the product.

<a id="product-sku"></a>

#### [`productSku`](#product-sku) ● [`String`](/api-reference/miscellaneous/scalars/string.md)

The SKU of the product.

Added in Saleor 3.18

<a id="translated-variant-name"></a>

#### [`translatedVariantName`](#translated-variant-name) ● [`String`](/api-reference/miscellaneous/scalars/string.md)

Translation of the product variant name.

<a id="translated-product-name"></a>

#### [`translatedProductName`](#translated-product-name) ● [`String`](/api-reference/miscellaneous/scalars/string.md)

Translation of the product name.

<a id="created-at"></a>

#### [`createdAt`](#created-at) ● [`DateTime!`](/api-reference/miscellaneous/scalars/date-time.md)

The date, when the order line was created.

<a id="is-shipping-required"></a>

#### [`isShippingRequired`](#is-shipping-required) ● [`Boolean!`](/api-reference/miscellaneous/scalars/boolean.md)

Determines whether shipping of the order line items is required.

<a id="is-gift-card"></a>

#### [`isGiftCard`](#is-gift-card) ● [`Boolean!`](/api-reference/miscellaneous/scalars/boolean.md)

Gift card flag.

<a id="quantity"></a>

#### [`quantity`](#quantity) ● [`Int!`](/api-reference/miscellaneous/scalars/int.md)

Number of items in the order line

<a id="total-price"></a>

#### [`totalPrice`](#total-price) ● [`TaxedMoneyInput!`](/api-reference/orders/inputs/taxed-money-input.md)

Price of the order line.

<a id="undiscounted-total-price"></a>

#### [`undiscountedTotalPrice`](#undiscounted-total-price) ● [`TaxedMoneyInput!`](/api-reference/orders/inputs/taxed-money-input.md)

Price of the order line excluding applied discount.

<a id="unit-discount-reason"></a>

#### [`unitDiscountReason`](#unit-discount-reason) ● [`String`](/api-reference/miscellaneous/scalars/string.md)

Reason of the discount on order line.

Added in Saleor 3.19

<a id="unit-discount-type"></a>

#### [`unitDiscountType`](#unit-discount-type) ● [`DiscountValueTypeEnum`](/api-reference/discounts/enums/discount-value-type-enum.md)

Type of the discount: fixed or percent

Added in Saleor 3.19

<a id="unit-discount-value"></a>

#### [`unitDiscountValue`](#unit-discount-value) ● [`PositiveDecimal`](/api-reference/miscellaneous/scalars/positive-decimal.md)

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

Added in Saleor 3.19

<a id="warehouse"></a>

#### [`warehouse`](#warehouse) ● [`ID!`](/api-reference/miscellaneous/scalars/id.md)

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

<a id="metadata"></a>

#### [`metadata`](#metadata) ● [`[MetadataInput!]`](/api-reference/miscellaneous/inputs/metadata-input.md)

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.

<a id="private-metadata"></a>

#### [`privateMetadata`](#private-metadata) ● [`[MetadataInput!]`](/api-reference/miscellaneous/inputs/metadata-input.md)

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.

<a id="tax-rate"></a>

#### [`taxRate`](#tax-rate) ● [`PositiveDecimal`](/api-reference/miscellaneous/scalars/positive-decimal.md)

Tax rate of the order line.

<a id="tax-class-id"></a>

#### [`taxClassId`](#tax-class-id) ● [`ID`](/api-reference/miscellaneous/scalars/id.md)

The ID of the tax class.

<a id="tax-class-name"></a>

#### [`taxClassName`](#tax-class-name) ● [`String`](/api-reference/miscellaneous/scalars/string.md)

The name of the tax class.

<a id="tax-class-metadata"></a>

#### [`taxClassMetadata`](#tax-class-metadata) ● [`[MetadataInput!]`](/api-reference/miscellaneous/inputs/metadata-input.md)

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.

<a id="tax-class-private-metadata"></a>

#### [`taxClassPrivateMetadata`](#tax-class-private-metadata) ● [`[MetadataInput!]`](/api-reference/miscellaneous/inputs/metadata-input.md)

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.

<a id="member-of"></a>

### Member Of

[`OrderBulkCreateInput`](/api-reference/orders/inputs/order-bulk-create-input.md) input
