Skip to main content
GET
/
customer-offers
List Customer Offers
curl --request GET \
  --url https://api.mijnklantportaal.nl/v1/customer-offers \
  --header 'Authorization: Bearer <token>'
{
  "current_page": 1,
  "data": [
    {
      "id": "off_abc12345def678",
      "customerId": "cst_abc12345def678",
      "offerNumber": "2024-001",
      "issuedAt": "2024-04-29",
      "expiresAt": "2024-05-29",
      "currency": "EUR",
      "amount": "12.95",
      "acceptedAt": "2024-05-14T21:00:00+02:00",
      "acceptedViaIp": "123.456.7.8.9",
      "acceptedViaUserAgent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36",
      "acceptanceSignature": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAA...",
      "rejectedAt": "2024-05-14T21:00:00+02:00",
      "createdAt": "2024-04-29T21:00:00+02:00",
      "links": {
        "customer": {
          "href": "https://api.mijnklantportaal.nl/v1/customers/cst_abc12345def678",
          "type": "<string>"
        }
      }
    }
  ],
  "first_page_url": "https://api.mijnklantportaal.nl/v1/customer-offers?page=1",
  "from": 1,
  "next_page_url": "https://api.mijnklantportaal.nl/v1/customer-offers?page=2,",
  "path": "https://api.mijnklantportaal.nl/v1/customer-offers",
  "per_page": 15,
  "prev_page_url": null,
  "to": 15
}

Authorizations

Authorization
string
header
required

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

Response

200 - application/json

Paginated response with customer invoices

current_page
integer

Current page of the response

Example:

1

data
object[]

Array of Customer Offer objects

first_page_url
string

Endpoint to go to the first page of objects

Example:

"https://api.mijnklantportaal.nl/v1/customer-offers?page=1"

from
integer

Offset of the current page

Example:

1

next_page_url
string | null

Endpoint to get the next batch of objects, if available

Example:

"https://api.mijnklantportaal.nl/v1/customer-offers?page=2,"

path
string

Current used endpoint

Example:

"https://api.mijnklantportaal.nl/v1/customer-offers"

per_page
integer

Amount of object returned per page. Default is 15 objects

Example:

15

prev_page_url
string | null

Endpoint to get the previous batch of object, if available

Example:

null

to
integer

Next offset of objects

Example:

15

I