GET
/v1/productsLists products with optional filtering by organization and attributes. Returns paginated results with total count.
Parameters
Request parameters for this endpoint
| Name | Location | Type | Required | Description |
|---|---|---|---|---|
| offset | query | integer | Optional | Number of items to skip |
| limit | query | integer | Optional | Maximum number of items to return |
| status | query | array | Optional | Filter by product status (can specify multiple) |
| isWaitlisted | query | boolean | Optional | - |
| productType | query | array | Optional | Filter by product type (can specify multiple) |
| organizationId | query | string | Optional | - |
| organizationIds | query | array | Optional | - |
| externalId | query | string | Optional | - |
| productCategoryId | query | string | Optional | - |
Response Data
Fields returned in the response
Always Present
| Name | Type | Description |
|---|---|---|
results | array<unknown> | - |
total | integer (int64) | - |
GET
/v1/productsRequest
curl https://api.thesweetspot.com/v1/products \
-H "Content-Type: application/json" \
-G -d "offset=0&limit=10&status=[active]&isWaitlisted=true&productType=[leasable]&organizationId=id_123&organizationIds=[123]&externalId=id_123&productCategoryId=id_123"Response
{
"results": [
{
"organizationId": null
}
],
"total": 0
}