Skip to main content

Company Commands

Manage B2B companies in Adobe Commerce.

info

These commands are available only for Adobe Commerce profiles with B2B modules detected. For PaaS/On-Prem profiles, B2B modules are checked during connection add or connection edit.

List Companies

List available companies with pagination support.

mage-remote-run company list [options]

Options

OptionDescriptionDefault
-p, --page <number>Page number1
-s, --size <number>Page size20
--sort-by <field>Field to sort byentity_id
--sort-order <order>Sort order (ASC, DESC)ASC
-f, --format <type>Output format (text, json, xml)text

Example

mage-remote-run company list --page 1 --size 10

Show Company

Show detailed information about a specific company.

mage-remote-run company show <companyId> [options]

Options

OptionDescriptionDefault
-f, --format <type>Output format (text, json, xml)text

Example

mage-remote-run company show 1

Create Company

Create a new company. Interactive prompts will guide you.

mage-remote-run company create

Update Company

Update company details interactively.

mage-remote-run company update <companyId>

Delete Company

Delete a company.

mage-remote-run company delete <companyId>

Company Structure

Show basic company structure.

mage-remote-run company structure <companyId>

Company Roles

Manage B2B roles.

List Roles

mage-remote-run company role list

Show Role

mage-remote-run company role show <roleId>

Company Credits

Manage company credits.

Show Credit

View credit balance and limits.

mage-remote-run company credit show <companyId>

Credit History

View credit transaction history.

mage-remote-run company credit history <companyId>

Increase Balance

Increase company credit balance.

mage-remote-run company credit increase <creditId> <amount>
# Optional: --comment "Reason" --po "PO123"

Decrease Balance

Decrease company credit balance.

mage-remote-run company credit decrease <creditId> <amount>
# Optional: --comment "Reason" --po "PO123"