Skip to the content.

square put

Make PUT requests to the Square API.

Synopsis

Make PUT requests to the Square API.

For a full list of supported paths, see the API reference: https://developer.squareup.com/reference/square

Update a customer: $ square put /v2/customers/CGQ7M5073H2RQABDMCJDCX7RF4 -d ‘{“company_name”: “Square”}’

square put [flags]

Options

  -c, --confirm            Automatically confirm the command being entered. WARNING: This will result in NOT being prompted for confirmation for certain commands
  -d, --data stringArray   JSON data to pass in API request body
  -h, --help               help for put
  -s, --show-headers       Show headers on responses to GET, POST, and DELETE requests

Options inherited from parent commands

      --access-token string   The access token to use for authentication
      --config string         config file (default is $HOME/.config/square/config.toml)
      --log-level string      log level (debug, info, warn, error) (default "info")
      --profile string        the profile name to read from for config (default "default")

SEE ALSO

Auto generated by spf13/cobra on 13-Sep-2020