Skip to the content.

square get

Make GET requests to the Square API.

Synopsis

Make GET requests to the Square API.

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

GET list of customers: $ square get customers

GET 50 invoices: $ square get –limit 50 invoices

square get [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   Data to pass for the API request
  -h, --help               help for get
  -l, --limit string       A limit on the number of objects to be returned, between 1 and 100 (default is 10)
  -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