GET /v2/devices/codes
Lists all DeviceCodes associated with the merchant.
Servers
- https://connect.squareup.com
Query parameters
Name | Type | Required | Description |
---|---|---|---|
location_id |
String | No |
If specified, only returns DeviceCodes of the specified location. Returns DeviceCodes of all locations if empty. |
product_type |
String | No |
If specified, only returns DeviceCodes targeting the specified product type. Returns DeviceCodes of all product types if empty. |
status |
String | No |
If specified, returns DeviceCodes with the specified statuses.
Returns DeviceCodes of status |
cursor |
String | No |
A pagination cursor returned by a previous call to this endpoint. Provide this to retrieve the next set of results for your original query. See Paginating results for more information. |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.