get_product
Fetch a product's basic details by ID. Returns id, name, price, status, URL, image, tags, and description. Read-only, no charges.
Instructions
Fetch one product's basic details by ID. Use it when you already have the ID from
list_products or a product URL — there is no lookup by name or slug.
Returns a reduced field set: id, name, price, status, url, image, tags and
description. Stock (`qt`, `unlimited`), variants (`inventories`), discounts and
downloadable files are NOT returned here — for those, page `list_products` and
filter by id.
`price` is a string of whole IQD; parse it before doing arithmetic. Read-only:
nothing in the catalogue changes and nobody is charged. A blank product_id is
rejected before any request is made. The catalogue is unrelated to payment links —
selling still means creating one with `sell_book` or `create_payment_link`.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| product_id | Yes | Wayl's own product ID, as returned in the `id` field by `list_products`. Not the product name, slug or public URL. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||