Documentation Index Fetch the complete documentation index at: https://mintlify.com/ItsJhonAlex/Ecommerce/llms.txt
Use this file to discover all available pages before exploring further.
The public products endpoints expose only products with active status. Products in draft or archived state are never returned from these routes — the storefront always sees a clean, curated catalog. No authentication is required for either endpoint.
List all products
Returns every active product, ordered alphabetically by name. Each product includes its full set of prices (one per currency) and images sorted by position, with position 0 being the primary image.
curl https://api.avanzarintimeshop.com/api/v1/products
Response
Array of active products ordered by name. Unique identifier for the product.
URL-friendly identifier used in product detail URLs (e.g., classic-white-watch).
Display name of the product.
Full product description. May be null if not set.
Always "active" for records returned by this endpoint.
Current units available in inventory. Decremented atomically on each successful checkout.
One price entry per supported currency. Each entry contains { id, productId, currency, amountMinor } where amountMinor is in cents (e.g., 4999 = $49.99 USD).
Images ordered by position ascending. Position 0 is the primary/hero image. Each entry contains { id, productId, url, alt, position }.
Timestamp when the product was created.
Timestamp of the last update, including stock decrements.
Example response — 200 OK
{
"products" : [
{
"id" : "a1b2c3d4-e5f6-7890-abcd-ef1234567890" ,
"slug" : "classic-white-watch" ,
"name" : "Classic White Watch" ,
"description" : "A timeless white dial watch with a leather strap." ,
"status" : "active" ,
"stockQuantity" : 14 ,
"createdAt" : "2024-09-01T10:00:00.000Z" ,
"updatedAt" : "2024-11-15T08:30:00.000Z" ,
"prices" : [
{
"id" : "p1a2b3c4-0000-0000-0000-000000000001" ,
"productId" : "a1b2c3d4-e5f6-7890-abcd-ef1234567890" ,
"currency" : "USD" ,
"amountMinor" : 4999
},
{
"id" : "p1a2b3c4-0000-0000-0000-000000000002" ,
"productId" : "a1b2c3d4-e5f6-7890-abcd-ef1234567890" ,
"currency" : "CUP" ,
"amountMinor" : 140000
}
],
"images" : [
{
"id" : "img-0001-0000-0000-0000-000000000001" ,
"productId" : "a1b2c3d4-e5f6-7890-abcd-ef1234567890" ,
"url" : "https://cdn.avanzarintimeshop.com/products/classic-white-watch-front.jpg" ,
"alt" : "Classic White Watch — front view" ,
"position" : 0
},
{
"id" : "img-0001-0000-0000-0000-000000000002" ,
"productId" : "a1b2c3d4-e5f6-7890-abcd-ef1234567890" ,
"url" : "https://cdn.avanzarintimeshop.com/products/classic-white-watch-side.jpg" ,
"alt" : "Classic White Watch — side view" ,
"position" : 1
}
]
}
]
}
Get a product by slug
Returns a single active product identified by its URL slug. The response includes prices, images, and category memberships with the full category object for each membership.
Returns 404 if the product does not exist or if its status is not active — draft and archived products behave as if they do not exist.
curl https://api.avanzarintimeshop.com/api/v1/products/classic-white-watch
Path parameters
The URL-friendly identifier for the product (e.g., classic-white-watch). Slugs are unique across the catalog.
Response
The matching active product, including nested relations. Show Product object (full)
Unique identifier for the product.
URL-friendly product identifier.
Display name of the product.
Full product description.
Always "active" for records returned by this endpoint.
Current units available in inventory.
All prices for this product, one per currency. amountMinor is in cents.
Images ordered by position ascending. Position 0 is the primary image.
Array of category memberships. Each entry contains a nested category object with { id, slug, name, parentId }.
Timestamp when the product was created.
Timestamp of the last update.
Example response — 200 OK
{
"product" : {
"id" : "a1b2c3d4-e5f6-7890-abcd-ef1234567890" ,
"slug" : "classic-white-watch" ,
"name" : "Classic White Watch" ,
"description" : "A timeless white dial watch with a leather strap." ,
"status" : "active" ,
"stockQuantity" : 14 ,
"createdAt" : "2024-09-01T10:00:00.000Z" ,
"updatedAt" : "2024-11-15T08:30:00.000Z" ,
"prices" : [
{
"id" : "p1a2b3c4-0000-0000-0000-000000000001" ,
"productId" : "a1b2c3d4-e5f6-7890-abcd-ef1234567890" ,
"currency" : "USD" ,
"amountMinor" : 4999
}
],
"images" : [
{
"id" : "img-0001-0000-0000-0000-000000000001" ,
"productId" : "a1b2c3d4-e5f6-7890-abcd-ef1234567890" ,
"url" : "https://cdn.avanzarintimeshop.com/products/classic-white-watch-front.jpg" ,
"alt" : "Classic White Watch — front view" ,
"position" : 0
}
],
"categories" : [
{
"productId" : "a1b2c3d4-e5f6-7890-abcd-ef1234567890" ,
"categoryId" : "cat-0001-0000-0000-0000-000000000001" ,
"category" : {
"id" : "cat-0001-0000-0000-0000-000000000001" ,
"slug" : "mens-watches" ,
"name" : "Men's Watches" ,
"parentId" : "cat-root-0000-0000-0000-000000000001"
}
}
]
}
}
Error response — 404 Not Found
{
"error" : "Producto no encontrado"
}