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

Add items to existing active cart or create new cart with provided items if active cart doesn't exist

This page contains

    Arguments

    input AddItemsInput! PREVIEW

    AddItemsInput fields

    items [CarItemInput!]! PREVIEW

    Represents the items to be added in the cart

    userId ID!

    Represents the id of the user

    accountId ID!

    Represents the company id of user

    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.