• Example searches: “transaction”, “CreateOrder”, “/v2/locations”, “inventory”, “delete customer”

You are viewing an old version of the API
List categories
V1
Square V1 APIs

We recommend using the Square API (V2) for all new development when possible. See When to use Connect V1 to learn more about working with V1 endpoints.

Deprecated
Effective November 20th, 2019

Lists all the item categories for a given location.

Required permissions: ITEMS_READ

Deprecation date

2019-11-20

Retirement date

2020-11-18

Replaced by

ListCatalog
Migration guide

Path Parameters

Name Description
location_id
string

Required

The ID of the location to list categories for.

Response Fields

Name Description
items
Category [ ]

Examples

You are viewing an old version of the API
GET /v1/{location_id}/categories
cURL
  • cURL
curl https://connect.squareup.com/v1/location_id0/categories \
  -H 'Authorization: Bearer ACCESS_TOKEN' \
  -H 'Content-Type: application/json'

Share Feedback

Thanks for visiting the Square API documentation. What's on your mind?