Preview

addItemsToCart is in Preview status and is subject to change without notice. For more information about Preview status, see the GraphQL API policy.

addItemsToCart

Creates a new cart or adds items to an existing active cart

This page contains

    Arguments

    input AddItemsInput! PREVIEW

    AddItemsInput fields

    items [CarItemInput!]! PREVIEW

    List of items to be added to the cart

    userId ID!

    Unique identifier of the user

    accountId ID!

    Unique identifier of the account (company)

    Return Fields

    cart Cart PREVIEW

    Interactive example

    This is an example mutation query. Use the embedded interactive tool below to edit the query.

    Hint: use Ctrl + Space for autocompleting fields.