A valid request URL is required to generate request examples{
"items": [
{
"accountType": "<string>",
"approvalStatus": "<string>",
"attributes": [
{
"attributeCode": "<string>",
"displayGroup": "<string>",
"valueType": "<string>",
"adminName": "<string>",
"attributeFQN": "<string>",
"attributeMetadata": [
{
"key": "<string>",
"value": "<string>"
}
],
"auditInfo": {
"createBy": "<string>",
"createDate": "2023-11-07T05:31:56Z",
"updateBy": "<string>",
"updateDate": "2023-11-07T05:31:56Z"
},
"availableForDiscounts": true,
"availableForOrderRouting": true,
"content": {
"localeCode": "<string>",
"value": "<string>"
},
"dataType": "<string>",
"id": 123,
"inputType": "<string>",
"isActive": true,
"isMultiValued": true,
"isReadOnly": true,
"isRequired": true,
"isVisible": true,
"namespace": "<string>",
"order": 123,
"validation": {
"maxDateTime": "2023-11-07T05:31:56Z",
"maxNumericValue": 123,
"maxStringLength": 123,
"minDateTime": "2023-11-07T05:31:56Z",
"minNumericValue": 123,
"minStringLength": 123,
"regularExpression": "<string>"
},
"vocabularyValues": [
{
"value": "<string>",
"content": {
"localeCode": "<string>",
"value": "<string>"
},
"isHidden": true,
"sequence": 123
}
]
}
],
"auditInfo": {
"createBy": "<string>",
"createDate": "2023-11-07T05:31:56Z",
"updateBy": "<string>",
"updateDate": "2023-11-07T05:31:56Z"
},
"commerceSummary": {
"lastOrderDate": "2023-11-07T05:31:56Z",
"orderCount": 123,
"totalOrderAmount": {
"amount": 123,
"currencyCode": "<string>"
},
"visitsCount": 123,
"wishlistCount": 123
},
"companyOrOrganization": "<string>",
"contacts": [
{
"accountId": 123,
"address": {
"address1": "<string>",
"address2": "<string>",
"address3": "<string>",
"address4": "<string>",
"addressType": "<string>",
"cityOrTown": "<string>",
"countryCode": "<string>",
"isValidated": true,
"postalOrZipCode": "<string>",
"stateOrProvince": "<string>"
},
"auditInfo": {
"createBy": "<string>",
"createDate": "2023-11-07T05:31:56Z",
"updateBy": "<string>",
"updateDate": "2023-11-07T05:31:56Z"
},
"companyOrOrganization": "<string>",
"email": "<string>",
"faxNumber": "<string>",
"firstName": "<string>",
"id": 123,
"label": "<string>",
"lastNameOrSurname": "<string>",
"middleNameOrInitial": "<string>",
"phoneNumbers": {
"home": "<string>",
"mobile": "<string>",
"work": "<string>"
},
"types": [
{
"isPrimary": true,
"name": "<string>"
}
]
}
],
"customerSet": "<string>",
"customerSinceDate": "2023-11-07T05:31:56Z",
"externalId": "<string>",
"id": 123,
"isActive": true,
"migrationRequired": true,
"notes": [
{
"auditInfo": {
"createBy": "<string>",
"createDate": "2023-11-07T05:31:56Z",
"updateBy": "<string>",
"updateDate": "2023-11-07T05:31:56Z"
},
"content": "<string>",
"id": 123
}
],
"parentAccountId": 123,
"priceList": "<string>",
"priority": 123,
"rootAccountId": 123,
"salesReps": [
{
"accountId": 123,
"adminUserId": "<string>"
}
],
"segments": [
{
"auditInfo": {
"createBy": "<string>",
"createDate": "2023-11-07T05:31:56Z",
"updateBy": "<string>",
"updateDate": "2023-11-07T05:31:56Z"
},
"code": "<string>",
"description": "<string>",
"id": 123,
"name": "<string>"
}
],
"taxExempt": true,
"taxId": "<string>",
"users": [
{
"acceptsMarketing": true,
"emailAddress": "<string>",
"firstName": "<string>",
"hasExternalPassword": true,
"isActive": true,
"isLocked": true,
"isRemoved": true,
"last2FaDate": "2023-11-07T05:31:56Z",
"lastName": "<string>",
"localeCode": "<string>",
"roles": [
{
"assignedInScope": {
"id": 123,
"name": "<string>",
"type": "<string>"
},
"auditInfo": {
"createBy": "<string>",
"createDate": "2023-11-07T05:31:56Z",
"updateBy": "<string>",
"updateDate": "2023-11-07T05:31:56Z"
},
"roleId": 123,
"roleName": "<string>",
"roleResources": [
{
"id": "<string>",
"type": "<string>"
}
],
"roleTags": [
"<string>"
],
"userId": "<string>"
}
],
"userId": "<string>",
"userName": "<string>"
}
]
}
],
"pageCount": 123,
"pageSize": 123,
"startIndex": 123,
"totalCount": 123
}Get B2B Accounts
Retrieves a list of B2B accounts according to any filter criteria and sort options.
A valid request URL is required to generate request examples{
"items": [
{
"accountType": "<string>",
"approvalStatus": "<string>",
"attributes": [
{
"attributeCode": "<string>",
"displayGroup": "<string>",
"valueType": "<string>",
"adminName": "<string>",
"attributeFQN": "<string>",
"attributeMetadata": [
{
"key": "<string>",
"value": "<string>"
}
],
"auditInfo": {
"createBy": "<string>",
"createDate": "2023-11-07T05:31:56Z",
"updateBy": "<string>",
"updateDate": "2023-11-07T05:31:56Z"
},
"availableForDiscounts": true,
"availableForOrderRouting": true,
"content": {
"localeCode": "<string>",
"value": "<string>"
},
"dataType": "<string>",
"id": 123,
"inputType": "<string>",
"isActive": true,
"isMultiValued": true,
"isReadOnly": true,
"isRequired": true,
"isVisible": true,
"namespace": "<string>",
"order": 123,
"validation": {
"maxDateTime": "2023-11-07T05:31:56Z",
"maxNumericValue": 123,
"maxStringLength": 123,
"minDateTime": "2023-11-07T05:31:56Z",
"minNumericValue": 123,
"minStringLength": 123,
"regularExpression": "<string>"
},
"vocabularyValues": [
{
"value": "<string>",
"content": {
"localeCode": "<string>",
"value": "<string>"
},
"isHidden": true,
"sequence": 123
}
]
}
],
"auditInfo": {
"createBy": "<string>",
"createDate": "2023-11-07T05:31:56Z",
"updateBy": "<string>",
"updateDate": "2023-11-07T05:31:56Z"
},
"commerceSummary": {
"lastOrderDate": "2023-11-07T05:31:56Z",
"orderCount": 123,
"totalOrderAmount": {
"amount": 123,
"currencyCode": "<string>"
},
"visitsCount": 123,
"wishlistCount": 123
},
"companyOrOrganization": "<string>",
"contacts": [
{
"accountId": 123,
"address": {
"address1": "<string>",
"address2": "<string>",
"address3": "<string>",
"address4": "<string>",
"addressType": "<string>",
"cityOrTown": "<string>",
"countryCode": "<string>",
"isValidated": true,
"postalOrZipCode": "<string>",
"stateOrProvince": "<string>"
},
"auditInfo": {
"createBy": "<string>",
"createDate": "2023-11-07T05:31:56Z",
"updateBy": "<string>",
"updateDate": "2023-11-07T05:31:56Z"
},
"companyOrOrganization": "<string>",
"email": "<string>",
"faxNumber": "<string>",
"firstName": "<string>",
"id": 123,
"label": "<string>",
"lastNameOrSurname": "<string>",
"middleNameOrInitial": "<string>",
"phoneNumbers": {
"home": "<string>",
"mobile": "<string>",
"work": "<string>"
},
"types": [
{
"isPrimary": true,
"name": "<string>"
}
]
}
],
"customerSet": "<string>",
"customerSinceDate": "2023-11-07T05:31:56Z",
"externalId": "<string>",
"id": 123,
"isActive": true,
"migrationRequired": true,
"notes": [
{
"auditInfo": {
"createBy": "<string>",
"createDate": "2023-11-07T05:31:56Z",
"updateBy": "<string>",
"updateDate": "2023-11-07T05:31:56Z"
},
"content": "<string>",
"id": 123
}
],
"parentAccountId": 123,
"priceList": "<string>",
"priority": 123,
"rootAccountId": 123,
"salesReps": [
{
"accountId": 123,
"adminUserId": "<string>"
}
],
"segments": [
{
"auditInfo": {
"createBy": "<string>",
"createDate": "2023-11-07T05:31:56Z",
"updateBy": "<string>",
"updateDate": "2023-11-07T05:31:56Z"
},
"code": "<string>",
"description": "<string>",
"id": 123,
"name": "<string>"
}
],
"taxExempt": true,
"taxId": "<string>",
"users": [
{
"acceptsMarketing": true,
"emailAddress": "<string>",
"firstName": "<string>",
"hasExternalPassword": true,
"isActive": true,
"isLocked": true,
"isRemoved": true,
"last2FaDate": "2023-11-07T05:31:56Z",
"lastName": "<string>",
"localeCode": "<string>",
"roles": [
{
"assignedInScope": {
"id": 123,
"name": "<string>",
"type": "<string>"
},
"auditInfo": {
"createBy": "<string>",
"createDate": "2023-11-07T05:31:56Z",
"updateBy": "<string>",
"updateDate": "2023-11-07T05:31:56Z"
},
"roleId": 123,
"roleName": "<string>",
"roleResources": [
{
"id": "<string>",
"type": "<string>"
}
],
"roleTags": [
"<string>"
],
"userId": "<string>"
}
],
"userId": "<string>",
"userName": "<string>"
}
]
}
],
"pageCount": 123,
"pageSize": 123,
"startIndex": 123,
"totalCount": 123
}Authorizations
JWT Authorization header using the Bearer scheme.
Query Parameters
Used to page results from a query. Indicates the zero-based offset in the complete result set where the returned entities begin. For example, with a PageSize of 25, to get the 51st through the 75th items, startIndex=3. The default value is 0. Optional. For example, applications can filter on UserId to get the single record of the current customer.
Used to page results from a query. Indicates the maximum number of entities to return from a query. The default value is 20 and the maximum value is 200. Optional.
The element to sort the results by and the order in which the results appear. Either ascending (a-z) or descending (z-a) order. Optional.
A set of filter expressions representing the search parameters for a query: eq=equals, ne=not equals, gt=greater than, lt = less than or equals, gt = greater than or equals, lt = less than or equals, sw = starts with, or cont = contains. Optional.
a quick filter which will search a predefined set of fields for a match
Used to refine the default information returned from a request. To reduce amount of customer account information returned, use the valid response groups: Contacts, CustomerAccountNotes, and OrderSummary. Optional.
limits which fields are returned in the response body

