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,
"price_with_tax": 118,
"item_type": "Product",
"tax_rate": 18,
"discount_percent": 10,
"description": "Item Description",
"hsn_code": "1234",
"unit": "kg",
"category": "Electronics",
"status": "Active"
}
}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,
"price_with_tax": 118,
"item_type": "Product",
"tax_rate": 18,
"discount_percent": 10,
"description": "Item Description",
"hsn_code": "1234",
"unit": "kg",
"category": "Electronics",
"status": "Active"
}
}Bearer authentication header of the form Bearer
Item ID to be fetched
Success
Success flag
true
Show child attributes
Unique id for each item.
"ITEM123"
Name of the Product
"Item Name"
Opening Quantity
1
Price per item without Tax
100
Price per item with Tax
118
Product or Service enum
Product, Service "Product"
Tax percentage for each item . Only valid tax rates are accepted
18
Default Discount Percent
10
Item Description
"Item Description"
HSN Code
"1234"
Item quantity unit. You can find the GST-approved units in the UQC Codes section at: https://einvoice1.gst.gov.in/Others/MasterCodes.
"kg"
Category
"Electronics"
Status of the Item
"Active"