Home > @vsf-enterprise/commercetools-api > DefaultLineItemFragment

# DefaultLineItemFragment variable

Portion of the LineItemFragment

Signature:

DefaultLineItemFragment = "\n  fragment DefaultLineItem on LineItem {\n    id\n    productId\n    name(acceptLanguage: $acceptLanguage)\n    productSlug(acceptLanguage: $acceptLanguage)\n    quantity\n    discountedPricePerQuantity {\n      quantity\n      discountedPrice {\n        value {\n          centAmount\n          currencyCode\n        }\n        includedDiscounts {\n          discount {\n            name(acceptLanguage: $acceptLanguage)\n            isActive\n          }\n        }\n      }\n    }\n    variant {\n      id\n      sku\n      price(currency: $currency) {\n        tiers {\n          value {\n            centAmount\n          }\n        }\n        value {\n          centAmount\n          currencyCode\n        }\n        discounted {\n          value {\n            centAmount\n            currencyCode\n          }\n          discount {\n            isActive\n            name(acceptLanguage: $acceptLanguage)\n          }\n        }\n      }\n      images {\n        url\n        label\n      }\n      attributesRaw {\n        name\n        value\n        attributeDefinition {\n          type {\n            name\n          }\n          label(locale: $locale)\n        }\n      }\n    }\n    price {\n      ...DefaultProductPrice\n    }\n    distributionChannel {\n      ...ChannelFragment\n    }\n    supplyChannel {\n      ...ChannelFragment\n    }\n    shippingDetails {\n      targets {\n        addressKey\n        quantity\n      }\n      valid\n    }\n  }\n"