GET
/
v1
/
product
/
{item_id}
curl --request GET \
  --url https://app.getswipe.in/api/partner/v1/product/{item_id} \
  --header 'Authorization: <api-key>'
{
  "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"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

item_id
string
required

Item ID to be fetched

Response

200
application/json
Success
success
boolean

Success flag

Example:

true

item
object