v1

latestOpenAPI 3.0.12026-07-26381328555.2 KB
B2BAccount

Update B2B Account Status

Updates the status on B2B account by transitioning it between states with the approve, deny, enable, and disable actions. An account that has been newly requested will be in the Pending Approval state and can be approved or denied. An account that has been previously approved can be disabled to deactivate it, while a disabled or denied account can be reinstated by enabling or approving it.

put/commerce/customer/b2baccounts/{accountId}/status/{actionName}

Path parameters

accountIdinteger required
actionNamestring required

Query parameters

responseFieldsstring

limits which fields are returned in the response body

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