Changelog Customers

customers-5.4.3

Aug 28th 2025

The field CustomerConnectRequest.temporaryCustomerNumber is now deprecated and replaced by CustomerConnectRequest.customerNumberToConnect. This is to reflect that both temporary and permanent customer can be connected to a different customer.

Improvements
Development environment
Staging environment
Production environment

customers-5.4.2

May 13th 2025

Password is now optional when creating a customer profile. This also applies when converting a temporary profile to a regular profile.

Improvements
Development environment
Staging environment
Production environment

customers-5.4.0

Apr 10th 2025

Email is no longer mandatory when converting a temporary profile to a regular profile.

Improvements
Development environment
Staging environment
Production environment

customers-5.4.1

Apr 10th 2025

The HTTP response code remains 400, but the error code within the response object is now consistently 605 in the event of a validation error for the customer telephone number fields.

Improvements
Development environment
Staging environment
Production environment

customers-5.3.0

Jan 17th 2025

Dummy values for first name and surname in update endpoints will be converted to an empty string. Dummy values in existing profiles will also be converted to an empty string upon retrieval. This change applies to all endpoints that update or retrieve customer profiles. Values that will be replaced include 'ikke satt', 'ikkesatt' (in any casing), and all values consisting solely of whitespace or combinations of whitespace and the characters _-.*.

Improvements
Development environment
Staging environment
Production environment

consents-4.0.0

Jan 10th 2025

Removed query parameter "netexAuthorityId" from GET /client/consents and GET /admin/consents endpoints

Breaking changes
Development environment
Staging environment
Production environment

customers-5.2.0

Mar 6th 2024

Added endpoint to get customer accounts by customer number. See the endpoint GET /profiles/{customerNumber}/customer-accounts

New
Development environment
Staging environment
Production environment

Benefits 1.7.11

Feb 7th 2024

Add includeExpiredContracts to GET /contract-consumers/{customerNumber}/contracts.

New
Development environment
Staging environment
Production environment

customers-5.1.0

Nov 8th 2023

Some deprecated and unused endpoints are removed. All of the endpoints were either not exposed in the proxy, or for internal use. Therefore, the removals should not result in any breaking changes, but the OpenApi spec might contain some changes. These are the removed endpoints:

  • /countries
  • /consents/v1
  • /post-codes
  • /error-messages
  • /blacklisted-phones
  • /customers/{customerNumber}/personnel-ticket-bearer
  • /customers/{customerNumber}/customer-numbers
  • /customers/{customerNumber}/customer-references
  • /profiles/{customerNumber}/personnel-ticket-bearer
  • /profiles/{customerNumber}/customer-numbers
  • /profiles/{customerNumber}/customer-references
Breaking changes
Development environment
Staging environment
Production environment

Benefits 1.7.10

Jul 3rd 2023

Fix GET /loyaltyprograms/company-managed-programs/loyaltyProgramId to not 404 on draft LoyaltyProgram with versions

Bugfixes
Development environment
Staging environment
Production environment

Benefits 1.7.9

Jun 26th 2023

Changes to endpoints:

  • Add GET /loyaltyprograms/company-managed-programs/{loyaltyProgramId} to fetch a company managed program
  • Fix GET /loyaltyprograms/company-managed-programs to not 404 on draft LoyaltyProgram with versions
New
Development environment
Staging environment
Production environment

customers-5.1.0

Jun 5th 2023

When searching for profiles with /profiles or /profiles-search using telephone numbers, the parameters countryCode and telephoneNumberNoCountryCode should be used. Both must be specified. Using the telephoneNumber parameter is deprecated and may not return all results.

CustomerResponse.telephoneNumber is a deprecated field and should not be used. After this change, the value of CustomerResponse.telephoneNumber will always mirror CustomerReponse.countryCode and CustomerResponse.telephoneNumberNoCountryCode, if those fields are filled out. Previously it could return an outdated value.

Improvements
Development environment
Staging environment
Production environment

customers-orchestrator-1.2.0

Feb 15th 2023

Added endpoint POST /benefits/contracts/claim-contract Calling the endpoint will attempt to connect a customer to a company managed loyalty program, giving the customer benefits and entitlements connected to that loyalty program.

New
Development environment
Staging environment
Production environment

Benefits 1.7.1

Jan 23rd 2023

Update PATCH /loyaltyprograms/{loyaltyProgramId}/contracts/{contractUuid} to include couponsLimit in request body

Improvements
Development environment
Staging environment
Production environment

Benefits 1.7.0

Jan 13th 2023

Updated deployment to new cloud setup.

New
Development environment
Staging environment
Production environment

Benefits 1.6.0

