List Product Variants
Returns every SKU that has appeared in a Placed Order event, along with the most recent product metadata and an orders count. This allows users to get a complete view of what they've sold so they can ensure every SKU has a COGS mapping.
get/expenses/cost_mapping/by_sku
Query parameters
limitinteger
pageinteger
product_namestring nullable
variant_namestring nullable
skustring nullable
has_cogs_mappingboolean nullable
datasource_id[]integer[] nullable
tzstring nullable
start_of_week0 | 1
Headers
acceptstring nullable
Authorizationstring nullable
X-User-Idstring nullable
X-Browser-Time-Zonestring nullable
Cookies
session_idstring nullable
Response
Successful Response
{"stackTrail":"paths:/expenses/cost_mapping/by_sku:get:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}
Changes
No recorded changes to this endpoint across all 4 revisions of this API.