Read Quote API

The Read Quote API reads a quote from a CPQ quote ID.

Required Editions
Available in: Salesforce CPQ Summer ’16 and later
Formats

JSON, Apex

HTTP Method

GET

Authentication

Authorization: Bearer token

REQUEST

Parameter 1

Name: uid

Type: String

Required: Yes

Description: The ID of the quote to read

RESPONSE

Type

QuoteModel

Description

The representation of SBQQ__Quote__c data.

An example response body after reading a quote. The actual response is a JSON formatted string.

Before saving the QuoteReader example class, make sure that the CPQ model classes are as individual Apex classes in your org.

For an example of the QuoteReader class, run the following code in anonymous Apex.