read
costs
Returns cost data and margin analysis for products. Confidence tier A = verified Shopify COGS, B = reverse-image AliExpr
Changed onReturns cost data and margin analysis for products. Confidence tier A = verified Shopify COGS, B = reverse-image AliExpress estimate, C = unknown. Use when the user asks about margins, costs, profitability, or which products have unverified costs.
post/api/v1/tools/get_product_costs
Request
- Base URLhttps://app.magistry.io
- Auth
- HTTP bearer
- or OAuth 2Authorization codehttps://app.magistry.io/api/oauth/authorizeToken URLhttps://app.magistry.io/api/oauth/tokenScopescosts:read
Request body
object required
product_ids, string[]
Optional list of product UUIDs to filter to (max 50). Omit to return latest costs across the store.
confidence_tier, 'A' | 'B' | 'C'
Optional: filter to a specific cost confidence tier.
Response
Tool result
object required
ok, boolean required
result, unknown required
Changes
- warning
added the new
method_not_allowedenum value to theerrorresponse property for the response status - warning
added the new
method_not_allowedenum value to theerrorresponse property for the response status - warning
added the new
method_not_allowedenum value to theerrorresponse property for the response status
11 more changes in this revision
- warning