api.companies.save_geo_settings
POST /companies/{companyId}/geosettings— ACPortal
Python
api.companies.save_geo_settings(company_id: str, *, data: GeoSettingsSaveRequest | dict) -> None
CLI
ab companies save_geo_settings <company_id> [--data ...]
POST /companies/{companyId}/geosettings.
Args:
company_id: Company ID or code.
data: Geo settings payload with service_areas and restrictions.
Accepts a :class:GeoSettingsSaveRequest instance or a dict.
Request model: :class:GeoSettingsSaveRequest
Request body — GeoSettingsSaveRequest
Field |
Type |
Required |
Description |
|---|---|---|---|
|
|
no |
Service area definitions |
|
|
no |
Geographic restrictions |
Response
No response body.