Skip to main content

carts

Search and retrieve shopping carts with comprehensive filtering and pagination.

Provides flexible search capabilities across cart data including customer information, cart status, creation dates, and associated products. Results are paginated and filtered based on user permissions.

Possible errors:

  • CART_FETCH_ERROR: Failed to search carts
  • FORBIDDEN: Insufficient permissions to search carts

AUTH: Role=[order.OWNER,order.EDITOR,order.VIEWER] OR (('user is authenticated') AND ('contactId if present in input matches JWT' AND 'customerId if present in input matches JWT' AND 'companyId(s) if present in input matches JWT'))

carts(
input: CartSearchInput!
): CartResponse!

Arguments

carts.input ● CartSearchInput! non-null input

Search criteria for filtering carts.

Supports filtering by customer information, cart status, creation dates, and more. Results are restricted based on user permissions and organizational access.

Type

CartResponse object

Paginated response containing cart search results.

Provides a collection of shopping carts matching the search criteria, along with pagination information for navigating through large result sets.