GET
/v1/product-variants/{identifier}/pricing-summaryRetrieves a simplified pricing summary for a product variant across all available lease terms. The identifier can be either the variant's public ID (pub_id) or SKU. Returns MSRP, deposit percentage, total monthly payment, and total due at signing for each available lease term. Results are cached for 5 minutes. Requires ProductVariantRead permission on the variant's product organization.
Parameters
Request parameters for this endpoint
| Name | Location | Type | Required | Description |
|---|---|---|---|---|
| identifier | path | string | Required | Product variant identifier - can be public ID (pub_id) or SKU |
Response Data
Fields returned in the response
Always Present
| Name | Type | Description |
|---|---|---|
pricing | HashMap | Pricing summary for all available lease terms (keyed by term in months) |
productVariantId | ProductVariantPubId | Public ID of the product variant |
GET
/v1/product-variants/{identifier}/pricing-summaryRequest
curl https://api.thesweetspot.com/v1/product-variants/id_123/pricing-summary \
-H "Content-Type: application/json"Response
{
"pricing": null,
"productVariantId": "string"
}