This is object used to describe the account details
If the conditions in the "If" tab are respected, then the conditions in the "Then" tab should be respected. Otherwise, the conditions in the "Else" tab should be respected.
false
"BILL_TO"
If the conditions in the "If" tab are respected, then the conditions in the "Then" tab should be respected. Otherwise, the conditions in the "Else" tab should be respected.
false
"SOLD_TO"
If the conditions in the "If" tab are respected, then the conditions in the "Then" tab should be respected. Otherwise, the conditions in the "Else" tab should be respected.
true
"SOLD_TO"
This object is used to describe some technical meta information related to the event
The application source of this event
The version of the json format event
OpCo's organizatinal customer number that uniquely identifies its account. In the case of OpCo organised with a regional model or commercial organisation this should be suffix by '{orgId}'. if the accountId is 13563 and the orgId is OVIA so this field should contains 13563OVIA
"1234567"
"1234567_OVIA"
this field allows to distinguish the different combinations possible within one account.
"ACCOUNT"
Boolean to indicate if the account is a guest account to support view of buy box for non logged in users / When value is true no users should be attached to this account, This account would not have a delivery or billing address, access token generated would not contain userID or email info and would never expire
true
An object containing an array of link objects, each specifying a type and a corresponding URL value.
Must contain a minimum of 1 items
An object containing various types of links.
The type of the link, which can be one of: 'REPORT' - It is used for generating a reporting link to SSM (Sonepar Sales Management) in Spark AX. Value must be a report token for this type.
"REPORT"
It is a part of the URL path that specifies a particular resource or endpoint on the server. Valid values depend on type.
type REPORT: Value will be concatenated with base URL stored in Spark AX. Example: Base URL is https://ssm.us/redirect?o= , value is 1234 then Spark AX will produce https://ssm.us/redirect?o=1234 Value typically indicates a specific report or dataset that the server should retrieve or interact with when the URL is accessed
^[a-zA-Z0-9]+$
Must be at least 1 characters long
"ekbsbshsjj34kssk67kskowertynsloqwshsh"
[
{
"type": "REPORT",
"value": "adsddsgslowrtcynasklow345palotbahqwerpzma"
}
]
Optional field, needed by OpCo organised with a regional model or commercial organisation. It can be used to filter or route based on the orgId.
"org123"
"SNE"
Optional field, needed by OpCo organised with a regional model or commercial organisation. This name will be displayed to the customer into front to make him able to recognise the current commercial org
"SONEPAR NORD-EST"
"Sonepar Sud Est"
Regional division identifier
"RD1"
registration ID of the company within its country, like siret number in France.
"12356894100056"
VAT number
"GM4837192941"
Name of the organizational customer.
"Independent Electric"
[Deprecated - Moved to account-customer-relationship].
Number of employees in the company.
1234
The date of activation of this account in the opco
"2021-10-12T08:30:22.804Z"
"2018-11-13T20:20:39+02:00"
A generic user has all accesses to the opco. When true : An associate can access this account using the generic user. When false : An associate cannot access this account using the generic user. If not provided, the default configuration value on OpCo level will be used (feature flag on-behalf-without-user-default).
true
true in the case the account doesn't have a products exclusion list. If this field is not present then the default value is false
true
billing address applied to all users in the same account.
OpCo internal system's unique identifier for the address
"237564557868778"
According to ISO 19060, this field contains one third of the address. In most cases this usually contains the whole addres though.
"Belleboslaan 17"
According to ISO 19060, this field contains one third of the address. This is an optional field.
According to ISO 19060, this field contains one third of the address. This is an optional field.
City.
"Montesson"
The ISO 3166-1 alpha-3 of the country
"FRA"
Zip code.
"78360"
department
"JURA"
region
"Bretagne"
A commun definition of an address
OpCo internal system's unique identifier for the address
"237564557868778"
According to ISO 19060, this field contains one third of the address. In most cases this usually contains the whole addres though.
"Belleboslaan 17"
According to ISO 19060, this field contains one third of the address. This is an optional field.
According to ISO 19060, this field contains one third of the address. This is an optional field.
City.
"Montesson"
The ISO 3166-1 alpha-3 of the country
"FRA"
Zip code.
"78360"
department
"JURA"
region
"Bretagne"
Extra description about the address
"Building site #1"
Company name, it might differ from the account name
"Easy Electric"
Address contact's Phone number
"+330287345678"
Contact's firstname.
"John"
Contact's lastname.
"Doe"
Contact's middle name.
"Michael"
Determines whether addessLine1, addessLine2, zipCode, city and country fields are editable or not
false
a boolean to say if this address is the default one or not
false
Optional indications or instructions about the delivery
"Please leave the parcel next the front door."
Optional reference about the customer delivery
"Reference #123"
The default facility id while registering the account to an opco. If the feature flag - Enable Preferred branch - is enabled, pass preferred branch here. Otherwise use account-customer-relationship data model to pass Service Center/Preferred branch, because then a single branch is serving both roles.
"4335"
the default logistic method while registering the account to an opco
the default payment method while registering the account to an opco
The currency denomination define by ISO 4217
"EUR"
Type of payment
"CREDIT_DEBIT_CARD"
The payment channel
organisation account status with opco.
- OFFLINE: DEPRECATED if account is conducting business whether it's online or offline, ACTIVE status should be used
- ACTIVE: An account that is conducting business or will conduct business with Sonepar.
- PENDING: Not used yet when the account activation is pending.
- CLOSED: A status used to close the account.
- BLOCKED: Not used yet when the account is temporary disabled for example because of credit limit issue or security issue.
- DELETED: DEPRECATED use CLOSED status instead.
"ACTIVE"
List of payment methods
Must contain a minimum of 1 items
Model used to create a payment method
The currency denomination define by ISO 4217
"EUR"
Type of payment
"CREDIT_DEBIT_CARD"
The payment channel
[
{
"paymentCurrency": "EUR",
"paymentType": "CREDIT_LINE"
}
]
Payment terms associated with the account. Example when invoices should be paid.
"End of month + 15d"
"End of month + 30d"
"Invoice date +45d"
[Deprecated - Moved to account-customer-relationship].
The sale representative of the account
firstname of the sale representative
"John"
lastname of the sale representative
"Doe"
phone number of the sale representative
"0683906389"
email of the sale representative
"john.doe@standelec.com"
[Deprecated - Moved to account-customer-relationship].
An array containing the different level of the segment where the accounts is attached (installers, medium or large scale). The first element of the arrays is the first level
Must contain a minimum of 1 items
the code of this segment level
the label of this segment level
{
"fr-FR": "Installateur résidentiel et commercial - petit",
"en-US": "Residential & Commercial Installer - Small"
}
Each additional property must conform to the following schema
Type: string[
{
"code": "111-1",
"label": {
"fr-FR": "Installateur résidentiel et commercial",
"en-US": "Residential & Commercial Installer"
}
},
{
"code": "1be9366881063c8e18457f29b5e1f0db",
"label": {
"fr-FR": "Petit",
"en-US": "Small"
}
}
]
[
{
"code": "b8f28358d902f28449103518a2464ec2",
"label": {
"fr-FR": "Entrepreneurs généraux, Constructeurs, Ingénierie et construction",
"en-US": "General Contractors, Builders, Engineering & Construction"
}
}
]
[Deprecated - Moved to account-customer-relationship].
id of the purchase group
"1234"
name of the purchase group to be displayed
"Doe"
A reference to parent's account opCoAccountId field. This is used to represent the hierarchy of accounts.
Parent accounts must be sent first. Otherwise, references between parent and children will not be established
"1234567"
"1234567_OVIA"
In the hierarchy of accounts, an account can have none, one, or both of the following roles: BILLTO, SOLDTO
Must contain a minimum of 0 items
[
"BILL_TO"
]
[
"BILL_TO",
"SOLD_TO"
]
[
"SOLD_TO"
]
[]
Flag to hide the credit limit to customers in CX. When true, the CREDITLINEVIEW permission will be ignored in Spark CX and credit line will not be displayed to users for this account. Otherwise, CREDITLINEVIEW permission will work as specified.
true
Flag controling if marketplace is enabled at an account level. By default (if this account attribute is not set and the cp-marketplace feature flag is set then) marketplace is enabled.
: Account level delivery instructions
Must be at least 1 characters long
"YYNNYY"
: Locale code representing the preferred language at an account level. This must match the code defined in the AX language map record
^[a-z]{2}(-[A-Z]{2})?$
Must be at least 2 characters long
"en-GB"
"en-US"
Flag defining whether or not open catalog products are available by default to this account. When true, open catalog products are ignored (and need to be explicitly included). When false (default), open catalog products are available by default (but can be individually excluded). The deprecated static configuration inclusion-active-account-list is still taken into account if this attribute is false, but only on search results and not in other areas (i.e. PDP, suggestions).
true