read
catalog
Returns variants for a specific product, or lists the top variants by price across the store. Use when the user asks abo
Changed onReturns variants for a specific product, or lists the top variants by price across the store. Use when the user asks about sizes, colours, SKUs, inventory levels, or specific variant pricing.
post/api/v1/tools/get_variants
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/tokenScopescatalog:read
Request body
object required
product_id, string
UUID of the product to fetch variants for. Omit to list variants across the store.
limit, integer
Max variants to return (default 10, max 50).
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