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.

Loading Cart Data using Migrate Cart API

Ensure that:

  • The SFDC and Conga Advantage Platform organization mapping is configured.
  • SFDC data has been synchronized into the RLP Object Database. See Prepare data before using the Migrate Cart API.
  • You have a valid cartId for the cart or product configuration stored in the Object DB.
  1. Identify the cartId for the cart you want to migrate.

    Obtain the cartId, which uniquely identifies the cart or product configuration stored in the Object DB. Use your existing integration or query tools to fetch the ID.

  2. Construct the Migrate Cart API request.

    The Migrate Cart API is exposed by the Cart Action Controller in the Cart Service.

    Base URL:

    api/cart/v1/carts

    Endpoint:

    POST api/cart/v1/carts/{cartId}/migrate

    Replace {cartId} with the actual cart identifier.

  3. Send the POST request to migrate the cart.

    Use your preferred REST client (for example, Postman, curl, or an integration service) to send the request.

    Request example (pseudo-URL):

    
    POST /api/cart/v1/carts/bc1bc5bf-6e92-4e8c-94fd-44bab8640c99/migrate HTTP/1.1
    Host: <your-rlp-host>
    Authorization: Bearer <access_token>
            
  4. Validate the migration response.

    On success, the API returns HTTP 200 OK, indicating that the migration request was accepted and processing has started.

    A sample response payload is shown in Sample response.

  5. Monitor the cart migration and pricing status.

    After initiating cart migration, use the Get Cart Status API to monitor progress and confirm that the cart is loaded and priced.

    See Check cart migration progress using the Get Cart Status API.

The cart data is loaded into memory in RLP and is ready for pricing, configuration, or additional processing. Use the Get Cart Status API to confirm that pricing and processing are complete.