Skip to main content
GET
/
house-discounts
List house-scoped discount rows
curl --request GET \
  --url https://api.interchange.io/api/v2/storefront/house-discounts \
  --header 'Authorization: Bearer <token>'
{
  "items": [
    {
      "id": "17",
      "storefrontId": "1234",
      "houseDomain": "<string>",
      "discountPercent": 123,
      "notes": "<string>",
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z",
      "createdBy": "<string>"
    }
  ],
  "total": 4503599627370495
}

Authorizations

Authorization
string
header
required

API key or access token

Response

List house-scoped discount rows

List of house-scoped buyer-discount rows for a storefront.

items
object[]
required
total
integer
required
Required range: 0 <= x <= 9007199254740991