GET
/
v1
/
product
/
list
curl --request GET \
  --url https://app.getswipe.in/api/partner/v1/product/list \
  --header 'Authorization: <api-key>'
{
  "success": true,
  "message": "",
  "error_code": "",
  "errors": {},
  "data": {
    "customers": [
      {
        "customer_id": "CUST-2",
        "name": "Customer",
        "phone": "1234567890",
        "email": "john@doe.com",
        "gstin": "",
        "swipe_id": "1"
      }
    ],
    "total_records": 10
  }
}

Authorizations

Authorization
string
header
required

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

Query Parameters

num_records
integer

Number of records to fetch, default : all items will be sent in response

page
integer
default:1

Page number

Response

200
application/json
Item List fetched successfully
success
boolean

Success flag

Example:

true

message
string

Response message

Example:

""

error_code
string

Error Code

Example:

""

errors
object

Errors

data
object