Get All Company Locations
machship_get_company_locationsRetrieve all warehouses, stores, and depots for a company using its company ID.
Instructions
Returns all locations (warehouses, stores, depots) for a given company.
Args:
companyId (number): Company ID
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| companyId | Yes | Company ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| errors | No | Validation errors returned by Machship, if any | |
| object | No | Response payload from the Machship API |