Customers | B2C

Add a new consent for the customer

post/api/PrivateCustomers/Consents

Request

  • Base URL: https://api.omnium.no (the document declares no server; this is the origin it was published from)
  • URL: https://api.omnium.no/api/PrivateCustomers/Consents
  • Auth: API key in header Authorization

Query parameters

customerIdstring required

ID of the customer

Request body

datestring date-time nullable

Date of consent

typestring nullable

Consent type. Could have any value.

contentstring nullable

Content / text describing consent given-

descriptionstring nullable

Consent description

sourcestring nullable

Consent source. E.g. Web, PoS, customer service call, etc.

statusboolean

True if active

marketIdsstring[] nullable

MarketIds for access control of consents

Response

Success

Changes

No recorded changes to this operation across all 1 revision of this API.