Skip to main content
GET
List Sold Products
← Sold Products API Retrieve all sold products for your organization. Optionally filter by product name.

Request

Headers

string
required
Your API key for authenticationExample: sk_live_1234567890abcdef
string
required
Your organization UUIDExample: a8315ef3-dd50-43f8-b7ce-d839e68d51fa

Query Parameters

string
Filter products by name (case-insensitive contains match)Example: "Compressor"
boolean
default:"false"
Restrict the read to the organization in x-organization-id (default). Set true to include its accepted descendant organizations — the whole business group.Example: true
uuid[]
Group view only: restrict the read to these organizations, intersected with the resolved group scope. Only meaningful together with consolidate_group=true. Note the [] suffix — without it the value is not bound and the list comes back unfiltered.Example: organization_id[]=a8315ef3-dd50-43f8-b7ce-d839e68d51fa&organization_id[]=b7c1...
uuid
Project to scope the read perimeter to, when project organization scoping is enabled.Example: 550e8400-e29b-41d4-a716-446655440000
boolean
default:"false"
When true, restrict the read perimeter to the organizations linked to project_id.Example: false

Response

Returns a list of sold products (HTTP 200).
array[object]
List of sold products.

Example

Successful Response

Common Errors

401 Unauthorized

Cause: Missing or invalid API key

403 Forbidden

Cause: The authenticated user is not a member of the organization

Delete Sold Product

Remove a sold product and all related data

List Periods

Get all periods for a sold product