Gets the Charities for this location.

​

Query Parameters

  • Depending on the CharityId(-s) passed in request the response will return the details of that(those) charity(-s)

Responses

  • application/json
Request Example for get/v1/charities
curl https://apiint.api.parpos.com/settings/v1/charities \
  --header 'parpos-access-token: YOUR_SECRET_TOKEN' \
  --header 'parpos-location-token: YOUR_SECRET_TOKEN'
Success
{
  "Data": [
    {
      "AutomaticallyApply": true,
      "Days": 2,
      "EnforceDateRange": true,
      "EnforceDays": true,
      "EnforceMaximumPerOrder": false,
      "EnforceTimeRange": true,
      "IsActive": true,
      "Items": [
        {
          "ItemId": 101
        },
        {
          "ItemId": 102
        }
      ],
      "MaximumPerOrder": 5,
      "NonRevenueItemId": 1001,
      "Percent": 10.5,
      "RoundUp": true,
      "Name": "Charity A",
      "Id": 1
    }
  ]
}