AppResellerQuoteVersion

Create quote version

Changed on

Creates a quote version from a quote source

Required: Accept-Language header with Locale format. For example: en-US

post/assistedSales/v1/quotes

Request

Request body

namestring

The name of the quote version

Example request

{
  "source": {
    "id": "1798fb8f-9f55-43f6-9f5e-4980467df9af",
    "type": "OPPORTUNITY"
  },
  "name": "Quote version name",
  "createdBy": {
    "id": "d17fee11-c6ce-4f9f-8fb6-9bc55d583699",
    "company": {
      "id": "d9a6d470-c69a-4403-9355-5953ddcb9efb"
    }
  }
}

Response

Success

idstring

The ID of a quote version

displayIdstring

The display ID of a quote version in the format: 'Q + two_digits_random_number + five_digits_counter_value'. For example: 'Q3201230'

namestring

The name of the quote version

createdOnnumber

The creation date of the quote version in UNIX Epoch milliseconds

statusstring

The status of the quote version

currency'USD' | 'CAD' | 'EUR' | 'JPY' | 'GBP' | 'KRW' | 'CHF' | 'SEK' | 'SGD' | 'MYR' | 'AUD' | 'MXN' | 'INR' | 'BRL' | 'DKK' | 'NZD' | 'NOK' | 'ZAR' | 'PHP' | 'CNY' | 'SAR' | 'GTQ' | 'IDR' | 'ARS' | 'COP' | 'PEN'

Supported currencies for the system

availableActionsstring[]

The actions available for the quote version

Example response

{
  "id": "757d0f09-385c-41df-9781-d6df98584953",
  "displayId": "Q5701241",
  "name": "API quote version",
  "createdOn": 1674574349898,
  "createdBy": {
    "id": "d17fee11-c6ce-4f9f-8fb6-9bc55d583699",
    "email": "jhon.doe@appdirect.com",
    "firstName": "Jhon",
    "lastName": "Doe",
    "company": {
      "id": "d9a6d470-c69a-4403-9355-5953ddcb9efb"
    }
  },
  "status": "OPEN",
  "ownerUser": {
    "id": "a6cc4e69-74e0-47f4-b36d-215693f47165",
    "email": "susan.doe@appdirect.com",
    "firstName": "Susan",
    "lastName": "Doe",
    "company": {
      "id": "05ba75d3-3637-4a7a-807d-f2cb66466348"
    }
  },
  "customerUser": {
    "id": "d17fee11-c6ce-4f9f-8fb6-9bc55d583699",
    "email": "jhon.doe@appdirect.com",
    "firstName": "Jhon",
    "lastName": "Doe",
    "company": {
      "id": "d9a6d470-c69a-4403-9355-5953ddcb9efb"
    }
  },
  "currency": "USD",
  "pricingTotals": {
    "amountDueBeforeTax": "55.0000000000",
    "amountDueAfterTax": "55.0000000000",
    "taxSummary": [],
    "recurringTotals": [
      {
        "billingCycle": {
          "period": "MONTHLY",
          "dayOfMonth": 24
        },
        "totalSalePrice": "55.0000000000"
      }
    ]
  },
  "items": [
    {
      "id": "166e0ce6-4309-4a16-ac9b-61bea7ce1cbc",
      "product": {
        "id": "fa776d2e-cda5-4256-9a27-125a0fe3f448",
        "name": "Supported Product for Opportunity MVP",
        "editionId": "b06358bc-cb63-45e6-87c7-19db9b0cf696"
      },
      "pricingPlan": {
        "id": "19c06143-b21c-43c4-b236-eeca61512753",
        "name": "Gold plan"
      },
      "pricing": [
        {
          "costType": "RECURRING_FLAT",
          "description": "Gold plan",
          "quantity": "1.0000000000",
          "totalSalePrice": "55.0000000000",
          "salePrice": "55.0000000000"
        },
        {
          "costType": "INCLUDED",
          "description": "Per User Fee Included",
          "quantity": "1.0000000000",
          "totalSalePrice": "0.0000000000",
          "salePrice": "0.0000000000"
        }
      ]
    }
  ],
  "quoteSource": {
    "id": "1798fb8f-9f55-43f6-9f5e-4980467df9af",
    "type": "OPPORTUNITY"
  },
  "availableActions": [
    "PRINT_PDF",
    "EDIT_NAME",
    "REQUEST_CUSTOMER_APPROVAL"
  ]
}

Changes

    • breaking

      added the new required request property

    • breaking

      added the new required request property

    • breaking

      the request's body type changed from no type to object

    • breaking

      the response's body type changed from no type to object for status

    • breaking

      the response's body type changed from no type to object for status

    • breaking

      the response's body type changed from no type to object for status

    • info

      added the new optional request property

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status