Conga Product Documentation

Welcome to the new doc site. Some of your old bookmarks will no longer work. Please use the search bar to find your desired topic.

Validating Cart Status with Cart Status API

You must have successfully called the Migrate Cart API for the cart whose status you want to track. See Use the Migrate Cart API to load cart data.

  1. Identify the cartId.

    Use the same cartId that you used in the Migrate Cart API request.

  2. Construct the Get Cart Status API request.

    Endpoint:

    GET api/cart/v1/carts/{cartId}/status

    Replace {cartId} with the cart identifier.

    Other query parameters are optional.

  3. Send the GET request to retrieve the cart status.

    Use your preferred REST client to send the request.

    
    GET /api/cart/v1/carts/bc1bc5bf-6e92-4e8c-94fd-44bab8640c99/status HTTP/1.1
    Host: <your-rlp-host>
    Authorization: Bearer <access_token>
            
  4. Review the response for cart details and pricing flags.

    The response body includes a CartResponse object with details such as line items, pricing status, and additional metadata. A full example is provided in Sample response.

    Pay particular attention to the pricing-related flags documented in Cart status flags.

  5. Determine whether pricing has completed.

    In the response, locate the IsPricingPending and IsPriceProcessingPending flags.

    • If both "IsPricingPending": false and "IsPriceProcessingPending": false, pricing has completed.
    • If either flag is true, continue to poll the Get Cart Status API periodically until both values become false.

You can confirm when cart migration and pricing have completed and proceed with downstream processes, such as quote finalization or order creation.