Nov 18th 2022
This version includes changes made for company-managed loyalty programs (selvbetjente lojalitetsprogram) such as adding a code the customer can use to associate with the loyalty program, fetching company managed programs for the relevant partner organisations, and deleting them if one has access. Changes to endpoints: * Update POST /loyaltyprograms endpoint to have loyaltyProgramCode for request body. * Add GET /loyaltyprograms/company-managed-programs endpoint to get company managed loyalty program. * Add DELETE /loyaltyprograms/company-managed-programs endpoint to delete company managed loyalty program.
New
Development environment
Staging environment
Production environment

Benefits 1.6.10

Nov 14th 2022
Added endpoint POST /loyaltyprograms/by-code for fetching a company-managed loyalty program (selvbetjent lojalitetsprogram) by its loyalty program code if one has access.
New
Development environment
Staging environment
Production environment

consents-3.1.0

Oct 7th 2022

Consents service moved to new cluster

Internal
Development environment
Staging environment
Production environment

customers-5.0.0

Sep 26th 2022

Removed endpoint PUT /profiles/{customerNumber}/reset-uuid

Breaking changes
Development environment
Staging environment
Production environment

customers-orchestrator-1.1.49

Aug 19th 2022

Updated format of DatedServiceJourney and OriginalDatedServiceJourney to [A-Z]{3}:DatedServiceJourney:[0-9a-zA-Z_-]+ This supports external DSJs and not just internal ones.

Improvements
Development environment
Staging environment
Production environment

customers-4.0.0

Aug 17th 2022

Existing endpoint PATCH /profiles/{customerNumber}/customer-accounts/{accountId} now uses {accountId} (string) instead of unique DB id (long) for updating customer accounts.

Breaking changes
Development environment
Staging environment
Production environment

customers-3.9.20

Aug 12th 2022

New endpoint DELETE /profiles/{customerNumber}/customer-accounts/{accountId} for customer accounts. Access to customer is required to delete their customer account

New
Development environment
Staging environment
Production environment

customers-3.9.0

Jun 27th 2022

Add permission store to customers. Internal token or special permission is needed for access to all customers .

New
Development environment
Staging environment
Production environment

customers-3.8.1

May 3rd 2022

CustomerPutRequest validation no longer fails when customerAccountId (deprecated) is empty, and the customer profile has a customer account.

New
Development environment
Staging environment
Production environment

customers-3.7.1

Feb 25th 2022

Added optional Vipps id to endpoints for creating and changing customer profile. See the endpoints POST /profiles and PUT /profiles/{customerNumber}

New
Development environment
Staging environment
Production environment

customers-3.7.2

Feb 24th 2022

Added optional search parameter Vipps id to GET /profiles.

New
Development environment
Staging environment
Production environment

customers-orchestrator-1.1.12

Feb 18th 2022

Added optional boolean parameter excludeSubContracts to /benefits/entitlements/{customerNumber}/by-customer-number When set to true, the endpoint will not return day trip entitlements. The default value is false

Improvements
Development environment
Staging environment
Production environment

Benefits 1.5.111

Jan 10th 2022

Constraint on setting effective cancellation date to a previous year in a OrderLineEventRequest. It is not supported by the system.

Bugfixes
Development environment
Staging environment
Production environment

customers-3.6.169

Nov 11th 2021

New endpoint /customer-accounts/{accountId}/profiles for getting customer profile by customer account id.

New
Development environment
Staging environment
Production environment

customers-3.6.145

Jan 6th 2021

New endpoint /profile-search for paginated customer search. Default number of customers per page is 50. Default page is 1.

Improvements
Development environment
Staging environment
Production environment

Benefits 1.5.0

Nov 16th 2020

Adding two new parameters for endpoints that supply contracts, includeOrderLineEvents and includeConsumers. Default values (when the parameters are not present) mean that no order line events are included and only the contract owner. See also the swagger documentation. Note that when not asking for order line events, the response will not contain an empty list, but a null.

Improvements
Development environment
Staging environment
Production environment

customers-3.6.139

Oct 14th 2020

EcardNumber16Digits is optional in create and update requests.If not set, it will be calculated based on ecard number and operator.

Improvements
Development environment
Staging environment
Production environment

Benefits 1.4.6

Jul 2nd 2020

Adding status field for ContractResponse and SimpleContractResponse

  • The status field is used to show if the contract has been expired, misused or refunded.
  • The status field is default valid.
Improvements
Development environment
Staging environment
Production environment

Benefits 1.4.0

Jun 9th 2020

Fraud prevention on /contracts/{externalRef}/by-external-ref

  • The client has to use header: Entur-Customer-Number to enable the fraud prevention. Logged in user will be used as value.
  • The application will block the customer if the customer tries with many invalid external refs.
  • The application will increase delay for each invalid external ref used by the customer.
  • The application will prevent the customer to do simultaneously calls.
  • This will prevent users to indefinitely try to find contracts.
  • It is used by /contracts/claim-personnel-ticket to prevent users from guessing lots of personnel ticket references.
Improvements
Development environment
Staging environment
Production environment