v1

latestOpenAPI 3.0.12026-07-26381328555.2 KB
B2BAccount

Add Account

Creates a new B2B account in the Pending Approval state. This account will not yet be active, as it requires a sales representative to be assigned (with .../b2baccounts/{accountId}/salesrep/{userId}) before it is approved (with .../b2baccounts/{accountId}/status/{actionName}).

post/commerce/customer/b2baccounts

Query parameters

responseFieldsstring

limits which fields are returned in the response body

Request body

accountTypestring nullable

Type of account.

approvalStatusstring nullable

Status on B2B account.

companyOrOrganizationstring nullable

The company or organization name for an account.

customerSetstring nullable
customerSinceDatestring date-time nullable

Date when the customer account is created.

externalIdstring nullable
idinteger

Unique identifier of the account, also known as a customer number.

isActiveboolean nullable

Is the B2B account active?

migrationRequiredboolean

Indicates Subscription migration is required or not.

parentAccountIdinteger nullable

Parent account Id in B2B hierarchy

priceListstring nullable

Price list on B2B account.

priorityinteger nullable

Priority of the b2b account for order release

rootAccountIdinteger nullable

Root account Id in B2B hierarchy

taxExemptboolean
taxIdstring nullable

Response

OK

accountTypestring nullable

Type of account.

approvalStatusstring nullable

Status on B2B account.

companyOrOrganizationstring nullable

The company or organization name for an account.

customerSetstring nullable
customerSinceDatestring date-time nullable

Date when the customer account is created.

externalIdstring nullable
idinteger

Unique identifier of the account, also known as a customer number.

isActiveboolean nullable

Is the B2B account active?

migrationRequiredboolean

Indicates Subscription migration is required or not.

parentAccountIdinteger nullable

Parent account Id in B2B hierarchy

priceListstring nullable

Price list on B2B account.

priorityinteger nullable

Priority of the b2b account for order release

rootAccountIdinteger nullable

Root account Id in B2B hierarchy

taxExemptboolean
taxIdstring nullable