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.

Updating Cart

  • An existing cart.
  • The Id of the cart you want to update.
  1. Send a request to update the cart.

    Use the following endpoint:

    • Endpoint: PATCH /api/cart/v1/carts/{Id}

    Parameters:

    • Id: Unique identifier of the cart or product configuration.
  2. Provide the request payload.

    The request body is a JSON object that contains key-value pairs for the fields you want to update. The following example updates only the cart name:

    
    {
      "Name": "CollaborationPriceList"
    }
              
  3. Review the response.

    On success, the API returns HTTP 200 OK and the updated cart details. The response includes fields such as:

    
    {
      "Id": "5480b9df-48d8-490b-a794-79c6d51a35ba",
      "Name": "CollaborationPriceList",
      "CreatedBy": {
        "Id": "f776e210-7f8f-b628-2053-ef392a7a57e7",
        "Name": "Test User"
      },
      "CreatedDate": "2025-10-24T00:09:41.263",
      "ModifiedBy": {
        "Id": "f776e210-7f8f-b628-2053-ef392a7a57e7",
        "Name": "Test User"
      },
      "ModifiedDate": "2025-10-24T00:11:23.498",
      "ETag": "a8cecc93-b3dc-4898-aebb-61199fd5fac2",
      "BusinessObjectType": "Agreement",
      "EffectiveDate": "2025-10-24T00:09:41.138",
      "EffectivePriceList": {
        "Id": "1d030b2b-b720-476f-9063-f1ec3617672f",
        "Name": "CollaborationPriceList"
      },
      "NumberOfItems": 15,
      "PriceList": {
        "Id": "a8935254-10c2-40b9-9cfa-86ac7b0991a5",
        "Name": "Anjali_Testing_Rule_PL"
      },
      "Status": "Saved",
      "SummaryGroupType": "Category",
      "UseType": "Main",
      "AutoGeneratedNumber": "CC-0004080",
      "String_Test_c": "Dc-Cart",
      "Configuration_Name_c": "Dc-Cart",
      "Test_c": "rewr",
      "Name_Test_PP_c": "Dc-Cart",
      "Ajay_Test_c": "Aj",
      ...
    }
              

    The following validations apply when you update a cart:

    • You cannot update the cart status if the current status is "InCollaboration".
    • You cannot change the business object type, If it is "Collaboration Request".

If the request passes validation, the cart fields are updated and the response returns the latest cart state.