Docs / Cli

smallforce gmb locations update

Update selected fields on one Google Business location

This page is generated from the same Commander definition shipped in SmallForce CLI 0.1.7. Run smallforce gmb locations update --help locally to view the same reference for your installed version.

Complete command help

Usage: smallforce gmb locations update [options] <accountId> <destinationId>

Update selected fields on one Google Business location

Arguments:
  accountId                     Account id from gmb accounts list
  destinationId                 Location destination id from gmb accounts list

Options:
  --description <text>          Business description; pass an empty string to clear it
  --website-url <url>           Website URL; pass an empty string to clear it
  --primary-phone <phone>       Primary phone; replaces the complete phone group
  --additional-phone <phone>    Additional phone; repeat for multiple values (default: [])
  --primary-category <name>     Google category resource name, for example
                                categories/gcid:restaurant
  --additional-category <name>  Additional category resource name; repeatable (default: [])
  --regular-hours <json>        Regular-hours object; exact shape documented below
  --special-hours <json>        Special-hours object; exact shape documented below
  --api-key <key>               SmallForce API key, or set SMALLFORCE_API_KEY
  --backend-url <url>           SmallForce backend URL, or set SMALLFORCE_BACKEND_URL
  --json                        Print stable machine-readable JSON
  --text                        Print human-readable text
  --format <format>             Output format: text or json
  -h, --help                    display help for command