Company Commands
Manage B2B companies in Adobe Commerce.
These commands are available only for Adobe Commerce (Cloud/SaaS) connection profiles.
List Companies
List available companies with pagination support.
mage-remote-run company list [options]
Options
| Option | Description | Default |
|Params|---|---|
| -p, --page <number> | Page number | 1 |
| -s, --size <number> | Page size | 20 |
| --sort-by <field> | Field to sort by | entity_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
| Option | Description | Default |
|---|---|---|
-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"