A valid request URL is required to generate request examples{
"accountType": "<string>",
"attributes": [
{
"attributeDefinitionId": 123,
"auditInfo": {
"createBy": "<string>",
"createDate": "2023-11-07T05:31:56Z",
"updateBy": "<string>",
"updateDate": "2023-11-07T05:31:56Z"
},
"fullyQualifiedName": "<string>",
"values": [
"<unknown>"
]
}
],
"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,
"migrationRequired": true,
"notes": [
{
"auditInfo": {
"createBy": "<string>",
"createDate": "2023-11-07T05:31:56Z",
"updateBy": "<string>",
"updateDate": "2023-11-07T05:31:56Z"
},
"content": "<string>",
"id": 123
}
],
"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>",
"approvalStatus": "<string>",
"isActive": true,
"parentAccountId": 123,
"priceList": "<string>",
"priority": 123,
"rootAccountId": 123,
"salesReps": [
{
"accountId": 123,
"adminUserId": "<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>"
}
]
}Adds a sales rep to a B2B account.
A valid request URL is required to generate request examples{
"accountType": "<string>",
"attributes": [
{
"attributeDefinitionId": 123,
"auditInfo": {
"createBy": "<string>",
"createDate": "2023-11-07T05:31:56Z",
"updateBy": "<string>",
"updateDate": "2023-11-07T05:31:56Z"
},
"fullyQualifiedName": "<string>",
"values": [
"<unknown>"
]
}
],
"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,
"migrationRequired": true,
"notes": [
{
"auditInfo": {
"createBy": "<string>",
"createDate": "2023-11-07T05:31:56Z",
"updateBy": "<string>",
"updateDate": "2023-11-07T05:31:56Z"
},
"content": "<string>",
"id": 123
}
],
"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>",
"approvalStatus": "<string>",
"isActive": true,
"parentAccountId": 123,
"priceList": "<string>",
"priority": 123,
"rootAccountId": 123,
"salesReps": [
{
"accountId": 123,
"adminUserId": "<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>"
}
]
}JWT Authorization header using the Bearer scheme.
limits which fields are returned in the response body
Success
Customer account. Customers provide contact information, view order history, and set email preferences on their account. Merchants can edit accounts to add internal notes or assign them to segments.
Type of account.
List of attributes for the account.
Show child attributes
Show child attributes
Commerce (orders and wishlists) on a customer account which lists all the orders the customer has made with the order date, order amount, and status. Includes cancellations and returns. Also includes wishlist information.
Show child attributes
The company or organization name for an account.
List of contacts for this account. A customer account can have multiple contacts for billing and shipping addresses.
Show child attributes
Date when the customer account is created.
Unique identifier of the account, also known as a customer number.
Indicates Subscription migration is required or not.
List of notes for the account. Merchants use these internal notes, for example, to make a note of a customer's interests or complaints. Notes are available only from the merchant's view, customers cannot view these notes.
Show child attributes
List of segments assigned to account. Merchants create segments, for example, to manage discounts or assign VIP status. Then they assign the account to the segment. An account can belong to several segments or none at all.
Show child attributes
Status on B2B account.
Is the B2B account active?
Parent account Id in B2B hierarchy
Price list on B2B account.
Priority of the b2b account for order release
Root account Id in B2B hierarchy
List of sales rep on B2B account.
Show child attributes
List of B2B users on the account.
Show child attributes