cURL
curl --request GET \ --url https://app.getswipe.in/api/partner/v1/product/{item_id} \ --header 'Authorization: Bearer <token>'
{ "success": true, "item": { "id": "ITEM123", "name": "Item Name", "quantity": 1, "unit_price": 100, "tax_rate": 18, "price_with_tax": 118, "discount_percent": 10, "description": "Item Description", "hsn_code": "1234", "item_type": "Product", "unit": "kg", "category": "Electronics", "status": "Active" } }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Item ID to be fetched
Success
The response is of type object.
object