Get all available products for a cart. Beta

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://developer.pace.cloud/doc/cart/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
{
  "Cart MCP server": {
    "url": "https://developer.pace.cloud/doc/cart/mcp"
  }
}

Close
GET /2025-3/cart-products

Returns a list of all available products for the specified cart.

Query parameters

  • filter object Required

    Filter for the products for the specified cart.

    Hide filter attributes Show filter attributes object
    • cartId object Required

      Filter for the cart ID.

      Hide cartId attribute Show cartId attribute object
      • eq string(uuid) Required
    • type object Required

      Filter for the type of products in the cart.

      Hide type attribute Show type attribute object
      • in array[string] Required

Responses

  • 200 application/json

    The list of available products for the specified cart.

    Hide response attribute Show response attribute object
    • data array[object] Required

      The list of available products for the specified cart.

      Hide data attributes Show data attributes object
      • id string(uuid) Required

        The unique identifier for the cart product.

      • label string Required

        A human-readable label for the cart product.

      • type string Required

        The type of the cart product.

  • 401

    Client authentication failed.

  • 403

    Missing one or more required scopes.

  • 500

    An unexpected error occurred.

GET /2025-3/cart-products
curl \
 --request GET 'https://api.dev.pace.cloud/cart/2025-3/cart-products?filter=%7B%7D' \
 --header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "data": [
    {
      "id": "88dd01e3-c300-44af-83e6-86b362c8fa39",
      "label": "PACE Connected Fueling",
      "type": "FUELING"
    }
  ]
}