Skip to content

Square: Catalog Info

Square catalog.catalogInfo: arguments, response, policy and SDK examples.

← Catalog operations · Get started

Operation square.cataloginfo

Provider route: GET /v2/catalog/info. Alter supplies the connection’s credentials and routing.

Install @alter-ai/sdk @alter-ai/square with npm, or alter-sdk-square with pip. Supply your connected customer’s grant ID and the arguments described below.

import { App } from "@alter-ai/sdk";
import { SquareIntegration } from "@alter-ai/square";
async function execute(input: Parameters<SquareIntegration["catalog"]["catalogInfo"]>[0]) {
const app = new App({ apiKey: process.env.ALTER_API_KEY! });
try {
const provider = new SquareIntegration(app, { grantId: process.env.PROVIDER_GRANT_ID! });
const call = await provider.catalog.catalogInfo(input);
const result = await call.wait();
return result.bodyJson();
} finally {
await app.close();
}
}
import os
from alter_sdk import App
from alter_sdk_square import SquareIntegration
async def execute(arguments):
async with App(api_key=os.environ["ALTER_API_KEY"]) as app:
provider = SquareIntegration(app, {"grant_id": os.environ["PROVIDER_GRANT_ID"]})
call = await provider.catalog.catalog_info(arguments)
result = await call.wait()
return result.body_json()
FieldTypePresenceDescription and constraints
$objectRootAdditional keys: not allowed

Response media type: application/json. The table describes the pinned successful response. Referenced models link to their complete fields.

FieldTypePresenceDescription and constraints
$ModelRootExpand Catalog Info — response body

Referenced models: Catalog Info — response body

3 more schemas are linked from the tables above, on the schema pages.

Catalog Info — response body
FieldTypePresenceDescription and constraints
$objectRoot
errorsarrayOptionalAny errors that occurred during the request.
errors[]ModelEach itemExpand Get Shift — response body — errors item
limitsModelOptionalExpand Catalog Info — response body — limits
Limits that apply to this API.
standard_unit_description_groupModelOptionalExpand Catalog Info — response body — standard unit description group
Names and abbreviations for standard units.

Referenced models: Catalog Info — response body — limits, Get Shift — response body — errors item, Catalog Info — response body — standard unit description group

