Skip to main content

OrderImportLineInput

A line of an order to import.

input OrderImportLineInput {
discountedUnitaryPrice: Float!
kind: OrderLineKind!
number: String
originalUnitaryPrice: Float!
quantity: Int!
sku: String!
skuDescription: String!
vatPercentage: Float!
}

Fields​

OrderImportLineInput.discountedUnitaryPrice ● Float! non-null scalar​

The final unit price after every discount applied to the line (line-level coupons included), as a net price excluding VAT. Always required: when no discount applies, send the same value as originalUnitaryPrice. Non-negative, except on coupon lines.

OrderImportLineInput.kind ● OrderLineKind! non-null enum​

The kind of order line: item (a product), shipping_charge (the shipping cost), payment_charge (the payment cost), coupon (an order-level discount, with a negative price), import_duties (import duties), kit_component (a component of a kit) or personalization (a product personalization).

OrderImportLineInput.number ● String scalar​

The line number within the order. Required when the shippings split the item quantities, since shippings[].lines[].lineNumber references it; optional otherwise.

OrderImportLineInput.originalUnitaryPrice ● Float! non-null scalar​

The full unit price before discounts, as a net price excluding VAT. Always required: when no discount applies, send the same value as discountedUnitaryPrice. Non-negative, except on coupon lines.

OrderImportLineInput.quantity ● Int! non-null scalar​

The ordered quantity of the line.

OrderImportLineInput.sku ● String! non-null scalar​

The product SKU. Not checked against the channel catalogue at import time.

OrderImportLineInput.skuDescription ● String! non-null scalar​

The product description of the line. Required.

OrderImportLineInput.vatPercentage ● Float! non-null scalar​

The VAT percentage applied to the line. For B2B orders with VAT-free prices send 0 with the final prices, which the reverse charge conversion leaves unchanged.

Member Of​

OrderImportInput input