Sweet Spot API

Command Palette

Search for a command to run...

POST/v1/product-variants/bulk/fetch

Fetches multiple product variants by their public IDs in a single request. Returns variants with computed pricing for all available lease terms. IDs that are not found or not accessible are returned in the not_found array.

Request Body
Fields in the request body

Required

NameTypeDescription
ids
array<ProductVariantPubId>
List of product variant public IDs to fetch
Response Data
Fields returned in the response

Always Present

NameTypeDescription
notFound
array<string>
IDs that were not found
results
array<ProductVariantWithPricing>
Successfully fetched product variants with pricing
Fetches multiple product variants by their public IDs in ... | Sweet Spot API Documentation