read

Returns variants for a specific product, or lists the top variants by price across the store. Use when the user asks abo

Returns 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 URL: https://app.magistry.io
  • URL: https://app.magistry.io/api/v1/tools/get_variants
  • Auth: one of:
    • HTTP bearer
    • OAuth 2 (authorization code, authorization URL https://app.magistry.io/api/oauth/authorize, token URL https://app.magistry.io/api/oauth/token, scopes: catalog:read)

Request body

product_idstring

UUID of the product to fetch variants for. Omit to list variants across the store.

limitinteger

Max variants to return (default 10, max 50).

Response

Tool result

okboolean required
resultunknown required

Changes

No recorded changes to this operation across all 2 revisions of this API.