Get a product by id
GET
bearerAuthheader
AutorizaciónBearer <token>Your API key, created in Configuración → Claves API. The key alone, without the Bearer prefix, is accepted too.
productId*stringPatrón
^[cC][0-9a-z]{6,}$Formato
cuidSuccessful response
application/json- response
currency*stringValor en
"VES""USD""EUR"id*stringPatrón
^[cC][0-9a-z]{6,}$Formato
cuidaccountId*stringunitId*string|nullexternalId*string|nullcode*string|nullname*stringdescription*string|nullimageUrl*string|nullprice*numberexento*booleanisService*booleanisActive*booleanavailableInPortal*booleanavailableForSale*booleanavailableInStorefront*booleanisSoldOut*booleancategoryId*string|nullposition*integerRango
-9007199254740991 <= value <= 9007199254740991ivaRatePercent*|nullcreatedAt*stringupdatedAt*stringunit*|nullcurl -X GET 'https://api.unopago.com/v1/products/string'Ejemplo de respuesta
{ "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" }}
