Preview

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

activeCart

Retrieves the active cart for the current user

This page contains

    Arguments

    locale Locale

    Preferred locale for the response (e.g., en-US, de, en-AU). If not provided, user's current locale will be used

    Return Fields

    Cart PREVIEW

    A user's cart containing items to be purchased

    Interactive example

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

    Hint: use Ctrl + Space for autocompleting fields.