Introduction

This is the documentation for the Ecommerce API.

This documentation aims to provide all the information you need to work with our API. As you scroll, you will see code examples for working with the API in different programming languages in the dark area to the right (or as part of the content on mobile devices). You can change the language used with the tabs in the upper right (or from the navigation menu in the upper left on mobile devices).

Authenticating requests

To authenticate requests, include an Authorization header with the value "Bearer {ACCESS TOKEN}".

All authenticated endpoints are marked with a requires authentication badge in the documentation below.

The access token is obtained by generating it from the administration panel.

Products

Display a listing of the products.

GET
https://api-ecomm.llujan.t2.newss.beer
/external/v1/products
requiere autenticación

Headers

Authorization
Example:
Bearer {ACCESS TOKEN}
Content-Type
Example:
application/vnd.api+json
Accept
Example:
application/vnd.api+json

Query Parameters

page
integer

Opcional. Número de página para la paginación. Default: 1.

Example:
2
limit
integer

Opcional. Cantidad de resultados por página. Default: 12.

Example:
24
filter[search]
string

Buscar por texto.

Example:
tractor
filter[category]
integer

Filtrar por categoría.

Example:
1
filter[variants]
string

Filtrar por variantes.

Example:
color:red
filter[tags]
string

Filtrar por tags.

Example:
oferta
sort
string

Ordenar resultados. Valores permitidos: sort_order, -sort_order, price, -price, date_added, -date_added, name, -name.

Example:
price
Example request:
import requests
import json

url = 'https://api-ecomm.llujan.t2.newss.beer/external/v1/products'
params = {
  'page': '2',
  'limit': '24',
  'filter[search]': 'tractor',
  'filter[category]': '1',
  'filter[variants]': 'color:red',
  'filter[tags]': 'oferta',
  'sort': 'price',
}
headers = {
  'Authorization': 'Bearer {ACCESS TOKEN}',
  'Content-Type': 'application/vnd.api+json',
  'Accept': 'application/vnd.api+json'
}

response = requests.request('GET', url, headers=headers, params=params)
response.json()
Example response:
{
 "data": [
     {
         "id": 1837,
         "product_id": 1837,
         "name": "Tornillos para strap de talones (pack x 5)",
         "price": 18793,
         "order_price": 18793,
         "sku": "",
         "special": null,
         "hasDiscount": false,
         "min_price": 18793,
         "max_price": 18793,
         "count_variants": 0,
         "id_first_variant": null,
         "image": "host1/b69b712f7bd6757ddcda59959c89a2b1//img/products/",
         "date_added": "2025-09-10 13:39:36",
         "url": "demos-2./tornillos-para-strap-de-talones-(pack-x-5)",
         "status": 1,
         "currency_code": "ARS"
      },
     {
	    "id": 1838,
	    "product_id": 1838,
		"name": "Tornillos para strap de dedos (pack x 5) (copia)",
		"price": 18793,
		"order_price": 18793,
		"sku": "",
		"special": null,
		"hasDiscount": false,
		"min_price": 18793,
		"max_price": 18793,
		"count_variants": 0,
		"id_first_variant": null,
		"image": "host1/b69b712f7bd6757ddcda59959c89a2b1//img/products/",
		"date_added": "2025-09-10 13:39:36",
		"url": "demos-2./tornillos-para-strap-de-dedos-(pack-x-5)-(copia)",
		"status": 1,
		"currency_code": "ARS"
	}
 ],
"meta": {
"current_page": 1,
	"from": 1,
	"last_page": 10,
	"links": [
		{
			"url": null,
			"label": "« Previous",
			"active": false
		},
	{
			"url": "https://api-ecomm.llujan.t2.newss.beer/external/v1/products?page=1",
			"label": "1",
			"active": true
		},
		{
			"url": "https://api-ecomm.llujan.t2.newss.beer/external/v1/products?page=2",
			"label": "2",
			"active": false
		}
		{
			"url": "https://api-ecomm.llujan.t2.newss.beer/external/v1/products?page=2",
			"label": "Next »",
			"active": false
		}
	],
	"path": "https://api-ecomm.llujan.t2.newss.beer/external/v1/products",
	"per_page": 10,
"to": 10,
	"total": 99
}
}