cURL
curl --request GET \ --url https://api.lapyme.com.ar/api/v1/products/{id} \ --header 'Authorization: Bearer <token>'
{ "success": true, "data": { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": "<string>", "description": "<string>", "category": { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": "<string>" }, "sku": "<string>", "barcode": "<string>", "oemCode": "<string>", "currency": "<string>", "cost": 123, "price": 123, "taxRate": { "id": 123, "value": 123 }, "stockMinimum": 123, "defaultSupplier": { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": "<string>" }, "productType": "product", "isActive": true, "organizationSlug": "<string>", "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z" } }
Devuelve los datos de un producto específico usando su ID único.
Incluí tu API key en el header Authorization con el prefijo Bearer
ID único del producto
"prod-123e4567"
Producto obtenido exitosamente
true
Show child attributes
Was this page helpful?