Available Methods
The Catalog client provides the following methods:BatchDeleteCatalogObjects- Delete multiple catalog objectsBatchGetCatalogObjects- Retrieve multiple catalog objects by IDBatchUpsertCatalogObjects- Create or update multiple catalog objectsListCatalog- List all catalog objects of specified typesSearchCatalogObjects- Search for catalog objects with filtersSearchCatalogItems- Search specifically for catalog itemsUpdateItemModifierLists- Enable or disable modifier lists for itemsUpdateItemTaxes- Enable or disable taxes for items
Batch Upsert Catalog Objects
Creates or updates up to 10,000 catalog objects atomically. This is the primary method for creating or updating items in your catalog.Parameters
A value you specify that uniquely identifies this request. See Idempotency for more information.
A batch of CatalogObjects to be inserted/updated atomically. Each batch may contain up to 1,000 objects. The total number of objects across all batches for a single request may not exceed 10,000.
Response
The successfully created or updated CatalogObjects
The database timestamp of this update in RFC 3339 format
The mapping between client and server IDs for this upsert
Any errors that occurred during the request
Batch Get Catalog Objects
Retrieves information about catalog objects by their IDs. Optionally includes related objects referenced by the returned objects.Parameters
The IDs of the CatalogObjects to be retrieved
If true, the response will include additional objects that are related to the requested objects. Default: false
The specific version of the catalog objects to be included in the response. If not included, results will be from the current version of the catalog.
Indicates whether to include deleted objects in the response. Default: false
Specifies whether or not to include the path_to_root list for each returned category instance. Default: false
Response
A list of CatalogObjects returned
A list of CatalogObjects referenced by the objects in the objects field
Any errors that occurred during the request
Search Catalog Items
Searches for catalog items or item variations by matching supported search attribute values. This is optimized for searching items specifically.Parameters
The text filter expression to return items or item variations containing specified text in the name, description, or abbreviation attribute
The category IDs to filter by. Returns items containing the specified category IDs.
The stock-level query expression to return item variations with the specified stock levels
The enabled-location query expression to return items and item variations having specified enabled locations
The pagination cursor returned in the previous response. Use to fetch the next batch of results.
The maximum number of results to return per page. Default: 100
The order to sort the results by item names. Default: ASC
The product types query expression to return items or item variations having the specified product types
Response
The found catalog items
The pagination cursor for retrieving the next page of results
Any errors that occurred during the request
List Catalog
Returns a list of all catalog objects of the specified types. This endpoint allows browsing your entire catalog.Parameters
The pagination cursor returned in the previous response. Leave unset for an initial request.
An optional case-insensitive, comma-separated list of object types to retrieve, such as ITEM, ITEM_VARIATION, CATEGORY, DISCOUNT, TAX, MODIFIER, MODIFIER_LIST, or IMAGE.
The specific version of the catalog objects to be included in the response. If not included, results will be from the current version of the catalog.
Response
The CatalogObjects returned
The pagination cursor to be used in the next request
Any errors that occurred during the request
Update Item Modifier Lists
Updates the modifier lists that apply to a set of items. This allows you to enable or disable modifier lists for multiple items at once.Parameters
The IDs of the catalog items associated with the CatalogModifierList objects being updated
The IDs of the CatalogModifierList objects to enable for the CatalogItem. At least one of modifier_lists_to_enable or modifier_lists_to_disable must be specified.
The IDs of the CatalogModifierList objects to disable for the CatalogItem. At least one of modifier_lists_to_enable or modifier_lists_to_disable must be specified.
Response
The database timestamp of this update in RFC 3339 format
Any errors that occurred during the request
Batch Delete Catalog Objects
Deletes a set of catalog objects based on a list of target object IDs. When an object is deleted, other objects in the graph that depend on that object will be deleted as well.Parameters
The IDs of the CatalogObjects to be deleted. When an object is deleted, other objects in the graph that depend on that object will be deleted as well.
Response
The IDs of all CatalogObjects deleted by this request
The database timestamp of this deletion in RFC 3339 format
Any errors that occurred during the request
