Customers | B2C | Privacy

Change private customer id, and all data assosiated with that id over to new customer object.

get/api/CustomerPrivacy/ChangePrivateCustomerId

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/CustomerPrivacy/ChangePrivateCustomerId
  • Auth: API key in header Authorization

Query parameters

fromCustomerIdstring required

Move data from this customer. Customer with this id will also be deleted!

toCustomerIdstring required

Move data to this customer. Created if not exist.

Response

Success

firstNamestring nullable

First name

lastNamestring nullable

Last name

fullNamestring nullable

Calculated - Full name

genderstring nullable

Gender

birthDatestring date-time nullable

Date of birth

isCustomerClubMemberboolean

True if customer is part of customer club

bonusPointsinteger

Number of bonus points earned by customer

tagsstring[] nullable

Tags for customer

customerIdstring required

Unique ID

customerNumberstring nullable

Customer identifier - does not have to be unique for each store, etc

phonestring nullable

Customer phone number

emailstring nullable

Customer e-mail

urlstring nullable

Customer url

storeIdsstring[] nullable

Customer favorite stores

marketIdstring nullable

Customer primary market

additionalMarketIdsstring[] nullable

Additional customer markets (beyond the primary MarketId)

marketGroupIdstring nullable

Customer market group

preferredLanguagestring nullable

Preferred customer language code

preferredCurrencystring nullable

Customer preferred currency code (E.g. USD, NOK, EUR)

isGlobalboolean nullable

If true, customer is available in all markets / stores

modifiedBystring nullable

Name of the user or system the last modified the item

createdstring date-time nullable

Date and time the customer was created

modifiedstring date-time nullable

Date and time the customer was modified

isInactiveboolean nullable

True if customer is inactive, and should not be able to make purchases

preferredShippingMethodstring nullable

Customer's preferred shipping method name (default selected in new carts)

paymentTermsstring nullable

Payment terms (free text)

paymentTermsNetinteger nullable

Net payment terms (days)

customerDetailsstring nullable

Customer details (brief summary for customer service representatives)

assortmentIncludeCategoryIdsstring[] nullable

Product category IDs to include in customer's assortment. Only products in these categories will be available to the customer. When posted, if null, the property is not updated. If categories should be removed, send empty list.

assortmentExcludeCategoryIdsstring[] nullable

Product category IDs to exclude from customer's assortment. Products in these categories will not be available to the customer. When posted, if null, the property is not updated. If categories should be removed, send empty list.

Changes

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