Skip to main content
PATCH
Mark Customer Offer accepted or rejected

Authorizations

Authorization
string
header
required

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

Path Parameters

offerId
string
required

ID of the Customer Offer to change

Body

application/json
acceptedAt
string

Date and time of when the offer was accepted

Example:

"2024-05-04 20:51:50"

acceptedViaIp
string

IP from which the offer was accepted. Will be omitted when acceptedAt is not provided

Example:

"123.456.7.8.9"

acceptedViaUserAgent
string

UserAgent which is used for accepting the offer. Will be omitted when acceptedAt is not provided

Example:

"Mozilla/5.0 (X11; Linux x86_64)..."

rejectedAt
string

Date and time of when the offer was rejected

Example:

"2024-05-04 20:51:50"

Response

Getting the updated Customer Offer

Customer Offer

id
string

ID of the offer, always starting with off_.

Example:

"off_abc12345def678"

customerId
string

ID of the customer which the offer belongs to.

Example:

"cst_abc12345def678"

offerNumber
string

Number of the offer as string.

Example:

"2024-001"

issuedAt
string

Issue date of the offer. Formatted as YYYY-mm-dd.

Example:

"2024-04-29"

expiresAt
string

Date on which the the offer expires. Formatted as YYYY-mm-dd.

Example:

"2024-05-29"

currency
string

Currency of the offer amount.

Example:

"EUR"

amount
string

Invoice offer as string.

Example:

"12.95"

acceptedAt
string | null

Date and time the offer is marked as accepted. Written in ATOM format.

Example:

"2024-05-14T21:00:00+02:00"

acceptedViaIp
string | null

IP address from which the offer was accepted.

Example:

"123.456.7.8.9"

acceptedViaUserAgent
string | null

User-Agent which is used to accept the offer.

Example:

"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36"

acceptanceSignature
string | null

base64 data string of the signature as PNG.

Example:

"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAA..."

rejectedAt
string | null

Date and time the offer is marked as rejected. Written in ATOM format.

Example:

"2024-05-14T21:00:00+02:00"

createdAt
string

Date and time when the offer was added to MijnKlantportaal. Written in ATOM format.

Example:

"2024-04-29T21:00:00+02:00"