Skip to main content

Get Carts

GET 

/v2/carts

Retrieves a list of carts. The carts returned depend on the authentication method used:

Authentication MethodHeaderReturns
Customer TokenX-Moltin-Customer-TokenCarts for the specified customer. See Customer Tokens.
Account TokenEP-Account-Management-Authentication-TokenCarts for the specified account. See Account Management Token.
Client CredentialsAuthorization: Bearer <token>All carts or only registered carts, controlled by the show_all_carts setting. See Cart Settings.

Client Credentials Behavior:

  • When show_all_carts is true: Returns all carts in the store.
  • When show_all_carts is false: Returns only registered carts (associated with customers or accounts).

Sorting

Carts are sorted in descending order by updated_date. For more information, see Pagination.

Request

Responses

Response Headers
    Ask External AI