Skip to main content
Server path: /square-catalog | Type: Application | PCID required: Yes

Tools

ToolDescription
square_catalog_batch_change_inventoryBatchChangeInventory
square_catalog_batch_delete_catalog_objectsBatchDeleteCatalogObjects
square_catalog_batch_retrieve_catalog_objectsBatchRetrieveCatalogObjects
square_catalog_batch_retrieve_inventory_changesBatchRetrieveInventoryChanges
square_catalog_batch_retrieve_inventory_countsBatchRetrieveInventoryCounts
square_catalog_batch_retrieve_ordersBatchRetrieveOrders
square_catalog_batch_upsert_catalog_objectsBatchUpsertCatalogObjects
square_catalog_bulk_delete_order_custom_attributesBulkDeleteOrderCustomAttributes
square_catalog_bulk_upsert_order_custom_attributesBulkUpsertOrderCustomAttributes
square_catalog_calculate_orderCalculateOrder
square_catalog_clone_orderCloneOrder
square_catalog_create_catalog_imageCreateCatalogImage
square_catalog_create_orderCreateOrder
square_catalog_create_order_custom_attribute_definitionCreateOrderCustomAttributeDefinition
square_catalog_delete_objectDeleteCatalogObject
square_catalog_delete_order_custom_attributeDeleteOrderCustomAttribute
square_catalog_delete_order_custom_attribute_definitionDeleteOrderCustomAttributeDefinition
square_catalog_infoCatalogInfo
square_catalog_list_catalogListCatalog
square_catalog_list_order_custom_attribute_definitionsListOrderCustomAttributeDefinitions
square_catalog_list_order_custom_attributesListOrderCustomAttributes
square_catalog_pay_orderPayOrder
square_catalog_retrieve_catalog_objectRetrieveCatalogObject
square_catalog_retrieve_inventory_adjustmentRetrieveInventoryAdjustment
square_catalog_retrieve_inventory_countRetrieveInventoryCount
square_catalog_retrieve_inventory_physical_countRetrieveInventoryPhysicalCount
square_catalog_retrieve_inventory_transferRetrieveInventoryTransfer
square_catalog_retrieve_orderRetrieveOrder
square_catalog_retrieve_order_custom_attributeRetrieveOrderCustomAttribute
square_catalog_retrieve_order_custom_attribute_definitionRetrieveOrderCustomAttributeDefinition
square_catalog_search_catalog_itemsSearchCatalogItems
square_catalog_search_catalog_objectsSearchCatalogObjects
square_catalog_search_ordersSearchOrders
square_catalog_update_catalog_imageUpdateCatalogImage
square_catalog_update_item_modifier_listsUpdateItemModifierLists
square_catalog_update_item_taxesUpdateItemTaxes
square_catalog_update_orderUpdateOrder
square_catalog_update_order_custom_attribute_definitionUpdateOrderCustomAttributeDefinition
square_catalog_upsert_catalog_objectUpsertCatalogObject
square_catalog_upsert_order_custom_attributeUpsertOrderCustomAttribute

square_catalog_batch_change_inventory

BatchChangeInventory Parameters:
ParameterTypeRequiredDefaultDescription
changesobject[]NoThe set of physical counts and inventory adjustments to be made. Changes are applied based on the client-supplied timestamp and may be sent out of order.
idempotency_keystringYesA client-supplied, universally unique identifier (UUID) for the request. See Idempotency in the API Development 101 section for more information.
ignore_unchanged_countsbooleanNoIndicates whether the current physical count should be ignored if the quantity is unchanged since the last physical count. Default: true.

square_catalog_batch_delete_catalog_objects

