Get paginated products
GET
bearerAuthheader
AutorizaciónBearer <token>Your API key, created in Configuración → Claves API. The key alone, without the Bearer prefix, is accepted too.
cursor?stringlimit?numberRango
1 <= value <= 250Por defecto
100searchTerm?stringisActive?booleanexento?booleanisService?booleanunitId?stringPatrón
^[cC][0-9a-z]{6,}$Formato
cuidcurrency?stringValor en
"VES""USD""EUR"sortKey?stringPor defecto
"name"Valor en
"externalId""name""unit""price""currency""exento""isService""isActive"sortDirection?stringPor defecto
"asc"Valor en
"asc""desc"Successful response
application/json- response
results*array<>total*numbertotalPages*numbernextCursor?|The cursor to get the next page of results
exchangeRates?curl -X GET 'https://api.unopago.com/v1/products/paginated'Ejemplo de respuesta
{ "results": [ { "currency": "VES", "id": "string", "accountId": "string", "unitId": "string", "externalId": "string", "code": "string", "name": "string", "description": "string", "imageUrl": "string", "price": 0, "exento": true, "isService": true, "isActive": true, "availableInPortal": true, "availableForSale": true, "availableInStorefront": true, "isSoldOut": true, "categoryId": "string", "position": -9007199254740991, "ivaRatePercent": -9007199254740991, "createdAt": "string", "updatedAt": "string", "unit": { "category": "COUNT", "id": "string", "accountId": "string", "name": "string", "description": "string", "isActive": true, "isBaseUnit": true, "baseUnitId": "string", "conversionNumerator": -9007199254740991, "conversionDenominator": -9007199254740991, "decimalPrecision": -9007199254740991, "createdAt": "string", "updatedAt": "string" } } ], "total": 0, "totalPages": 0, "nextCursor": "string", "exchangeRates": { "property1": { "rate": 0, "rateDate": "string", "daysAhead": 0 }, "property2": { "rate": 0, "rateDate": "string", "daysAhead": 0 } }}
