Get Product Discounts

Changed on
get/products/discount_fees

Request

  • Base URL
    https://dc-region.zuperpro.com/api
  • URL
    https://dc-region.zuperpro.com/api/products/discount_fees
  • Auth
    API key in header x-api-key

Query parameters

pageinteger
limitinteger
filter.keywordstring

For search

filter.isactiveboolean
filter.typestring

Response

200

typestring
total_recordsinteger
current_pageinteger
total_pagesinteger

Example response

{
  "type": "success",
  "data": [
    {
      "discount_fee_uid": "08f266e0-208f-11ee-a4d0-7dae1121800e",
      "type": "DISCOUNT",
      "code": "NEW3",
      "name": "DISCOUNT-5PER",
      "amount_type": "PERCENTAGE",
      "amount": 5,
      "min_limit": 1500,
      "max_limit": 400,
      "is_active": true,
      "created_by": {
        "user_uid": "d083c6cb-9202-41fc-8ae2-e986939c5471",
        "first_name": "terin",
        "last_name": "bjay",
        "email": "user@zuper.co",
        "designation": "Admin",
        "emp_code": "190",
        "profile_picture": "https://s3.ap-south-1.amazonaws.com/staging.in.pro.zuper/attachments/6c287db0-ff7c-11e7-b3a8-29b417a4f3fa/9f1e58b0-5396-11ee-af3b-ed82d39ae946.jpg",
        "hourly_labor_charge": 54.59,
        "is_active": true,
        "created_at": "2022-02-16T10:00:42.000Z",
        "updated_at": "2024-08-21T07:20:06.000Z"
      },
      "created_at": "2023-07-12T08:35:19.761Z",
      "updated_at": "2023-08-01T09:59:52.513Z",
      "id": "undefined"
    }
  ],
  "total_records": 3,
  "current_page": 1,
  "total_pages": 1
}

Changes