BatchDeleteCatalogObjects Parameters:
ParameterTypeRequiredDefaultDescription
object_idsstring[]YesThe 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 (for example, deleting a CatalogItem will delete its CatalogItemVariation.

square_catalog_batch_retrieve_catalog_objects

BatchRetrieveCatalogObjects Parameters:
ParameterTypeRequiredDefaultDescription
catalog_versionintegerNoThe specific version of the catalog objects to be included in the response. This allows you to retrieve historical versions of objects. The specified version value is matched against the CatalogObjects’ version attribute. If not included, results will be from the current version of the catalog.
include_category_path_to_rootbooleanNoSpecifies whether or not to include the path_to_root list for each returned category instance. The path_to_root list consists of CategoryPathToRootNode objects and specifies the path that starts with the immediate parent category of the returned category and ends with its root category. If the returned category is a top-level category, the path_to_root list is empty and is not returned in the response payload.
include_deleted_objectsbooleanNoIndicates whether to include (true) or not (false) in the response deleted objects, namely, those with the is_deleted attribute set to true.
include_related_objectsbooleanNoIf true, the response will include additional objects that are related to the requested objects. Related objects are defined as any objects referenced by ID by the results in the objects field of the response. These objects are put in the related_objects field. Setting this to true is helpful when the objects are needed for immediate display to a user. This process only goes one level deep. Objects referenced by the related objects will not be included. For example, if the objects field of the response contains a CatalogItem, its associated CatalogCategory objects, CatalogTax objects, CatalogImage objects and CatalogModifierLists will be returned in the related_objects field of the response. If the objects field of the response contains a CatalogItemVariation, its parent CatalogItem will be returned in the related_objects field of the response. Default value: false
object_idsstring[]YesThe IDs of the CatalogObjects to be retrieved.

square_catalog_batch_retrieve_inventory_changes

BatchRetrieveInventoryChanges Parameters:
ParameterTypeRequiredDefaultDescription
catalog_object_idsstring[]NoThe filter to return results by CatalogObject ID. The filter is only applicable when set. The default value is null.
cursorstringNoA pagination cursor returned by a previous call to this endpoint. Provide this to retrieve the next set of results for the original query. See the Pagination guide for more information.
limitintegerNoThe number of records to return.
location_idsstring[]NoThe filter to return results by Location ID. The filter is only applicable when set. The default value is null.
statesstring[]NoThe filter to return ADJUSTMENT query results by InventoryState. This filter is only applied when set. The default value is null.
typesstring[]NoThe filter to return results by InventoryChangeType values other than TRANSFER. The default value is [PHYSICAL_COUNT, ADJUSTMENT].
updated_afterstringNoThe filter to return results with their calculated_at value after the given time as specified in an RFC 3339 timestamp. The default value is the UNIX epoch of (1970-01-01T00:00:00Z).
updated_beforestringNoThe filter to return results with their created_at or calculated_at value strictly before the given time as specified in an RFC 3339 timestamp. The default value is the UNIX epoch of (1970-01-01T00:00:00Z).

square_catalog_batch_retrieve_inventory_counts

BatchRetrieveInventoryCounts Parameters:
ParameterTypeRequiredDefaultDescription
catalog_object_idsstring[]NoThe filter to return results by CatalogObject ID. The filter is applicable only when set. The default is null.
cursorstringNoA pagination cursor returned by a previous call to this endpoint. Provide this to retrieve the next set of results for the original query. See the Pagination guide for more information.
limitintegerNoThe number of records to return.
location_idsstring[]NoThe filter to return results by Location ID. This filter is applicable only when set. The default is null.
statesstring[]NoThe filter to return results by InventoryState. The filter is only applicable when set. Ignored are untracked states of NONE, SOLD, and UNLINKED_RETURN. The default is null.
updated_afterstringNoThe filter to return results with their calculated_at value after the given time as specified in an RFC 3339 timestamp. The default value is the UNIX epoch of (1970-01-01T00:00:00Z).

square_catalog_batch_retrieve_orders

BatchRetrieveOrders Parameters:
ParameterTypeRequiredDefaultDescription
location_idstringNoThe ID of the location for these orders. This field is optional: omit it to retrieve orders within the scope of the current authorization’s merchant ID.
order_idsstring[]YesThe IDs of the orders to retrieve. A maximum of 100 orders can be retrieved per request.

square_catalog_batch_upsert_catalog_objects

BatchUpsertCatalogObjects Parameters:
ParameterTypeRequiredDefaultDescription
batchesobject[]YesA batch of CatalogObjects to be inserted/updated atomically. The objects within a batch will be inserted in an all-or-nothing fashion, i.e., if an error occurs attempting to insert or update an object within a batch, the entire batch will be rejected. However, an error in one batch will not affect other batches within the same request. For each object, its updated_at field is ignored and replaced with a current timestamp, and its is_deleted field must not be set to true. To modify an existing object, supply its ID. To create a new object, use an ID starting with #. These IDs may be used to create relationships between an object and attributes of other objects that reference it. For example, you can create a CatalogItem with ID #ABC and a CatalogItemVariation with its item_id attribute set to #ABC in order to associate the CatalogItemVariation with its parent CatalogItem. Any #-prefixed IDs are valid only within a single atomic batch, and will be replaced by server-generated IDs. 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. If either of these limits is violated, an error will be returned and no objects will be inserted or updated.
idempotency_keystringYesA value you specify that uniquely identifies this request among all your requests. A common way to create a valid idempotency key is to use a Universally unique identifier (UUID). If you’re unsure whether a particular request was successful, you can reattempt it with the same idempotency key without worrying about creating duplicate objects. See Idempotency for more information.

square_catalog_bulk_delete_order_custom_attributes

BulkDeleteOrderCustomAttributes Parameters:
ParameterTypeRequiredDefaultDescription
valuesobjectYesA map of requests that correspond to individual delete operations for custom attributes.

square_catalog_bulk_upsert_order_custom_attributes

BulkUpsertOrderCustomAttributes Parameters:
ParameterTypeRequiredDefaultDescription
valuesobjectYesA map of requests that correspond to individual upsert operations for custom attributes.

square_catalog_calculate_order

CalculateOrder Parameters:
ParameterTypeRequiredDefaultDescription
orderobjectYesContains all information related to a single order to process with Square, including line items that specify the products to purchase. Order objects also include information about any associated tenders, refunds, and returns. All Connect V2 Transactions have all been converted to Orders including all associated itemization data.
proposed_rewardsobject[]NoIdentifies one or more loyalty reward tiers to apply during the order calculation. The discounts defined by the reward tiers are added to the order only to preview the effect of applying the specified rewards. The rewards do not correspond to actual redemptions; that is, no rewards are created. Therefore, the reward ids are random strings used only to reference the reward tier.

square_catalog_clone_order

CloneOrder Parameters:
ParameterTypeRequiredDefaultDescription
idempotency_keystringNoA value you specify that uniquely identifies this clone request. If you are unsure whether a particular order was cloned successfully, you can reattempt the call with the same idempotency key without worrying about creating duplicate cloned orders. The originally cloned order is returned. For more information, see Idempotency.
order_idstringYesThe ID of the order to clone.
versionintegerNoAn optional order version for concurrency protection. If a version is provided, it must match the latest stored version of the order to clone. If a version is not provided, the API clones the latest version.

square_catalog_create_catalog_image

CreateCatalogImage Parameters:
ParameterTypeRequiredDefaultDescription
image_filestringNoImage File
requestobjectNoThe request value

square_catalog_create_order

CreateOrder Parameters:
ParameterTypeRequiredDefaultDescription
idempotency_keystringNoA value you specify that uniquely identifies this order among orders you have created. If you are unsure whether a particular order was created successfully, you can try it again with the same idempotency key without worrying about creating duplicate orders. For more information, see Idempotency.
orderobjectNoContains all information related to a single order to process with Square, including line items that specify the products to purchase. Order objects also include information about any associated tenders, refunds, and returns. All Connect V2 Transactions have all been converted to Orders including all associated itemization data.

square_catalog_create_order_custom_attribute_definition

CreateOrderCustomAttributeDefinition Parameters:
ParameterTypeRequiredDefaultDescription
custom_attribute_definitionobjectYesRepresents a definition for custom attribute values. A custom attribute definition specifies the key, visibility, schema, and other properties for a custom attribute.
idempotency_keystringNoA unique identifier for this request, used to ensure idempotency. For more information, see Idempotency.

square_catalog_delete_object

DeleteCatalogObject Parameters:
ParameterTypeRequiredDefaultDescription
object_idstringYesThe ID of the catalog object to be deleted. When an object is deleted, other objects in the graph that depend on that object will be deleted as well (for example, deleting a catalog item will delete its catalog item variations).

square_catalog_delete_order_custom_attribute

DeleteOrderCustomAttribute Parameters:
ParameterTypeRequiredDefaultDescription
order_idstringYesThe ID of the target order.
custom_attribute_keystringYesThe key of the custom attribute to delete. This key must match the key of an existing custom attribute definition.

square_catalog_delete_order_custom_attribute_definition

DeleteOrderCustomAttributeDefinition Parameters:
ParameterTypeRequiredDefaultDescription
keystringYesThe key of the custom attribute definition to delete.

square_catalog_info

CatalogInfo

square_catalog_list_catalog

ListCatalog Parameters:
ParameterTypeRequiredDefaultDescription
cursorstringNoThe pagination cursor returned in the previous response. Leave unset for an initial request. The page size is currently set to be 100. See Pagination for more information.
typesstringNoAn optional case-insensitive, comma-separated list of object types to retrieve. The valid values are defined in the CatalogObjectType enum, for example, ITEM, ITEM_VARIATION, CATEGORY, DISCOUNT, TAX, MODIFIER, MODIFIER_LIST, IMAGE, etc. If this is unspecified, the operation returns objects of all the top level types at the version of the Square API used to make the request. Object types that are nested onto other object types are not included in the defaults. At the current API version the default object types are: ITEM, CATEGORY, TAX, DISCOUNT, MODIFIER_LIST, PRICING_RULE, PRODUCT_SET, TIME_PERIOD, MEASUREMENT_UNIT, SUBSCRIPTION_PLAN, ITEM_OPTION, CUSTOM_ATTRIBUTE_DEFINITION, QUICK_AMOUNT_SETTINGS.
catalog_versionintegerNoThe specific version of the catalog objects to be included in the response. This allows you to retrieve historical versions of objects. The specified version value is matched against the CatalogObjects’ version attribute. If not included, results will be from the current version of the catalog.

square_catalog_list_order_custom_attribute_definitions

ListOrderCustomAttributeDefinitions Parameters:
ParameterTypeRequiredDefaultDescription
visibility_filterstringNoRequests that all of the custom attributes be returned, or only those that are read-only or read-write.
cursorstringNoThe cursor returned in the paged response from the previous call to this endpoint. Provide this cursor to retrieve the next page of results for your original request. For more information, see Pagination.
limitintegerNoThe maximum number of results to return in a single paged response. This limit is advisory. The response might contain more or fewer results. The minimum value is 1 and the maximum value is 100. The default value is 20. For more information, see Pagination.

square_catalog_list_order_custom_attributes

ListOrderCustomAttributes Parameters:
ParameterTypeRequiredDefaultDescription
order_idstringYesThe ID of the target order.
visibility_filterstringNoRequests that all of the custom attributes be returned, or only those that are read-only or read-write.
cursorstringNoThe cursor returned in the paged response from the previous call to this endpoint. Provide this cursor to retrieve the next page of results for your original request. For more information, see Pagination.
limitintegerNoThe maximum number of results to return in a single paged response. This limit is advisory. The response might contain more or fewer results. The minimum value is 1 and the maximum value is 100. The default value is 20. For more information, see Pagination.
with_definitionsbooleanNoIndicates whether to return the custom attribute definition in the definition field of each custom attribute. Set this parameter to true to get the name and description of each custom attribute, information about the data type, or other definition details. The default value is false.

square_catalog_pay_order

PayOrder Parameters:
ParameterTypeRequiredDefaultDescription
order_idstringYesThe ID of the order being paid.
idempotency_keystringYesA value you specify that uniquely identifies this request among requests you have sent. If you are unsure whether a particular payment request was completed successfully, you can reattempt it with the same idempotency key without worrying about duplicate payments. For more information, see Idempotency.
order_versionintegerNoThe version of the order being paid. If not supplied, the latest version will be paid.
payment_idsstring[]NoThe IDs of the payments to collect. The payment total must match the order total.

square_catalog_retrieve_catalog_object

RetrieveCatalogObject Parameters:
ParameterTypeRequiredDefaultDescription
object_idstringYesThe object ID of any type of catalog objects to be retrieved.
include_related_objectsbooleanNoIf true, the response will include additional objects that are related to the requested objects. Related objects are defined as any objects referenced by ID by the results in the objects field of the response. These objects are put in the related_objects field. Setting this to true is helpful when the objects are needed for immediate display to a user. This process only goes one level deep. Objects referenced by the related objects will not be included. For example, if the objects field of the response contains a CatalogItem, its associated CatalogCategory objects, CatalogTax objects, CatalogImage objects and CatalogModifierLists will be returned in the related_objects field of the response. If the objects field of the response contains a CatalogItemVariation, its parent CatalogItem will be returned in the related_objects field of the response. Default value: false
catalog_versionintegerNoRequests objects as of a specific version of the catalog. This allows you to retrieve historical versions of objects. The value to retrieve a specific version of an object can be found in the version field of CatalogObjects. If not included, results will be from the current version of the catalog.
include_category_path_to_rootbooleanNoSpecifies whether or not to include the path_to_root list for each returned category instance. The path_to_root list consists of CategoryPathToRootNode objects and specifies the path that starts with the immediate parent category of the returned category and ends with its root category. If the returned category is a top-level category, the path_to_root list is empty and is not returned in the response payload.

square_catalog_retrieve_inventory_adjustment

RetrieveInventoryAdjustment Parameters:
ParameterTypeRequiredDefaultDescription
adjustment_idstringYesID of the InventoryAdjustment to retrieve.

square_catalog_retrieve_inventory_count

RetrieveInventoryCount Parameters:
ParameterTypeRequiredDefaultDescription
catalog_object_idstringYesID of the CatalogObject to retrieve.
location_idsstringNoThe Location IDs to look up as a comma-separated list. An empty list queries all locations.
cursorstringNoA pagination cursor returned by a previous call to this endpoint. Provide this to retrieve the next set of results for the original query. See the Pagination guide for more information.

square_catalog_retrieve_inventory_physical_count

RetrieveInventoryPhysicalCount Parameters:
ParameterTypeRequiredDefaultDescription
physical_count_idstringYesID of the InventoryPhysicalCount to retrieve.

square_catalog_retrieve_inventory_transfer

RetrieveInventoryTransfer Parameters:
ParameterTypeRequiredDefaultDescription
transfer_idstringYesID of the InventoryTransfer to retrieve.

square_catalog_retrieve_order

RetrieveOrder Parameters:
ParameterTypeRequiredDefaultDescription
order_idstringYesThe ID of the order to retrieve.

square_catalog_retrieve_order_custom_attribute

RetrieveOrderCustomAttribute Parameters:
ParameterTypeRequiredDefaultDescription
order_idstringYesThe ID of the target order.
custom_attribute_keystringYesThe key of the custom attribute to retrieve. This key must match the key of an existing custom attribute definition.
versionintegerNoTo enable optimistic concurrency control, include this optional field and specify the current version of the custom attribute.
with_definitionbooleanNoIndicates whether to return the custom attribute definition in the definition field of each custom attribute. Set this parameter to true to get the name and description of each custom attribute, information about the data type, or other definition details. The default value is false.

square_catalog_retrieve_order_custom_attribute_definition

RetrieveOrderCustomAttributeDefinition Parameters:
ParameterTypeRequiredDefaultDescription
keystringYesThe key of the custom attribute definition to retrieve.
versionintegerNoTo enable optimistic concurrency control, include this optional field and specify the current version of the custom attribute.

square_catalog_search_catalog_items

SearchCatalogItems Parameters:
ParameterTypeRequiredDefaultDescription
archived_statestringNoDefines the values for the archived_state query expression used in SearchCatalogItems to return the archived, not archived or either type of catalog items.
category_idsstring[]NoThe category id query expression to return items containing the specified category IDs.
cursorstringNoThe pagination token, returned in the previous response, used to fetch the next batch of pending results.
custom_attribute_filtersobject[]NoThe customer-attribute filter to return items or item variations matching the specified custom attribute expressions. A maximum number of 10 custom attribute expressions are supported in a single call to the SearchCatalogItems endpoint.
enabled_location_idsstring[]NoThe enabled-location query expression to return items and item variations having specified enabled locations.
limitintegerNoThe maximum number of results to return per page. The default value is 100.
product_typesstring[]NoThe product types query expression to return items or item variations having the specified product types.
sort_orderstringNoThe order (e.g., chronological or alphabetical) in which results from a request are returned.
stock_levelsstring[]NoThe stock-level query expression to return item variations with the specified stock levels. See SearchCatalogItemsRequestStockLevel for possible values
text_filterstringNoThe text filter expression to return items or item variations containing specified text in the name, description, or abbreviation attribute value of an item, or in the name, sku, or upc attribute value of an item variation.

square_catalog_search_catalog_objects

SearchCatalogObjects Parameters:
ParameterTypeRequiredDefaultDescription
begin_timestringNoReturn objects modified after this timestamp, in RFC 3339 format, e.g., 2016-09-04T23:59:33.123Z. The timestamp is exclusive - objects with a timestamp equal to begin_time will not be included in the response.
cursorstringNoThe pagination cursor returned in the previous response. Leave unset for an initial request. See Pagination for more information.
include_category_path_to_rootbooleanNoSpecifies whether or not to include the path_to_root list for each returned category instance. The path_to_root list consists of CategoryPathToRootNode objects and specifies the path that starts with the immediate parent category of the returned category and ends with its root category. If the returned category is a top-level category, the path_to_root list is empty and is not returned in the response payload. If include_category_path_to_root is true, then the include_deleted_objects request parameter must be false. Both properties cannot be true at the same time.
include_deleted_objectsbooleanNoIf true, deleted objects will be included in the results. Defaults to false. Deleted objects will have their is_deleted field set to true. If include_deleted_objects is true, then the include_category_path_to_root request parameter must be false. Both properties cannot be true at the same time.
include_related_objectsbooleanNoIf true, the response will include additional objects that are related to the requested objects. Related objects are objects that are referenced by object ID by the objects in the response. This is helpful if the objects are being fetched for immediate display to a user. This process only goes one level deep. Objects referenced by the related objects will not be included. For example: If the objects field of the response contains a CatalogItem, its associated CatalogCategory objects, CatalogTax objects, CatalogImage objects and CatalogModifierLists will be returned in the related_objects field of the response. If the objects field of the response contains a CatalogItemVariation, its parent CatalogItem will be returned in the related_objects field of the response. Default value: false
limitintegerNoA limit on the number of results to be returned in a single page. The limit is advisory - the implementation may return more or fewer results. If the supplied limit is negative, zero, or is higher than the maximum limit of 1,000, it will be ignored.
object_typesstring[]NoThe desired set of object types to appear in the search results. If this is unspecified, the operation returns objects of all the top level types at the version of the Square API used to make the request. Object types that are nested onto other object types are not included in the defaults. At the current API version the default object types are: ITEM, CATEGORY, TAX, DISCOUNT, MODIFIER_LIST, PRICING_RULE, PRODUCT_SET, TIME_PERIOD, MEASUREMENT_UNIT, SUBSCRIPTION_PLAN, ITEM_OPTION, CUSTOM_ATTRIBUTE_DEFINITION, QUICK_AMOUNT_SETTINGS. Note that if you wish for the query to return objects belonging to nested types (i.e., COMPONENT, IMAGE, ITEM_OPTION_VAL, ITEM_VARIATION, or MODIFIER), you must explicitly include all the types of interest in this field.
queryobjectNoA query composed of one or more different types of filters to narrow the scope of targeted objects when calling the SearchCatalogObjects endpoint. Although a query can have multiple filters, only certain query types can be combined per call to SearchCatalogObjects. Any combination of the following types may be used together: - exact_query - prefix_query - range_query - sorted_attribute_query - text_query All other query types cannot be combined with any others. When a query filter is based on an attribute, the attribute must be searchable. Searchable attributes are listed as follows, along their parent types that can be searched for with applicable query filters. Searchable attribute and objects queryable by searchable attributes: - name: CatalogItem, CatalogItemVariation, CatalogCategory, CatalogTax, CatalogDiscount, CatalogModifier, CatalogModifierList, CatalogItemOption, CatalogItemOptionValue - description: CatalogItem, CatalogItemOptionValue - abbreviation: CatalogItem - upc: CatalogItemVariation - sku: CatalogItemVariation - caption: CatalogImage - display_name: CatalogItemOption For example, to search for CatalogItem objects by searchable attributes, you can use the "name", "description", or "abbreviation" attribute in an applicable query filter.

square_catalog_search_orders

SearchOrders Parameters:
ParameterTypeRequiredDefaultDescription
cursorstringNoA pagination cursor returned by a previous call to this endpoint. Provide this cursor to retrieve the next set of results for your original query. For more information, see Pagination.
limitintegerNoThe maximum number of results to be returned in a single page. Default: 500 Max: 1000
location_idsstring[]NoThe location IDs for the orders to query. All locations must belong to the same merchant. Max: 10 location IDs.
queryobjectNoContains query criteria for the search.
return_entriesbooleanNoA Boolean that controls the format of the search results. If true, SearchOrders returns OrderEntry objects. If false, SearchOrders returns complete order objects. Default: false.

square_catalog_update_catalog_image

UpdateCatalogImage Parameters:
ParameterTypeRequiredDefaultDescription
image_idstringYesThe ID of the CatalogImage object to update the encapsulated image file.
image_filestringNoImage File
requestobjectNoThe request value

square_catalog_update_item_modifier_lists

UpdateItemModifierLists Parameters:
ParameterTypeRequiredDefaultDescription
item_idsstring[]YesThe IDs of the catalog items associated with the CatalogModifierList objects being updated.
modifier_lists_to_disablestring[]NoThe 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.
modifier_lists_to_enablestring[]NoThe 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.

square_catalog_update_item_taxes

UpdateItemTaxes Parameters:
ParameterTypeRequiredDefaultDescription
item_idsstring[]YesIDs for the CatalogItems associated with the CatalogTax objects being updated. No more than 1,000 IDs may be provided.
taxes_to_disablestring[]NoIDs of the CatalogTax objects to disable. At least one of taxes_to_enable or taxes_to_disable must be specified.
taxes_to_enablestring[]NoIDs of the CatalogTax objects to enable. At least one of taxes_to_enable or taxes_to_disable must be specified.

square_catalog_update_order

UpdateOrder Parameters:
ParameterTypeRequiredDefaultDescription
order_idstringYesThe ID of the order to update.
fields_to_clearstring[]NoThe dot notation paths fields to clear. For example, line_items[uid].note. For more information, see Deleting fields.
idempotency_keystringNoA value you specify that uniquely identifies this update request. If you are unsure whether a particular update was applied to an order successfully, you can reattempt it with the same idempotency key without worrying about creating duplicate updates to the order. The latest order version is returned. For more information, see Idempotency.
orderobjectNoContains all information related to a single order to process with Square, including line items that specify the products to purchase. Order objects also include information about any associated tenders, refunds, and returns. All Connect V2 Transactions have all been converted to Orders including all associated itemization data.

square_catalog_update_order_custom_attribute_definition

UpdateOrderCustomAttributeDefinition Parameters:
ParameterTypeRequiredDefaultDescription
keystringYesThe key of the custom attribute definition to update.
custom_attribute_definitionobjectYesRepresents a definition for custom attribute values. A custom attribute definition specifies the key, visibility, schema, and other properties for a custom attribute.
idempotency_keystringNoA unique identifier for this request, used to ensure idempotency. For more information, see Idempotency.

square_catalog_upsert_catalog_object

UpsertCatalogObject Parameters:
ParameterTypeRequiredDefaultDescription
idempotency_keystringYesA value you specify that uniquely identifies this request among all your requests. A common way to create a valid idempotency key is to use a Universally unique identifier (UUID). If you’re unsure whether a particular request was successful, you can reattempt it with the same idempotency key without worrying about creating duplicate objects. See Idempotency for more information.
objectobjectYesThe wrapper object for the catalog entries of a given object type. Depending on the type attribute value, a CatalogObject instance assumes a type-specific data to yield the corresponding type of catalog object. For example, if type=ITEM, the CatalogObject instance must have the ITEM-specific data set on the item_data attribute. The resulting CatalogObject instance is also a CatalogItem instance. In general, if type=<OBJECT_TYPE>, the CatalogObject instance must have the <OBJECT_TYPE>-specific data set on the <object_type>_data attribute. The resulting CatalogObject instance is also a Catalog<ObjectType> instance. For a more detailed discussion of the Catalog data model, please see the Design a Catalog guide.

square_catalog_upsert_order_custom_attribute

UpsertOrderCustomAttribute Parameters:
ParameterTypeRequiredDefaultDescription
order_idstringYesThe ID of the target order.
custom_attribute_keystringYesThe key of the custom attribute to create or update. This key must match the key of an existing custom attribute definition.
custom_attributeobjectYesA custom attribute value. Each custom attribute value has a corresponding CustomAttributeDefinition object.
idempotency_keystringNoA unique identifier for this request, used to ensure idempotency. For more information, see Idempotency.