Get list of items
Changed onLists the items in your catalog.
Request
- Base URLhttps://app.getswipe.in/api/partner
- URLhttps://app.getswipe.in/api/partner/v2/product/list
- AuthHTTP bearer
Query parameters
Number of records to fetch(max 100), default : 25 items will be sent in response
Page number
Field to sort the items by. If omitted, items are returned in creation order.
Sort direction applied when sort_by is set: 'asc' (default) or 'desc'.
Response
Item List fetched successfully
Example response
{
"success": true,
"data": {
"items": [
{
"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",
"developer_note": "This is a developer note"
}
],
"total_records": 10
}
}Changes
- breaking
for the
queryrequest parameternum_records, default value25was added - info
api operation id
v2_get_item_listremoved and replaced withget_item_list - info
added the new optional
queryrequest parametersort_by - info
added the new optional
queryrequest parametersort_order - info
for the
queryrequest parameternum_records, the type was generalized fromintegertostring - info
added the optional property
///to the response with the status - info
the
response's property default value0was added for the status
- breaking