Get Template

Retrieves a specific Sales Configuration Template by its ID, including metadata, associated tags, and cart totals.

  • Resource URL: /services/apexrest/<namespace>/v1/cpq/templates/{templateId}
  • HTTP Method: GET
  • Content-Type: application/json
  • Response Format: JSON
ParameterTypeRequiredDescription
templateIdStringYesThe SalesConfigTemplate__c record ID.

GET /services/apexrest/vlocity_cmt/v1/cpq/templates/a1Bxx0000004XyzDEF

ParameterTypeDescription
IdStringTemplate record ID.
NameStringTemplate name.
Description__cStringTemplate description.
Status__cStringCurrent lifecycle status.
Category__cStringTemplate category.
TemplateQuoteId__cStringID of the underlying template Quote (if Quote-based).
TemplateOrderId__cStringID of the underlying template Order (if Order-based).
CartTypeStringEither "Quote" or "Order", indicating the type of the underlying cart.
TagsArrayList of associated tag objects, each containing Id, Name, and Description__c.
EffectiveOneTimeTotal__cDecimalTotal effective one-time charges from the template cart.
EffectiveRecurringTotal__cDecimalTotal effective recurring charges from the template cart.
EffectiveUsagePriceTotal__cDecimalTotal effective usage charges (only present when the Usage Pricing feature is enabled).
PriceList__rObjectRelated Price List with Id, Name, and CurrencyCode__c.

Success Response (200):