> For the complete documentation index, see [llms.txt](https://docs-v2.bulkmail.shop/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs-v2.bulkmail.shop/products/get-a-product.md).

# Get a product

One product with its features, and bulk\_pricing\_tiers when bulk pricing applies to you.

```json
{"openapi":"3.1.0","info":{"title":"BulkMail API","version":"2.0"},"tags":[{"name":"Products","description":"The catalogue and prices. Public; send your key to see your own prices.\n\n| Method | Endpoint | What it does |\n|---|---|---|\n| `GET` | `/products` | List products |\n| `GET` | `/products/{id}` | Get a product |\n| `POST` | `/products/{id}/calculate-price` | Calculate a price |\n| `GET` | `/tabs` | List tabs (categories) |\n\n**Authentication:** Public (API key optional). Send your key in the `X-API-Key` header."}],"servers":[{"url":"https://bulkmail.shop/api/v2","description":"Production"}],"security":[{},{"ApiKeyAuth":[]},{"ApiKeyQuery":[]}],"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"X-API-Key","description":"Your API key (sk_live_…)."},"ApiKeyQuery":{"type":"apiKey","in":"query","name":"api_key","description":"Same key as a query parameter. Prefer the header."}}},"paths":{"/products/{id}":{"get":{"tags":["Products"],"summary":"Get a product","operationId":"getProductsById","description":"One product with its features, and bulk_pricing_tiers when bulk pricing applies to you.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"},"description":"Product id."}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","description":"true when the request worked, false on any error."},"data":{"type":"object","properties":{"id":{"type":"integer"},"name":{"type":"string"},"sku":{"type":"string"},"tab_id":{"type":"integer","description":"Storefront tab (category) id; see GET /tabs."},"price":{"type":"number","description":"Your unit price in USD after custom, reseller, bulk and discount pricing."},"base_price":{"type":"number","description":"List price in USD before any pricing rules."},"user_discount_applied":{"type":"boolean","description":"Present (true) only when your account discount applies."},"user_discount_percent":{"type":"integer","description":"Your account discount in percent. Present only with user_discount_applied."},"stock_quantity":{"type":"integer","description":"Units available."},"in_stock":{"type":"boolean","description":"true when at least one unit is available."},"bulk_pricing_enabled":{"type":"boolean","description":"true when the product offers bulk tiers to you."},"image_url":{"type":"null"},"image_type":{"type":"null"},"created_at":{"type":"string","format":"date-time","description":"ISO 8601, UTC."},"is_pack":{"type":"boolean","description":"true for products sold only in fixed pack sizes."},"allowed_quantities":{"type":["array","null"],"items":{"type":"integer"},"description":"Pack sizes you may order. null for normal products."},"pack_options":{"type":["array","null"],"items":{"type":"object","properties":{"quantity":{"type":"integer","description":"Units to buy."},"unit_price":{"type":"number","description":"Price paid per unit, USD."},"total_price":{"type":"number"},"available":{"type":"boolean"}},"required":["quantity","unit_price","total_price","available"]},"description":"Each pack size with your price and whether it is in stock. null for normal products."},"description":{"type":"string","description":"Description as stored: plain text or HTML."},"description_format":{"type":"string","description":"html or text."},"description_text":{"type":"string","description":"Description with all markup removed."},"description_html":{"type":["string","null"],"description":"Cleaned HTML, safe to render (no attributes, scripts or links). null for plain-text descriptions."},"features":{"type":"array","items":{}}},"required":["id","name","sku","tab_id","price","base_price","user_discount_applied","user_discount_percent","stock_quantity","in_stock","bulk_pricing_enabled","image_url","image_type","created_at","is_pack","allowed_quantities","pack_options","description","description_format","description_text","description_html","features"],"description":"The account line."}},"required":["success","data"]}}}},"404":{"description":"Not found: Not found","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","description":"true when the request worked, false on any error."},"error":{"type":"string","description":"What went wrong."}},"required":["success","error"]}}}}}}}}}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs-v2.bulkmail.shop/products/get-a-product.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
