Apps
Themes
  • Theme shop
  • Online Store 3.0 Themes
APIs & References
  • Admin Rest API
  • Webhook
  • Admin GraphQL API
  • Storefront API
  • Ajax API
  • Handlebars
  • Sline
English
  • English
  • 简体中文
Partner Portal
Menu
  • Apps
  • Themes
    • Theme shop
    • Online Store 3.0 Themes
  • APIs & References
    • Admin Rest API
    • Webhook
    • Admin GraphQL API
    • Storefront API
    • Ajax API
    • Handlebars
    • Sline
APIs & References > Storefront API
    English
    • English
    • 简体中文
  • Partner Portal

    CartLineInput

    input
    v20261201Unstable
    • v20261201Unstable
    • v20260901Release Candidate
    • v20260601Stable
    • v20260301Stable
    • v20251201Stable
    • v20250601Stable
    • v20250301Stable
    • v20241201Deprecated
    • v20240601Deprecated
    • v20240301Deprecated
    • v20231201Deprecated
    • v20230901Deprecated
    • v20230301Deprecated
    • v20220901Deprecated
    CartLineInput
    Fields
    variantId ● String!non-null
    variant id
    attributes ● [AttributeInput]
    An array of key-value pairs that contains additional information about the merchandise line.
    More
    quantity ● Int!non-null
    The quantity of the merchandise.
    Status and error codes
    For detailed information about common codes, see Status and error codes.
    Map
    Input field from
    CartInput.lines
    CartLinesAddInput.lines
    CartLineInput
    Was this article helpful to you?
    SHOPLINE
    SHOPLINE
    SHOPLINE Enterprise
    Legal
    Privacy
    Terms
    Developer Agreement
    LinkedInEmail
    LinkedInEmail
    © Copyright 2013-2026 SHOPLINE Limited.