Catalog Info — response body — limits
FieldTypePresenceDescription and constraints
$objectRoot
batch_delete_max_object_idsJSONOptional
batch_delete_max_object_ids (anyOf 1)JSONAlternative
batch_delete_max_object_ids (anyOf 1) (anyOf 1)integerAlternativeThe maximum number of object IDs that may be included in a single
`/v2/catalog/batch-delete` request.
batch_delete_max_object_ids (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
batch_delete_max_object_ids (anyOf 2)nullAlternative
batch_retrieve_max_object_idsJSONOptional
batch_retrieve_max_object_ids (anyOf 1)JSONAlternative
batch_retrieve_max_object_ids (anyOf 1) (anyOf 1)integerAlternativeThe maximum number of object IDs that may appear in a `/v2/catalog/batch-retrieve`
request.
batch_retrieve_max_object_ids (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
batch_retrieve_max_object_ids (anyOf 2)nullAlternative
batch_upsert_max_objects_per_batchJSONOptional
batch_upsert_max_objects_per_batch (anyOf 1)JSONAlternative
batch_upsert_max_objects_per_batch (anyOf 1) (anyOf 1)integerAlternativeThe maximum number of objects that may appear within a single batch in a
`/v2/catalog/batch-upsert` request.
batch_upsert_max_objects_per_batch (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
batch_upsert_max_objects_per_batch (anyOf 2)nullAlternative
batch_upsert_max_total_objectsJSONOptional
batch_upsert_max_total_objects (anyOf 1)JSONAlternative
batch_upsert_max_total_objects (anyOf 1) (anyOf 1)integerAlternativeThe maximum number of objects that may appear across all batches in a
`/v2/catalog/batch-upsert` request.
batch_upsert_max_total_objects (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
batch_upsert_max_total_objects (anyOf 2)nullAlternative
search_max_page_limitJSONOptional
search_max_page_limit (anyOf 1)JSONAlternative
search_max_page_limit (anyOf 1) (anyOf 1)integerAlternativeThe maximum number of results that may be returned in a page of a
`/v2/catalog/search` response.
search_max_page_limit (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
search_max_page_limit (anyOf 2)nullAlternative
update_item_modifier_lists_max_item_idsJSONOptional
update_item_modifier_lists_max_item_ids (anyOf 1)JSONAlternative
update_item_modifier_lists_max_item_ids (anyOf 1) (anyOf 1)integerAlternativeThe maximum number of item IDs that may be included in a single
`/v2/catalog/update-item-modifier-lists` request.
update_item_modifier_lists_max_item_ids (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
update_item_modifier_lists_max_item_ids (anyOf 2)nullAlternative
update_item_modifier_lists_max_modifier_lists_to_disableJSONOptional
update_item_modifier_lists_max_modifier_lists_to_disable (anyOf 1)JSONAlternative
update_item_modifier_lists_max_modifier_lists_to_disable (anyOf 1) (anyOf 1)integerAlternativeThe maximum number of modifier list IDs to be disabled that may be included in
a single `/v2/catalog/update-item-modifier-lists` request.
update_item_modifier_lists_max_modifier_lists_to_disable (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
update_item_modifier_lists_max_modifier_lists_to_disable (anyOf 2)nullAlternative
update_item_modifier_lists_max_modifier_lists_to_enableJSONOptional
update_item_modifier_lists_max_modifier_lists_to_enable (anyOf 1)JSONAlternative
update_item_modifier_lists_max_modifier_lists_to_enable (anyOf 1) (anyOf 1)integerAlternativeThe maximum number of modifier list IDs to be enabled that may be included in
a single `/v2/catalog/update-item-modifier-lists` request.
update_item_modifier_lists_max_modifier_lists_to_enable (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
update_item_modifier_lists_max_modifier_lists_to_enable (anyOf 2)nullAlternative
update_item_taxes_max_item_idsJSONOptional
update_item_taxes_max_item_ids (anyOf 1)JSONAlternative
update_item_taxes_max_item_ids (anyOf 1) (anyOf 1)integerAlternativeThe maximum number of item IDs that may be included in a single
`/v2/catalog/update-item-taxes` request.
update_item_taxes_max_item_ids (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
update_item_taxes_max_item_ids (anyOf 2)nullAlternative
update_item_taxes_max_taxes_to_disableJSONOptional
update_item_taxes_max_taxes_to_disable (anyOf 1)JSONAlternative
update_item_taxes_max_taxes_to_disable (anyOf 1) (anyOf 1)integerAlternativeThe maximum number of tax IDs to be disabled that may be included in a single
`/v2/catalog/update-item-taxes` request.
update_item_taxes_max_taxes_to_disable (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
update_item_taxes_max_taxes_to_disable (anyOf 2)nullAlternative
update_item_taxes_max_taxes_to_enableJSONOptional
update_item_taxes_max_taxes_to_enable (anyOf 1)JSONAlternative
update_item_taxes_max_taxes_to_enable (anyOf 1) (anyOf 1)integerAlternativeThe maximum number of tax IDs to be enabled that may be included in a single
`/v2/catalog/update-item-taxes` request.
update_item_taxes_max_taxes_to_enable (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
update_item_taxes_max_taxes_to_enable (anyOf 2)nullAlternative
Get Shift — response body — errors item
FieldTypePresenceDescription and constraints
$objectRootRepresents an error encountered during a request to the Connect API.

See [Handling errors](https://developer.squareup.com/docs/build-basics/handling-errors) for more information.
categorystringRequired within parentIndicates which high-level category of error has occurred during a
request to the Connect API.
The high-level category for the error.
See [ErrorCategory](#type-errorcategory) for possible values
Known values: API_ERROR, AUTHENTICATION_ERROR, INVALID_REQUEST_ERROR, RATE_LIMIT_ERROR, PAYMENT_METHOD_ERROR, REFUND_ERROR, MERCHANT_SUBSCRIPTION_ERROR, EXTERNAL_VENDOR_ERROR
codeModelRequired within parentExpand Get Shift — response body — errors item code
The specific code of the error.
See [ErrorCode](#type-errorcode) for possible values
detailstringOptionalA human-readable description of the error for debugging purposes.
fieldstringOptionalThe name of the field provided in the original request (if any) that
the error pertains to.

Referenced models: Get Shift — response body — errors item code

Catalog Info — response body — standard unit description group
FieldTypePresenceDescription and constraints
$objectRootGroup of standard measurement units.
language_codeJSONOptional
language_code (anyOf 1)stringAlternativeIETF language tag.
language_code (anyOf 2)nullAlternative
standard_unit_descriptionsJSONOptional
standard_unit_descriptions (anyOf 1)arrayAlternativeList of standard (non-custom) measurement units in this description group.
standard_unit_descriptions (anyOf 1)[]ModelEach itemExpand Catalog Info — response body — standard unit description group standard unit descriptions array item
standard_unit_descriptions (anyOf 2)nullAlternative

Referenced models: Catalog Info — response body — standard unit description group standard unit descriptions array item

Batch Change Inventory — response body — changes item measurement unit measurement unit area unit, custom unit, generic unit, length unit, time unit, type, volume unit, weight unit custom unit abbreviation, name
FieldTypePresenceDescription and constraints
$objectRootThe information needed to define a custom unit, provided by the seller.
abbreviationstringRequired within parentThe abbreviation of the custom unit, such as "bsh" (bushel). This appears
in the cart for the Point of Sale app, and in reports.
namestringRequired within parentThe name of the custom unit, for example "bushel".

SDK function policy ID: square.cataloginfo. Catalog operation: CatalogInfo. Rules can name either ID; function rules distinguish managed calls and conservatively cover raw calls sharing the route. Existing grant permissions and policy rules apply. wait() returns an immediate result or waits for a required approval; it never approves the request itself. Persist the approval ID to resume after a restart.

Provider errors retain their response; JSON decoding raises ProviderAPIError for provider failures. ManagedOperationError identifies contract/input/retention errors. See error handling and provider-specific behavior. Sensitive input may be refused before approval storage. A decoding error never resubmits a write.

Required provider scopes: ["ITEMS_READ"]

Pinned headers: {"Square-Version": "2026-11-18"}

Official provider source

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand how our website, product, and documentation are used.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

Advertising

Shares visits and sign-ups with Meta, Reddit, and X so we can measure which of our ads work.

You can change these choices at any time from Cookie settings.