v1

latestOpenAPI 3.1.02026-07-2438302.6 MB

Get all Pricelist

get/products/pricelist

Query parameters

sort_by'created_at' | 'pricelist_name'
sort'ASC' | 'DESC'
pageinteger
limitinteger
filter.is_activeboolean
filter.pricelist_type'PER_ITEM' | 'FIXED_DISCOUNT' | 'FIXED_MARGIN'
filter.keywordstring
filter.created_at_fromstring date
filter.created_at_tostring date

Response

200

typestring
total_recordsinteger
current_pageinteger
total_pagesinteger

Example response

{
  "type": "success",
  "data": [
    {
      "pricelist_uid": "82b8f5a0-3e9a-11ef-9ce4-1d9d49193912",
      "pricelist_name": "PER ITEM MARGIN $100",
      "pricelist_type": "PER_ITEM",
      "created_by": {
        "user_uid": "4088adc6-c6ed-45a2-845d-451f28938960",
        "first_name": "Valliyappan",
        "last_name": "S",
        "email": "valliyappan.s@zuper.co",
        "home_phone_number": "9600086457",
        "designation": "Admin",
        "emp_code": "001",
        "work_phone_number": "9600086457",
        "is_active": true,
        "created_at": "2024-03-22T07:41:38.000Z",
        "updated_at": "2024-03-22T07:41:38.000Z"
      },
      "created_at": "2024-07-10T08:58:01.086Z",
      "updated_at": "2024-07-15T13:05:34.187Z",
      "pricelist_id": 34,
      "display_pricelist_value": "Per Item"
    }
  ],
  "total_records": 37,
  "current_page": 1,
  "total_pages": 19
}