SquareUp API
Tools that enable LLMs to interact directly with the squareup API.
SquareupApi is a toolkit designed for integrating with the Squareup API, empowering developers to facilitate seamless interactions with various Square services. This toolkit enables various operations, including managing customer data, handling invoices, and managing loyalty points. Capabilities: - Access detailed information about customers, orders, and transactions. - Perform CRUD operations on bookings, inventory, and payments. - Manage loyalty programs, including points and rewards. OAuth: The toolkit utilizes OAuth2 authentication via Squareup, with scopes allowing comprehensive access to appointments, customers, payments, and more. Secrets: None required.
Available tools(286)
| Tool name | Description | Secrets | |
|---|---|---|---|
Accept the loss on a dispute and update its status to ACCEPTED.
This tool should be called when you need to accept the loss on a dispute for a transaction. It updates the dispute state to ACCEPTED and returns the disputed amount to the cardholder. Square debits the corresponding amount from the seller's account. Use this when a dispute resolution is finalized, and the seller agrees to the loss. | |||
Add points to a loyalty account for a purchase.
This tool adds loyalty points to a customer's account following a purchase. It can be used with or without the Orders API. If using the Orders API, provide the `order_id` for automatic point calculation based on the program and promotions. If not, manually compute and provide the `points` to add. | |||
Activates a domain for use with Apple Pay and Square.
Use this tool to activate a domain for Apple Pay on the Web with Square. It performs a validation to ensure the domain is Apple Pay enabled, allowing platforms to bulk activate Apple Pay for their merchants. Ensure a valid domain verification file is hosted as per the guidelines. | |||
Adds a card on file to an existing merchant.
This tool is used to store a new card on file for an existing merchant, facilitating future transactions. It provides confirmation once the card is successfully added.
Note: Understanding the request schema is necessary to properly create
the stringified JSON input object for execution.
Modes:
- GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't
already have it. Do NOT call repeatedly if you already received
the schema.
- EXECUTE: Performs the operation with the provided request body
JSON.
If you need the schema, call with mode='get_request_schema' ONCE, then execute. | |||
Adds a customer to a specified group.
Use this tool to assign a customer to a specific group using their customer ID and the group ID. This helps in categorizing customers into different groups for better management. | |||
Add or update a snippet on a Square Online site.
This tool adds a new snippet to or updates an existing snippet on a Square Online site's `head` element. It excludes checkout pages and requires the site's ID. Use ListSites to find site IDs. | |||
Manually adjust loyalty points for a buyer's account.
Use this tool to manually add or subtract loyalty points from a buyer's account when automatic accumulation is not applied. Ideal for scenarios requiring manual point corrections. | |||
Apply batch adjustments to inventory quantities.
Use this tool to apply inventory adjustments and counts to item quantities. Returns updated quantities on success, or a list of errors if the operation fails.
Note: Understanding the request schema is necessary to properly create
the stringified JSON input object for execution.
Modes:
- GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't
already have it. Do NOT call repeatedly if you already received
the schema.
- EXECUTE: Performs the operation with the provided request body
JSON.
If you need the schema, call with mode='get_request_schema' ONCE, then execute. | |||
Batch create or update up to 10,000 catalog objects.
The tool creates or updates catalog objects in batches, each containing up to 1,000 objects. It's an all-or-nothing operation for each batch, meaning if one object in a batch is invalid, the entire batch fails. The tool ensures consistency by processing one update request at a time per seller account.
Note: Understanding the request schema is necessary to properly create
the stringified JSON input object for execution.
Modes:
- GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't
already have it. Do NOT call repeatedly if you already received
the schema.
- EXECUTE: Performs the operation with the provided request body
JSON.
If you need the schema, call with mode='get_request_schema' ONCE, then execute. | |||
Create multiple customer profiles in bulk.
Use this tool to create multiple customer profiles for a business at once. You need to provide at least one identifying value for each customer, such as given name, family name, company name, email address, or phone number.
Note: Understanding the request schema is necessary to properly create
the stringified JSON input object for execution.
Modes:
- GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't
already have it. Do NOT call repeatedly if you already received
the schema.
- EXECUTE: Performs the operation with the provided request body
JSON.
If you need the schema, call with mode='get_request_schema' ONCE, then execute. | |||
Create multiple team members in bulk.
Use this tool to create multiple team member records at once. It processes each creation individually and returns details for successful operations, along with error information for any failures.
Note: Understanding the request schema is necessary to properly create
the stringified JSON input object for execution.
Modes:
- GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't
already have it. Do NOT call repeatedly if you already received
the schema.
- EXECUTE: Performs the operation with the provided request body
JSON.
If you need the schema, call with mode='get_request_schema' ONCE, then execute. | |||
Create multiple vendor profiles for suppliers.
Use this tool to create one or more vendor profiles, representing suppliers for a seller, in bulk. Ideal for onboarding multiple vendors at once.
Note: Understanding the request schema is necessary to properly create
the stringified JSON input object for execution.
Modes:
- GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't
already have it. Do NOT call repeatedly if you already received
the schema.
- EXECUTE: Performs the operation with the provided request body
JSON.
If you need the schema, call with mode='get_request_schema' ONCE, then execute. | |||
Bulk delete custom attributes for bookings.
Use this tool to delete multiple custom attributes associated with bookings in bulk. Ensure the proper OAuth permissions are set: 'APPOINTMENTS_WRITE' for buyer-level and both 'APPOINTMENTS_ALL_WRITE' and 'APPOINTMENTS_WRITE' for seller-level. Requires an active subscription to 'Appointments Plus' or 'Appointments Premium' for seller-level actions.
Note: Understanding the request schema is necessary to properly create
the stringified JSON input object for execution.
Modes:
- GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't
already have it. Do NOT call repeatedly if you already received
the schema.
- EXECUTE: Performs the operation with the provided request body
JSON.
If you need the schema, call with mode='get_request_schema' ONCE, then execute. | |||
Deletes multiple customer profiles at once.
Use this tool to remove several customer profiles in a single action by providing their IDs. It returns a map of responses detailing the outcome for each profile. | |||
Delete custom attributes for multiple locations at once.
This tool deletes custom attributes for locations in bulk. It is used when the visibility setting is 'VISIBILITY_READ_WRITE_VALUES', allowing the deletion of attributes owned by other applications.
Note: Understanding the request schema is necessary to properly create
the stringified JSON input object for execution.
Modes:
- GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't
already have it. Do NOT call repeatedly if you already received
the schema.
- EXECUTE: Performs the operation with the provided request body
JSON.
If you need the schema, call with mode='get_request_schema' ONCE, then execute. | |||
Bulk delete custom attributes for a merchant.
Use this tool to delete custom attributes for a merchant in bulk. It can only delete attributes with 'VISIBILITY_READ_WRITE_VALUES' if owned by another application.
Note: Understanding the request schema is necessary to properly create
the stringified JSON input object for execution.
Modes:
- GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't
already have it. Do NOT call repeatedly if you already received
the schema.
- EXECUTE: Performs the operation with the provided request body
JSON.
If you need the schema, call with mode='get_request_schema' ONCE, then execute. | |||
Perform bulk deletion of custom attributes from orders.
Use this tool to delete multiple custom attributes from one or more orders in bulk. It processes a map of delete requests and returns a map of responses, each paired with a request ID.
Note: Understanding the request schema is necessary to properly create
the stringified JSON input object for execution.
Modes:
- GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't
already have it. Do NOT call repeatedly if you already received
the schema.
- EXECUTE: Performs the operation with the provided request body
JSON.
If you need the schema, call with mode='get_request_schema' ONCE, then execute. | |||
Publish multiple scheduled shifts in bulk.
Use this tool to publish between 1 to 100 scheduled shifts at once. It processes a map of individual publish requests and provides corresponding responses. Ensure all shifts have start and end times within a two-week window.
Note: Understanding the request schema is necessary to properly create
the stringified JSON input object for execution.
Modes:
- GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't
already have it. Do NOT call repeatedly if you already received
the schema.
- EXECUTE: Performs the operation with the provided request body
JSON.
If you need the schema, call with mode='get_request_schema' ONCE, then execute. | |||
Retrieve multiple bookings using booking IDs.
This tool retrieves a list of bookings by their IDs. It requires appropriate OAuth scopes for buyer or seller level permissions. | |||
Retrieve multiple customer profiles using IDs.
Use this tool to fetch detailed customer profiles by providing a list of customer IDs. It is useful for applications needing to access multiple customer data at once. | |||
Schedule a plan variation swap for multiple subscriptions.
This tool schedules a swap of plan variations for all active subscriptions under a specified plan variation. It is used when there is a need to change the plan variation for multiple subscriptions simultaneously. | |||
Update multiple team members in bulk.
This tool updates multiple team member objects at once. It should be called when you need to perform bulk updates to team members. While processing, if any updates fail, the tool still returns the updated members along with specific error details for the failed attempts.
Note: Understanding the request schema is necessary to properly create
the stringified JSON input object for execution.
Modes:
- GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't
already have it. Do NOT call repeatedly if you already received
the schema.
- EXECUTE: Performs the operation with the provided request body
JSON.
If you need the schema, call with mode='get_request_schema' ONCE, then execute. | |||
Update multiple vendor records simultaneously.
Use this tool to update details of multiple vendors at once. It modifies existing vendor records that are suppliers to a seller, streamlining vendor management tasks.
Note: Understanding the request schema is necessary to properly create
the stringified JSON input object for execution.
Modes:
- GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't
already have it. Do NOT call repeatedly if you already received
the schema.
- EXECUTE: Performs the operation with the provided request body
JSON.
If you need the schema, call with mode='get_request_schema' ONCE, then execute. | |||
Bulk upserts custom attributes for bookings.
Use this tool to update or insert multiple custom attributes for bookings at once. Requires specific OAuth permissions depending on whether you operate at the buyer or seller level. Ensure sellers are subscribed to necessary service tiers.
Note: Understanding the request schema is necessary to properly create
the stringified JSON input object for execution.
Modes:
- GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't
already have it. Do NOT call repeatedly if you already received
the schema.
- EXECUTE: Performs the operation with the provided request body
JSON.
If you need the schema, call with mode='get_request_schema' ONCE, then execute. | |||
Bulk create or update custom attributes for customer profiles.
Use this tool to set or update the value of custom attributes for multiple customer profiles in a Square seller account. It handles up to 25 upsert requests, returning responses mapped to their request IDs. Useful for managing multiple custom attributes at once.
Note: Understanding the request schema is necessary to properly create
the stringified JSON input object for execution.
Modes:
- GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't
already have it. Do NOT call repeatedly if you already received
the schema.
- EXECUTE: Performs the operation with the provided request body
JSON.
If you need the schema, call with mode='get_request_schema' ONCE, then execute. |
Selected tools
No tools selected.
Click "Show all tools" to add tools.
Requirements
Select tools to see requirements
SquareupApi.AcceptDisputeLoss
Accept the loss on a dispute and update its status to ACCEPTED. This tool should be called when you need to accept the loss on a dispute for a transaction. It updates the dispute state to ACCEPTED and returns the disputed amount to the cardholder. Square debits the corresponding amount from the seller's account. Use this when a dispute resolution is finalized, and the seller agrees to the loss.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
dispute_id | string | Required | The unique ID of the dispute to accept and resolve. |
Requirements
Output
json— Response from the API endpoint 'AcceptDispute'.SquareupApi.AccumulateLoyaltyPoints
Add points to a loyalty account for a purchase. This tool adds loyalty points to a customer's account following a purchase. It can be used with or without the Orders API. If using the Orders API, provide the `order_id` for automatic point calculation based on the program and promotions. If not, manually compute and provide the `points` to add.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
loyalty_account_id | string | Required | The unique identifier for the target loyalty account to which points will be added. |
purchase_location_id | string | Required | The ID of the location where the purchase was made, necessary for loyalty point accumulation. |
unique_request_id | string | Required | A unique string identifier for the `AccumulateLoyaltyPoints` request. Must be unique for each request to ensure idempotency. |
loyalty_program_id | string | Optional | The ID of the loyalty program to add points to. Required to identify the correct program. |
order_id_for_accumulation | string | Optional | The ID of the order for which points are accumulated. Required if using the Orders API. |
points_to_accumulate | integer | Optional | Specify the number of points to add to the loyalty account from the purchase event if not using the Orders API. |
Requirements
Output
json— Response from the API endpoint 'AccumulateLoyaltyPoints'.SquareupApi.ActivateDomainForApplePay
Activates a domain for use with Apple Pay and Square. Use this tool to activate a domain for Apple Pay on the Web with Square. It performs a validation to ensure the domain is Apple Pay enabled, allowing platforms to bulk activate Apple Pay for their merchants. Ensure a valid domain verification file is hosted as per the guidelines.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
apple_pay_domain_name | string | Required | Enter the domain name, as per RFC-1034, to register it with Apple Pay. |
Requirements
Output
json— Response from the API endpoint 'RegisterDomain'.SquareupApi.AddCardToMerchant
Adds a card on file to an existing merchant. This tool is used to store a new card on file for an existing merchant, facilitating future transactions. It provides confirmation once the card is successfully added. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
mode | string | Required | Operation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operationget_request_schemaexecute |
request_body | string | Optional | Stringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema' |
Requirements
Output
json— Response from the API endpoint 'CreateCard'.SquareupApi.AddGroupToCustomer
Adds a customer to a specified group. Use this tool to assign a customer to a specific group using their customer ID and the group ID. This helps in categorizing customers into different groups for better management.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
customer_group_id | string | Required | The unique identifier of the group to which the customer will be added. This is necessary to specify the exact group for categorization purposes. |
customer_id | string | Required | The unique identifier of the customer to be added to the specified group. |
Requirements
Output
json— Response from the API endpoint 'AddGroupToCustomer'.SquareupApi.AddOrUpdateSquareOnlineSnippet
Add or update a snippet on a Square Online site. This tool adds a new snippet to or updates an existing snippet on a Square Online site's `head` element. It excludes checkout pages and requires the site's ID. Use ListSites to find site IDs.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
site_id_for_snippet | string | Required | The ID of the site where you want to add or update the snippet. Obtained through ListSites function. |
snippet_code_content | string | Required | The code snippet to add or update, which can include valid HTML, JavaScript, or both. This will be appended to the head element of all site pages except checkout pages. |
snippet_id | string | Optional | The Square-assigned ID for the snippet to add or update. |
snippet_initial_creation_timestamp | string | Optional | The timestamp indicating when the snippet was initially added to the site, in RFC 3339 format. |
snippet_last_updated_timestamp | string | Optional | The timestamp for when the snippet was last updated on the site, in RFC 3339 format. |
snippet_site_id | string | Optional | The ID of the site that contains the snippet to be updated or added. |
Requirements
Output
json— Response from the API endpoint 'UpsertSnippet'.SquareupApi.AdjustLoyaltyPoints
Manually adjust loyalty points for a buyer's account. Use this tool to manually add or subtract loyalty points from a buyer's account when automatic accumulation is not applied. Ideal for scenarios requiring manual point corrections.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
loyalty_account_id | string | Required | The unique ID of the buyer's loyalty account to adjust. |
points_adjustment_amount | integer | Required | The number of points to add or remove from the buyer's account. |
unique_request_identifier | string | Required | A unique string to identify this loyalty points adjustment request. Must be unique for each request to prevent duplicates. |
adjustment_reason | string | Optional | The reason for adjusting the loyalty points, such as 'customer courtesy' or 'error correction'. |
allow_negative_balance | boolean | Optional | Set to true to allow a negative balance after point subtraction. Defaults to false if not specified. |
loyalty_program_id | string | Optional | The Square-assigned ID of the loyalty program to adjust points for. |
Requirements
Output
json— Response from the API endpoint 'AdjustLoyaltyPoints'.SquareupApi.ApplyInventoryAdjustments
Apply batch adjustments to inventory quantities. Use this tool to apply inventory adjustments and counts to item quantities. Returns updated quantities on success, or a list of errors if the operation fails. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
mode | string | Required | Operation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operationget_request_schemaexecute |
request_body | string | Optional | Stringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema' |
Requirements
Output
json— Response from the API endpoint 'BatchChangeInventory'.SquareupApi.BatchUpsertCatalogObjects
Batch create or update up to 10,000 catalog objects. The tool creates or updates catalog objects in batches, each containing up to 1,000 objects. It's an all-or-nothing operation for each batch, meaning if one object in a batch is invalid, the entire batch fails. The tool ensures consistency by processing one update request at a time per seller account. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
mode | string | Required | Operation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operationget_request_schemaexecute |
request_body | string | Optional | Stringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema' |
Requirements
Output
json— Response from the API endpoint 'BatchUpsertCatalogObjects'.SquareupApi.BulkCreateCustomers
Create multiple customer profiles in bulk. Use this tool to create multiple customer profiles for a business at once. You need to provide at least one identifying value for each customer, such as given name, family name, company name, email address, or phone number. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
mode | string | Required | Operation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operationget_request_schemaexecute |
request_body | string | Optional | Stringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema' |
Requirements
Output
json— Response from the API endpoint 'BulkCreateCustomers'.SquareupApi.BulkCreateTeamMembers
Create multiple team members in bulk. Use this tool to create multiple team member records at once. It processes each creation individually and returns details for successful operations, along with error information for any failures. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
mode | string | Required | Operation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operationget_request_schemaexecute |
request_body | string | Optional | Stringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema' |
Requirements
Output
json— Response from the API endpoint 'BulkCreateTeamMembers'.SquareupApi.BulkCreateVendors
Create multiple vendor profiles for suppliers. Use this tool to create one or more vendor profiles, representing suppliers for a seller, in bulk. Ideal for onboarding multiple vendors at once. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
mode | string | Required | Operation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operationget_request_schemaexecute |
request_body | string | Optional | Stringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema' |
Requirements
Output
json— Response from the API endpoint 'BulkCreateVendors'.SquareupApi.BulkDeleteBookingCustomAttributes
Bulk delete custom attributes for bookings. Use this tool to delete multiple custom attributes associated with bookings in bulk. Ensure the proper OAuth permissions are set: 'APPOINTMENTS_WRITE' for buyer-level and both 'APPOINTMENTS_ALL_WRITE' and 'APPOINTMENTS_WRITE' for seller-level. Requires an active subscription to 'Appointments Plus' or 'Appointments Premium' for seller-level actions. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
mode | string | Required | Operation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operationget_request_schemaexecute |
request_body | string | Optional | Stringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema' |
Requirements
Output
json— Response from the API endpoint 'BulkDeleteBookingCustomAttributes'.SquareupApi.BulkDeleteCustomers
Deletes multiple customer profiles at once. Use this tool to remove several customer profiles in a single action by providing their IDs. It returns a map of responses detailing the outcome for each profile.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
customer_profile_ids | array<string> | Required | Array of customer profile IDs to be deleted. |
Requirements
Output
json— Response from the API endpoint 'BulkDeleteCustomers'.SquareupApi.BulkDeleteLocationCustomAttributes
Delete custom attributes for multiple locations at once. This tool deletes custom attributes for locations in bulk. It is used when the visibility setting is 'VISIBILITY_READ_WRITE_VALUES', allowing the deletion of attributes owned by other applications. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
mode | string | Required | Operation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operationget_request_schemaexecute |
request_body | string | Optional | Stringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema' |
Requirements
Output
json— Response from the API endpoint 'BulkDeleteLocationCustomAttributes'.SquareupApi.BulkDeleteMerchantCustomAttributes
Bulk delete custom attributes for a merchant. Use this tool to delete custom attributes for a merchant in bulk. It can only delete attributes with 'VISIBILITY_READ_WRITE_VALUES' if owned by another application. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
mode | string | Required | Operation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operationget_request_schemaexecute |
request_body | string | Optional | Stringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema' |
Requirements
Output
json— Response from the API endpoint 'BulkDeleteMerchantCustomAttributes'.SquareupApi.BulkDeleteOrderCustomAttributes
Perform bulk deletion of custom attributes from orders. Use this tool to delete multiple custom attributes from one or more orders in bulk. It processes a map of delete requests and returns a map of responses, each paired with a request ID. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
mode | string | Required | Operation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operationget_request_schemaexecute |
request_body | string | Optional | Stringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema' |
Requirements
Output
json— Response from the API endpoint 'BulkDeleteOrderCustomAttributes'.SquareupApi.BulkPublishScheduledShifts
Publish multiple scheduled shifts in bulk. Use this tool to publish between 1 to 100 scheduled shifts at once. It processes a map of individual publish requests and provides corresponding responses. Ensure all shifts have start and end times within a two-week window. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
mode | string | Required | Operation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operationget_request_schemaexecute |
request_body | string | Optional | Stringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema' |
Requirements
Output
json— Response from the API endpoint 'BulkPublishScheduledShifts'.SquareupApi.BulkRetrieveBookings
Retrieve multiple bookings using booking IDs. This tool retrieves a list of bookings by their IDs. It requires appropriate OAuth scopes for buyer or seller level permissions.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
booking_ids | array<string> | Required | A non-empty list of booking IDs to retrieve the corresponding bookings. |
Requirements
Output
json— Response from the API endpoint 'BulkRetrieveBookings'.SquareupApi.BulkRetrieveCustomers
Retrieve multiple customer profiles using IDs. Use this tool to fetch detailed customer profiles by providing a list of customer IDs. It is useful for applications needing to access multiple customer data at once.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
customer_ids | array<string> | Required | List of customer profile IDs to retrieve. |
Requirements
Output
json— Response from the API endpoint 'BulkRetrieveCustomers'.SquareupApi.BulkSwapSubscriptionPlan
Schedule a plan variation swap for multiple subscriptions. This tool schedules a swap of plan variations for all active subscriptions under a specified plan variation. It is used when there is a need to change the plan variation for multiple subscriptions simultaneously.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
location_id_association | string | Required | The ID of the location to associate with the swapped subscriptions. This specifies where the subscription changes are applied. |
new_plan_variation_id | string | Required | The ID of the new subscription plan variation for the swap. This field is required. |
old_plan_variation_id | string | Required | The ID of the current plan variation to swap. Active subscriptions using this plan will switch to the new variation on their next billing day. |
Requirements
Output
json— Response from the API endpoint 'BulkSwapPlan'.SquareupApi.BulkUpdateTeamMembers
Update multiple team members in bulk. This tool updates multiple team member objects at once. It should be called when you need to perform bulk updates to team members. While processing, if any updates fail, the tool still returns the updated members along with specific error details for the failed attempts. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
mode | string | Required | Operation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operationget_request_schemaexecute |
request_body | string | Optional | Stringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema' |
Requirements
Output
json— Response from the API endpoint 'BulkUpdateTeamMembers'.SquareupApi.BulkUpdateVendors
Update multiple vendor records simultaneously. Use this tool to update details of multiple vendors at once. It modifies existing vendor records that are suppliers to a seller, streamlining vendor management tasks. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
mode | string | Required | Operation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operationget_request_schemaexecute |
request_body | string | Optional | Stringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema' |
Requirements
Output
json— Response from the API endpoint 'BulkUpdateVendors'.SquareupApi.BulkUpsertBookingCustomAttributes
Bulk upserts custom attributes for bookings. Use this tool to update or insert multiple custom attributes for bookings at once. Requires specific OAuth permissions depending on whether you operate at the buyer or seller level. Ensure sellers are subscribed to necessary service tiers. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
mode | string | Required | Operation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operationget_request_schemaexecute |
request_body | string | Optional | Stringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema' |
Requirements
Output
json— Response from the API endpoint 'BulkUpsertBookingCustomAttributes'.SquareupApi.BulkUpsertCustomerAttributes
Bulk create or update custom attributes for customer profiles. Use this tool to set or update the value of custom attributes for multiple customer profiles in a Square seller account. It handles up to 25 upsert requests, returning responses mapped to their request IDs. Useful for managing multiple custom attributes at once. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
mode | string | Required | Operation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operationget_request_schemaexecute |
request_body | string | Optional | Stringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema' |
Requirements
Output
json— Response from the API endpoint 'BulkUpsertCustomerCustomAttributes'.SquareupApi.BulkUpsertLocationCustomAttributes
Bulk create or update custom attributes for multiple locations. This tool is used to create or update custom attributes for multiple locations in a Square seller account. It handles multiple upsert requests simultaneously, allowing you to efficiently manage location-specific data. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
mode | string | Required | Operation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operationget_request_schemaexecute |
request_body | string | Optional | Stringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema' |
Requirements
Output
json— Response from the API endpoint 'BulkUpsertLocationCustomAttributes'.SquareupApi.BulkUpsertOrderCustomAttributes
Perform bulk create or update of order custom attributes. This tool allows for creating or updating order custom attributes in bulk. It can handle up to 25 requests at once, each identified uniquely, and provides responses for each request. It is used to manage custom attributes based on definitions in a Square seller account, and may also delete attributes. Use this when multiple order custom attributes need simultaneous updating or creation. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
mode | string | Required | Operation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operationget_request_schemaexecute |
request_body | string | Optional | Stringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema' |
Requirements
Output
json— Response from the API endpoint 'BulkUpsertOrderCustomAttributes'.SquareupApi.CalculateLoyaltyPoints
Calculate loyalty points a buyer can earn from a purchase. Use this tool to determine the number of loyalty points to reward a buyer after a purchase. Provide either the `order_id` or `transaction_amount_money` to calculate points based on the order or purchase amount, respectively. Points calculation considers the base loyalty program, and possibly a loyalty promotion if applicable.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
loyalty_program_id | string | Required | The ID of the loyalty program, defining the rules for accruing points. |
currency_code | string | Optional | Indicates the associated currency for an amount of money using ISO 4217 codes. For example, 'USD' for United States Dollar. |
loyalty_account_id | string | Optional | The ID of the target loyalty account. Optionally specify if using the Orders API. Determines promotion point eligibility based on trigger limits. |
order_id | string | Optional | The Order ID used to calculate points. Provide this if using the Orders API. Otherwise, use transaction_amount_money. |
transaction_amount_in_smallest_denomination | integer | Optional | The amount of money for the transaction, given in the smallest denomination of the currency (e.g., cents for USD). |
Requirements
Output
json— Response from the API endpoint 'CalculateLoyaltyPoints'.SquareupApi.CancelBooking
Cancel an existing booking. Call this tool to cancel a booking using its unique ID. Requires specific OAuth permissions depending on user level. For seller-level cancellations, an Appointments Plus or Premium subscription is necessary.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
booking_id | string | Required | The unique ID of the booking to be canceled. This ID is required to identify which booking to cancel. |
booking_revision_number | integer | Optional | The current revision number of the booking for optimistic concurrency control. |
idempotency_key | string | Optional | Unique key to ensure the request is idempotent and prevents duplicate operations. |
Requirements
Output
json— Response from the API endpoint 'CancelBooking'.SquareupApi.CancelInvoice
Cancel an invoice to prevent further transactions. This tool cancels an invoice, ensuring that no payments can be collected. It cannot be used for invoices in the `DRAFT`, `PAID`, `REFUNDED`, `CANCELED`, or `FAILED` states.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
invoice_id | string | Required | The ID of the invoice you want to cancel. This is required to specify which invoice will be affected. |
invoice_version_to_cancel | integer | Required | The version number of the invoice to be canceled. Use GetInvoice or ListInvoices to find it if unknown. |
Requirements
Output
json— Response from the API endpoint 'CancelInvoice'.SquareupApi.CancelLoyaltyPromotion
Cancels an active or scheduled loyalty promotion early. Use this tool to cancel a loyalty promotion that is currently active or scheduled, either earlier than its end date or if no end date is specified.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
loyalty_program_id | string | Required | The unique ID of the base loyalty program to identify which program the promotion is associated with. |
loyalty_promotion_id | string | Required | The ID of the loyalty promotion to cancel, which can be 'ACTIVE' or 'SCHEDULED'. |
Requirements
Output
json— Response from the API endpoint 'CancelLoyaltyPromotion'.SquareupApi.CancelPayment
Cancel or void an approved payment. Use this tool to cancel a payment that has an APPROVED status. Ideal for reversing payments that should not proceed.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
payment_id_to_cancel | string | Required | The unique identifier of the payment to be canceled. Must have an APPROVED status. |
Requirements
Output
json— Response from the API endpoint 'CancelPayment'.SquareupApi.CancelPaymentByIdempotency
Cancel a payment by idempotency key when status is unknown. Use this tool to cancel a payment when a CreatePayment request status is uncertain, typically due to network issues. Provide the same idempotency key used in the original CreatePayment request. If no payment is found, the tool confirms no action was taken.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
payment_idempotency_key | string | Required | The idempotency key used to identify the payment to cancel. It should match the key used in the original CreatePayment request. |
Requirements
Output
json— Response from the API endpoint 'CancelPaymentByIdempotencyKey'.SquareupApi.CancelSubscription
Cancel an active subscription at the end of the billing period. This tool schedules a cancellation for an active subscription, setting the cancellation date to the end of the current billing cycle. After this date, the subscription changes from ACTIVE to CANCELED.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
subscription_id | string | Required | The unique ID of the subscription to be canceled. Required for scheduling the cancellation action. |
Requirements
Output
json— Response from the API endpoint 'CancelSubscription'.SquareupApi.CancelTerminalAction
Cancel a terminal action request if possible. This tool cancels a terminal action request with SquareUp if the current status allows it. Use it when you need to abort a terminal action that is still pending or in progress.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
terminal_action_id | string | Required | Unique ID for the `TerminalAction` you want to cancel. This ID helps target the specific action to abort. |
Requirements
Output
json— Response from the API endpoint 'CancelTerminalAction'.SquareupApi.CancelTerminalCheckout
Cancel a terminal checkout request if possible. Use this tool to cancel an ongoing Terminal checkout request if its status allows for cancellation.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
terminal_checkout_id | string | Required | The unique ID for the desired TerminalCheckout to be canceled. |
Requirements
Output
json— Response from the API endpoint 'CancelTerminalCheckout'.SquareupApi.CancelTerminalRefund
Cancel a terminal refund request by its ID. Use this tool to cancel a terminal refund request when the status allows for cancellation. Provide the refund request ID to execute the cancellation.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
refund_request_id | string | Required | The unique ID of the terminal refund request to cancel. |
Requirements
Output
json— Response from the API endpoint 'CancelTerminalRefund'.SquareupApi.CancelTransferOrder
Cancel a transfer order in progress for inventory locations. Use this tool to cancel a transfer order that is in either STARTED or PARTIALLY_RECEIVED status. This is useful in situations where items are no longer needed at the destination, the source location requires the inventory, or if the order was created by mistake. Cancelling the order will update inventory levels and trigger a transfer_order.updated webhook event.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
transfer_order_id | string | Required | The ID of the transfer order to cancel. The order must be in STARTED or PARTIALLY_RECEIVED status. |
unique_request_key | string | Required | A unique string to identify this request. Must be unique for each UpdateTransferOrder request. |
transfer_order_version | integer | Optional | Provide the version number for optimistic concurrency when canceling the transfer order. |
Requirements
Output
json— Response from the API endpoint 'CancelTransferOrder'.SquareupApi.ChangeBillingAnchorDate
Change the billing anchor date for a subscription. Use this tool to modify the billing anchor date for a specific subscription. This can be useful for adjusting billing cycles and ensuring proper timing for subscription charges.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
subscription_id | string | Required | The ID of the subscription for which the billing anchor date will be updated. |
billing_anchor_day | integer | Optional | The day (1-31) of the month to set as the billing anchor for the cycle. |
scheduled_billing_anchor_change_date | string | Optional | The `YYYY-MM-DD`-formatted date when the `BILLING_ANCHOR_CHANGE` action occurs. If unspecified or within current billing cycle, change is immediate. |
Requirements
Output
json— Response from the API endpoint 'ChangeBillingAnchorDate'.SquareupApi.CloneOrderDraft
Clone an existing order as a draft. This tool creates a new order in the DRAFT state by duplicating an existing order. It copies core fields such as line items, taxes, and discounts from the original order.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
order_id_to_clone | string | Required | The ID of the order you want to clone. |
clone_request_idempotency_key | string | Optional | A unique string to identify the clone request. Allows safe retries without duplicating cloned orders. |
order_version | integer | Optional | An optional integer specifying the order version for concurrency protection. If omitted, the latest version is used. |
Requirements
Output
json— Response from the API endpoint 'CloneOrder'.SquareupApi.CompletePayment
Complete an approved payment using Squareup. Use this tool to complete or capture a payment with an 'APPROVED' status, finalizing the transaction.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
payment_identifier | string | Required | The unique ID identifying the payment to be completed. This is required for completing a payment with an 'APPROVED' status. |
current_payment_version_token | string | Optional | The token identifying the current Payment version for optimistic concurrency. It ensures the Payment version matches the caller's expectations to prevent mismatches. |
Requirements
Output
json— Response from the API endpoint 'CompletePayment'.SquareupApi.CreateBooking
Create a new booking for a service. This tool creates a booking using specified details like location, start time, team member, and service variation. Ideal for scheduling appointments with buyer or seller permissions, ensuring necessary subscriptions are met. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
mode | string | Required | Operation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operationget_request_schemaexecute |
request_body | string | Optional | Stringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema' |
Requirements
Output
json— Response from the API endpoint 'CreateBooking'.SquareupApi.CreateBreakType
Create a new BreakType template for a location. This tool creates a new BreakType, which is a template for establishing Break objects. Required inputs include location ID, break name, expected duration, and payment status. Note that each location can have a maximum of three BreakType instances.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
break_expected_duration | string | Required | The expected length of the break in RFC-3339 duration format (e.g., PT15M for 15 minutes). |
break_name | string | Required | A human-readable name for the break type, displayed to team members. |
is_break_paid | boolean | Required | Indicates if the break counts towards compensated work time. Use true for a paid break, false for an unpaid break. |
location_id | string | Required | The ID of the business location where this break type will apply. It is required to associate the break type with a specific location. |
break_type_uuid | string | Optional | The UUID for the BreakType object. It uniquely identifies the break type. |
concurrency_version | integer | Optional | Integer for resolving concurrency issues; fails if it doesn't match server version. |
created_at_timestamp | string | Optional | A read-only timestamp in RFC 3339 format, automatically populated and not required for input. |
idempotency_key | string | Optional | A unique string to ensure the operation is idempotent, avoiding duplicate actions. |
updated_at_timestamp | string | Optional | A read-only timestamp in RFC 3339 format indicating when the BreakType was last updated. |
Requirements
Output
json— Response from the API endpoint 'CreateBreakType'.SquareupApi.CreateCustomer
Creates a new customer for a business in Square. This tool is used to create a new customer profile for a business in Square. You must provide at least one of the following details: given name, family name, company name, email address, or phone number. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
mode | string | Required | Operation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operationget_request_schemaexecute |
request_body | string | Optional | Stringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema' |
Requirements
Output
json— Response from the API endpoint 'CreateCustomer'.SquareupApi.CreateCustomerGroup
Creates a new customer group for a business. Use this tool to create a new customer group by specifying the group's name. It should be called when a business needs to organize customers into a new group for targeted marketing or management purposes.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
customer_group_name | string | Required | The name of the customer group to be created. It is required for organizing customers into the group. |
customer_group_id | string | Optional | A unique Square-generated ID for the customer group. This is automatically generated by Square and is used to identify the customer group. |
group_created_timestamp | string | Optional | Specify the timestamp for when the customer group was created, in RFC 3339 format. |
group_last_updated_time | string | Optional | The timestamp when the customer group was last updated, in RFC 3339 format. |
idempotency_key | string | Optional | A unique string to ensure the request is processed only once. See [Idempotency](https://developer.squareup.com/docs/build-basics/common-api-patterns/idempotency). |
Requirements
Output
json— Response from the API endpoint 'CreateCustomerGroup'.SquareupApi.CreateCustomerSubscription
Enroll a customer in a subscription plan. This tool enrolls a customer in a subscription, either charging a card on file or sending an invoice to the customer's email. The subscription can start immediately or on a specified start date and is linked to a specific location. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
mode | string | Required | Operation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operationget_request_schemaexecute |
request_body | string | Optional | Stringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema' |
Requirements
Output
json— Response from the API endpoint 'CreateSubscription'.SquareupApi.CreateDraftInvoice
Create a draft invoice for an order using Squareup. This tool creates a draft invoice for an order via Squareup. The invoice remains in draft status until published, at which point it can be emailed to the customer or a card on file can be charged. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
mode | string | Required | Operation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operationget_request_schemaexecute |
request_body | string | Optional | Stringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema' |
Requirements
Output
json— Response from the API endpoint 'CreateInvoice'.SquareupApi.CreateGiftCard
Create and register digital or physical gift cards. This tool creates a digital or registers a physical gift card in a pending state. To activate the gift card for purchases, further action is needed using CreateGiftCardActivity for activation or RefundPayment for refunds. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
mode | string | Required | Operation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operationget_request_schemaexecute |
request_body | string | Optional | Stringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema' |
Requirements
Output
json— Response from the API endpoint 'CreateGiftCard'.SquareupApi.CreateGiftCardActivity
Creates a gift card activity to manage gift card balance or state. Use this tool to create activities such as activation for gift cards, to manage their balance or state. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
mode | string | Required | Operation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operationget_request_schemaexecute |
request_body | string | Optional | Stringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema' |
Requirements
Output
json— Response from the API endpoint 'CreateGiftCardActivity'.SquareupApi.CreateJobInSellerAccount
Create a job for a seller account. This tool is used to create a job in a seller's account, specifying the job title and its tip eligibility. It should be called when you need to define a new job role for team members in a seller's business operations.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
unique_creation_request_id | string | Required | A unique string to identify the `CreateJob` request, ensuring it is not processed multiple times. |
is_tip_eligible | boolean | Optional | Indicates whether team members can earn tips for the job. Accepts a boolean value. |
job_creation_timestamp | string | Optional | The timestamp for when the job was created, in RFC 3339 format. |
job_id | string | Optional | Unique Square-assigned job ID. This is read-only and used internally by Square. |
job_last_updated_timestamp | string | Optional | The timestamp indicating when the job was last updated, in RFC 3339 format. |
job_title | string | Optional | The title of the job to be created in the seller's account. |
job_version_readonly | integer | Optional | Read-only field for the current version of the job, used for optimistic concurrency in `UpdateJob` requests. |
Requirements
Output
json— Response from the API endpoint 'CreateJob'.SquareupApi.CreateLoyaltyAccount
Create a loyalty account for a buyer. Create a loyalty account by providing a program ID and buyer's phone number mapping. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
mode | string | Required | Operation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operationget_request_schemaexecute |
request_body | string | Optional | Stringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema' |
Requirements
Output
json— Response from the API endpoint 'CreateLoyaltyAccount'.SquareupApi.CreateLoyaltyPromotion
Create a new loyalty promotion for a program. This tool creates a loyalty promotion within a specified loyalty program, allowing buyers to earn additional points. It sets the promotion to either 'ACTIVE' or 'SCHEDULED' based on the available time setting. A program can have up to 10 active or scheduled promotions. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
mode | string | Required | Operation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operationget_request_schemaexecute |
loyalty_program_id | string | Optional | The ID of the loyalty program to associate with the promotion. Use the RetrieveLoyaltyProgram endpoint with the 'main' keyword to obtain it. Required when mode is 'execute', ignored when mode is 'get_request_schema'. |
request_body | string | Optional | Stringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema' |
Requirements
Output
json— Response from the API endpoint 'CreateLoyaltyPromotion'.SquareupApi.CreateLoyaltyReward
Create a loyalty reward by locking points for a customer. This tool creates a loyalty reward by using a specified reward tier ID to lock points. Optionally, it can add the reward and related discount to an existing order if an order ID is provided. After creation, the points are locked and unavailable for redemption.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
loyalty_account_id | string | Required | The Square-assigned ID of the loyalty account to which the reward belongs. |
reward_tier_id | string | Required | The Square-assigned ID of the reward tier used to create the loyalty reward. |
unique_request_key | string | Required | A unique string that identifies this CreateLoyaltyReward request. Must be unique for each request to prevent duplication. |
loyalty_reward_id | string | Optional | The Square-assigned ID of the loyalty reward to be created or referenced. |
loyalty_reward_status | string | Optional | The status of the loyalty reward. Possible values: 'ISSUED', 'REDEEMED', 'DELETED'. |
number_of_loyalty_points | integer | Optional | The number of loyalty points to use for creating the reward. |
order_id | string | Optional | The Square-assigned ID of the order to which the reward is attached. Optional if no order is involved. |
reward_creation_timestamp | string | Optional | The timestamp when the reward was created, in RFC 3339 format. This indicates the date and time of reward creation. |
reward_last_updated_timestamp | string | Optional | The timestamp when the reward was last updated, in RFC 3339 format. |
reward_redeemed_timestamp | string | Optional | The timestamp when the reward was redeemed, in RFC 3339 format. This value indicates the moment the reward was used. |
Requirements
Output
json— Response from the API endpoint 'CreateLoyaltyReward'.SquareupApi.CreateNewLocation
Create a new location for sales and configuration. This tool creates a new location using the Square Locations API. It's useful for setting up separate configurations for receipt layouts, item prices, and sales reports. Ideal for developers integrating Square with their applications to manage distinct sales activities. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
mode | string | Required | Operation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operationget_request_schemaexecute |
request_body | string | Optional | Stringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema' |
Requirements
Output
json— Response from the API endpoint 'CreateLocation'.SquareupApi.CreateOrderForPurchase
Creates a new order for purchase with product details. Use this tool to create a new order, specifying products and settings for purchase. This tool is ideal for initiating a purchase order that includes specific product information. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
mode | string | Required | Operation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operationget_request_schemaexecute |
request_body | string | Optional | Stringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema' |
Requirements
Output
json— Response from the API endpoint 'CreateOrder'.SquareupApi.CreatePayment
Create a payment using credit/debit card or other sources. This tool is used to create a payment through a specified source, such as a credit/debit card or to record an external payment. It returns the details of the payment created. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
mode | string | Required | Operation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operationget_request_schemaexecute |
request_body | string | Optional | Stringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema' |
Requirements
Output
json— Response from the API endpoint 'CreatePayment'.SquareupApi.CreatePaymentLink
Create a Square-hosted checkout page for payments. Use this tool to generate a Square-hosted payment link which can be shared with buyers to facilitate payments for goods and services. Ideal for businesses needing a simple online payment solution. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
mode | string | Required | Operation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operationget_request_schemaexecute |
request_body | string | Optional | Stringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema' |
Requirements
Output
json— Response from the API endpoint 'CreatePaymentLink'.SquareupApi.CreateScheduledShift
Create a scheduled shift with draft shift details. Use this tool to create a scheduled shift by providing necessary draft shift details such as location ID, job ID, and start and end times. It returns the details of the created shift. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
mode | string | Required | Operation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operationget_request_schemaexecute |
request_body | string | Optional | Stringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema' |
Requirements
Output
json— Response from the API endpoint 'CreateScheduledShift'.SquareupApi.CreateSquareTerminalDeviceCode
Generate a DeviceCode for Square Terminal login. Creates a code for logging into a Square Terminal device in connected terminal mode. Useful for setting up devices for point-of-sale operations. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
mode | string | Required | Operation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operationget_request_schemaexecute |
request_body | string | Optional | Stringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema' |
Requirements
Output
json— Response from the API endpoint 'CreateDeviceCode'.SquareupApi.CreateTeamMember
Create a new team member with given and family names. This tool is used to create a single TeamMember object by providing the required given name and family name. It returns the created TeamMember object upon success. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
mode | string | Required | Operation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operationget_request_schemaexecute |
request_body | string | Optional | Stringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema' |
Requirements
Output
json— Response from the API endpoint 'CreateTeamMember'.SquareupApi.CreateTeamMemberTimecard
Create a timecard for a team member's workday. This tool creates a new timecard representing a full workday for a specified team member. Use it when you need to log work hours for employees. Ensure no existing open timecard for the member, that the start time isn't future-dated, and that it doesn't overlap with other timecards. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
mode | string | Required | Operation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operationget_request_schemaexecute |
request_body | string | Optional | Stringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema' |
Requirements
Output
json— Response from the API endpoint 'CreateTimecard'.SquareupApi.CreateTerminalAction
Create and send a terminal action request to a device. This tool creates a terminal action request and sends it to the specified device using the SquareUp API. It should be called when you need to initiate an action on a terminal device. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
mode | string | Required | Operation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operationget_request_schemaexecute |
request_body | string | Optional | Stringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema' |
Requirements
Output
json— Response from the API endpoint 'CreateTerminalAction'.SquareupApi.CreateTerminalCheckout
Create a Terminal checkout request for payment. Initiates a Terminal checkout request to process a payment on a specified device using Square's Terminal API. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
mode | string | Required | Operation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operationget_request_schemaexecute |
request_body | string | Optional | Stringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema' |
Requirements
Output
json— Response from the API endpoint 'CreateTerminalCheckout'.SquareupApi.CreateTerminalRefund
Creates a refund request for Interac payments on Square Terminal. This tool creates a request to refund an Interac payment completed on a Square Terminal. It is specifically for Interac debit card payments in Canada. For other types of refunds, use the Refunds API. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
mode | string | Required | Operation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operationget_request_schemaexecute |
request_body | string | Optional | Stringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema' |
Requirements
Output
json— Response from the API endpoint 'CreateTerminalRefund'.SquareupApi.CreateTransferOrder
Create a draft transfer order between locations. This tool creates a new transfer order in DRAFT status to move CatalogItemVariations between different locations within a Square account. It should be called when there's a need to initiate the transfer of items, allowing you to add or remove items, modify quantities, or update shipping information before finalizing. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
mode | string | Required | Operation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operationget_request_schemaexecute |
request_body | string | Optional | Stringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema' |
Requirements
Output
json— Response from the API endpoint 'CreateTransferOrder'.SquareupApi.CreateVendor
Create a vendor for a supplier to a seller. This tool creates a new vendor object to represent a supplier in the system. Use it when you need to add or register a vendor for business operations. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
mode | string | Required | Operation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operationget_request_schemaexecute |
request_body | string | Optional | Stringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema' |
Requirements
Output
json— Response from the API endpoint 'CreateVendor'.SquareupApi.CreateWebhookSubscription
Creates a webhook subscription. Use this tool to establish a webhook subscription for receiving event notifications from the service.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
api_version | string | Optional | Specifies the API version for the webhook subscription. Optional; defaults to the application's current API version if not provided. |
enable_subscription | boolean | Optional | Indicates whether the subscription is enabled (`true`) or not (`false`). |
event_types | array<string> | Optional | An array of event types for the subscription, each as a string. |
subscription_created_at | string | Optional | The creation timestamp of the subscription in RFC 3339 format, e.g., "2016-09-04T23:59:33.123Z". |
subscription_last_updated_timestamp | string | Optional | The timestamp of when the subscription was last updated, in RFC 3339 format (e.g., '2016-09-04T23:59:33.123Z'). |
subscription_name | string | Optional | The name for the webhook subscription. |
subscription_signature_key | string | Optional | The Square-generated signature key used to validate the origin of the webhook event. |
subscription_unique_id | string | Optional | A Square-generated unique ID for the webhook subscription. |
unique_request_identifier | string | Optional | A unique string to ensure the idempotence of the CreateWebhookSubscription request, preventing duplicate entries. |
webhook_notification_url | string | Optional | The URL where webhook notifications will be sent. Ensure it is accessible and accurately formatted. |
Requirements
Output
json— Response from the API endpoint 'CreateWebhookSubscription'.SquareupApi.DeleteBookingCustomAttribute
Deletes a custom attribute from a booking. Use this tool to delete a specific custom attribute from a booking. Requires appropriate OAuth permissions depending on user level. Seller-level usage requires a subscription to Appointments Plus or Appointments Premium.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
booking_id | string | Required | The unique identifier for the booking from which the custom attribute will be deleted. |
custom_attribute_key | string | Required | The key of the custom attribute to delete. Must match the key in the Square seller account. Use a qualified key if not the definition owner. |
Requirements
Output
json— Response from the API endpoint 'DeleteBookingCustomAttribute'.SquareupApi.DeleteBookingCustomAttributeDefinition
Deletes a booking's custom attribute definition. Use this tool to delete a custom attribute definition for bookings. Ensure appropriate OAuth scopes are set: 'APPOINTMENTS_WRITE' for buyer-level permissions, or 'APPOINTMENTS_ALL_WRITE' and 'APPOINTMENTS_WRITE' for seller-level permissions. Seller-level permissions require a subscription to Appointments Plus or Premium.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
custom_attribute_key | string | Required | The key of the custom attribute definition to delete for bookings. |
Requirements
Output
json— Response from the API endpoint 'DeleteBookingCustomAttributeDefinition'.SquareupApi.DeleteBreakType
Deletes an existing BreakType. Use this tool to delete an existing BreakType, even if it is referenced in a Shift.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
break_type_uuid | string | Required | The UUID of the BreakType to be deleted. |
Requirements
Output
json— Response from the API endpoint 'DeleteBreakType'.SquareupApi.DeleteCatalogItems
Deletes catalog items and their children by IDs. Use this tool to delete a set of catalog items by providing their IDs. Deletion is cascading, removing both the items and their associated variations. The tool succeeds even if only part of the requested deletions can be processed, returning only the successfully deleted item IDs.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
catalog_object_ids_to_delete | array<string> | Required | The IDs of the catalog objects to be deleted. Deletion is cascading, removing the item and dependent objects. |
Requirements
Output
json— Response from the API endpoint 'BatchDeleteCatalogObjects'.SquareupApi.DeleteCatalogObject
Delete a catalog object and its children by ID. This tool deletes a catalog object in the Squareup catalog using the provided ID. The deletion is cascading, removing all child objects as well. Only one delete request is processed at a time per seller account.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
catalog_object_id | string | Required | The unique ID of the catalog object to delete. Deletion is cascading, removing all dependent objects. |
Requirements
Output
json— Response from the API endpoint 'DeleteCatalogObject'.SquareupApi.DeleteCustomerAttributeDefinition
Delete a customer custom attribute definition from Square. Deletes a custom attribute definition linked to customer profiles from a Square seller account, removing it from all associated customer profiles. Only the owner of the definition can perform this action.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
custom_attribute_key | string | Required | The key of the custom attribute definition to delete from a Square seller account. |
Requirements
Output
json— Response from the API endpoint 'DeleteCustomerCustomAttributeDefinition'.SquareupApi.DeleteCustomerCustomAttribute
Deletes a custom attribute from a customer profile. Use this tool to delete a custom attribute associated with a customer profile. Applicable when removing attributes with visibility set to READ_WRITE.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
custom_attribute_key | string | Required | The key of the custom attribute to delete. Must match the key of a custom attribute definition in the Square seller account. Use the qualified key if not the definition owner. |
customer_profile_id | string | Required | The ID of the target customer profile for which the custom attribute will be deleted. |
Requirements
Output
json— Response from the API endpoint 'DeleteCustomerCustomAttribute'.SquareupApi.DeleteCustomerGroup
Deletes a customer group by its ID. Use this tool to delete a customer group in your database by specifying the group ID. It confirms the successful deletion of the group.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
customer_group_id | string | Required | The ID of the customer group you want to delete. |
Requirements
Output
json— Response from the API endpoint 'DeleteCustomerGroup'.SquareupApi.DeleteCustomerProfile
Delete a customer profile from a business system. Use this tool to delete a customer profile from a business's records. It requires the customer ID, especially if the profile was created by merging existing profiles.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
customer_id | string | Required | The ID of the customer to delete from the business system. Required for identifying the customer profile to remove. |
customer_profile_version | integer | Optional | The current version of the customer profile for optimistic concurrency control. |
Requirements
Output
json— Response from the API endpoint 'DeleteCustomer'.SquareupApi.DeleteDraftTransferOrder
Delete a draft transfer order and trigger webhook event. Use this tool to delete a transfer order in DRAFT status. Only applicable to orders that have not yet been started. A webhook event 'transfer_order.deleted' is triggered upon deletion.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
transfer_order_id | string | Required | The ID of the transfer order in DRAFT status to delete. Only draft orders are eligible. |
optimistic_concurrency_version | integer | Optional | Version number used for optimistic concurrency control to ensure data consistency when deleting a draft transfer order. |
Requirements
Output
json— Response from the API endpoint 'DeleteTransferOrder'.SquareupApi.DeleteInvoice
Delete a draft invoice and change order status to CANCELED. This tool deletes a specified draft invoice. Once deleted, the associated order status changes to CANCELED. It cannot delete a published invoice, including those scheduled for processing.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
invoice_id | string | Required | The ID of the draft invoice to delete. |
invoice_version | integer | Optional | The version number of the invoice to delete. Use GetInvoice or ListInvoices if unknown. |
Requirements
Output
json— Response from the API endpoint 'DeleteInvoice'.SquareupApi.DeleteLocationCustomAttribute
Delete a custom attribute definition from a location. This tool deletes a location-related custom attribute definition from a Square seller account. It also removes the corresponding custom attribute from all locations. Only the definition owner can perform this action.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
custom_attribute_key | string | Required | The identifier for the custom attribute definition to remove. |
Requirements
Output
json— Response from the API endpoint 'DeleteLocationCustomAttributeDefinition'.SquareupApi.DeleteLoyaltyReward
Deletes a loyalty reward and restores points to the account. This tool deletes a specified loyalty reward, restoring the corresponding points to the user's account. It also updates any associated order to remove the reward and related discounts, if an order ID was specified upon reward creation. Cannot be used on rewards that have been redeemed.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
loyalty_reward_id | string | Required | The ID of the loyalty reward to delete, returning points to the account. Cannot delete redeemed rewards. |
Requirements
Output
json— Response from the API endpoint 'DeleteLoyaltyReward'.SquareupApi.DeleteMerchantCustomAttribute
Delete a custom attribute definition for a Square merchant. Deletes a merchant-specific custom attribute definition from a Square seller account, including the associated custom attribute. Only the definition owner can perform this deletion.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
custom_attribute_key | string | Required | The key of the custom attribute definition to be deleted from the Square account. |
Requirements
Output
json— Response from the API endpoint 'DeleteMerchantCustomAttributeDefinition'.SquareupApi.DeleteOrderCustomAttribute
Delete a custom attribute from an order profile. Use this tool to delete a custom attribute associated with an order. Ensure that the visibility setting is 'VISIBILITY_READ_WRITE_VALUES' for attributes owned by other applications.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
custom_attribute_key | string | Required | The key of the custom attribute to delete. Must match an existing custom attribute definition key. |
order_id | string | Required | The unique identifier of the order from which the custom attribute will be deleted. |
Requirements
Output
json— Response from the API endpoint 'DeleteOrderCustomAttribute'.SquareupApi.DeleteOrderCustomAttributeDefinition
Delete a custom attribute definition from an order. This tool deletes an order-related custom attribute definition from a Square seller account. Only the definition owner has the permission to perform this action.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
custom_attribute_key | string | Required | The key of the custom attribute definition to delete from an order. |
Requirements
Output
json— Response from the API endpoint 'DeleteOrderCustomAttributeDefinition'.SquareupApi.DeletePaymentLink
Deletes a specified payment link. Use this tool to delete a payment link by its ID when it is no longer needed or was created in error.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
payment_link_id | string | Required | The unique identifier of the payment link to delete. This ID specifies which payment link should be removed. |
Requirements
Output
json— Response from the API endpoint 'DeletePaymentLink'.SquareupApi.DeleteSquareSnippet
Delete a snippet from a Square Online site. Use this tool to remove a snippet from a specified Square Online site. Useful when you need to update or clean up content on a site. Make sure to retrieve the site IDs using the ListSites API beforehand.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
site_id | string | Required | The ID of the Square Online site containing the snippet to be deleted. |
Requirements
Output
json— Response from the API endpoint 'DeleteSnippet'.SquareupApi.DeleteSubscriptionAction
Delete a scheduled action for a subscription. Use this tool to delete a specific scheduled action related to a subscription when changes or cancellations are needed.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
subscription_id | string | Required | The ID of the subscription for which the action is to be deleted. Provide the correct subscription ID to ensure accurate targeting. |
targeted_action_id | string | Required | The ID of the specific action to be deleted from the subscription. |
Requirements
Output
json— Response from the API endpoint 'DeleteSubscriptionAction'.SquareupApi.DeleteTimecard
Delete a specific timecard entry. This tool deletes a specified timecard entry using its unique identifier. Use it when a timecard needs to be permanently removed from the system.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
timecard_uuid | string | Required | The UUID for the Timecard being deleted. |
Requirements
Output
json— Response from the API endpoint 'DeleteTimecard'.SquareupApi.DeleteWebhookSubscription
Deletes a specified webhook subscription. Use this tool to delete an existing webhook subscription by providing the subscription ID. It should be called when there is a need to remove a webhook subscription.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
webhook_subscription_id | string | Required | The ID of the webhook subscription to delete. This ID is required to specify which subscription needs to be removed. |
Requirements
Output
json— Response from the API endpoint 'DeleteWebhookSubscription'.SquareupApi.DisableCreditCard
Disable a credit card to prevent further charges. Use this tool to disable a credit card, which will prevent any further updates or charges on the card. Attempting to disable an already disabled card is allowed but will have no effect.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
credit_card_id | string | Required | Unique ID of the credit card to be disabled. This is required to specify the card to be deactivated. |
Requirements
Output
json— Response from the API endpoint 'DisableCard'.SquareupApi.DisableSearchableEvents
Disable events to prevent them from being searchable. Use this tool to disable events, ensuring they cannot be searched. Useful for controlling event visibility during specific time periods.
Parameters
No parameters required.
Requirements
Output
json— Response from the API endpoint 'DisableEvents'.SquareupApi.DismissTerminalAction
Dismiss a Terminal action request if permitted. This tool dismisses a Terminal action request when the status and type allow it. Use it for canceling or dismissing actions on a Square Terminal. Refer to the Square documentation for more about linking and dismissing actions.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
terminal_action_id | string | Required | Unique ID for the TerminalAction to be dismissed. |
Requirements
Output
json— Response from the API endpoint 'DismissTerminalAction'.SquareupApi.DismissTerminalCheckout
Dismiss a Terminal checkout request. Use this tool to dismiss a Terminal checkout request when the status and type allow dismissal.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
terminal_checkout_id | string | Required | Unique ID for the `TerminalCheckout` to be dismissed. |
Requirements
Output
json— Response from the API endpoint 'DismissTerminalCheckout'.SquareupApi.DismissTerminalRefund
Dismiss a Terminal refund request. Use this tool to dismiss a Terminal refund request if it's allowable based on the status and type of the request.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
terminal_refund_unique_id | string | Required | Unique ID for the TerminalRefund associated with the refund to be dismissed. |
Requirements
Output
json— Response from the API endpoint 'DismissTerminalRefund'.SquareupApi.EnableEventsSearch
Enable events to make them searchable. This tool should be called to enable events, allowing them to be searchable from this point onward. Only events that occur while in the enabled state will be searchable.
Parameters
No parameters required.
Requirements
Output
json— Response from the API endpoint 'EnableEvents'.SquareupApi.FetchInventoryChanges
Retrieve historical inventory changes and adjustments. Use this tool to access historical physical counts and inventory adjustments based on specific filter criteria. The results are paginated and sorted by the `occurred_at` timestamp in ascending order, providing a comprehensive log of inventory changes.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
filter_by_catalog_object_ids | array<string> | Optional | Filter results by providing an array of CatalogObject IDs. Only applicable when set. |
filter_by_location_ids | array<string> | Optional | Return results filtered by specific `Location` IDs. This is optional and defaults to null. |
filter_by_updated_before_timestamp | string | Optional | Return results with `created_at` or `calculated_at` before this RFC 3339 timestamp. |
filter_inventory_change_types | array<string> | Optional | A list of `InventoryChangeType` values to filter results, excluding `TRANSFER`. Default is `[PHYSICAL_COUNT, ADJUSTMENT]`. |
filter_updated_after_timestamp | string | Optional | Return results with `calculated_at` after specified time in RFC 3339 format. Default is the UNIX epoch (`1970-01-01T00:00:00Z`). |
inventory_states_filter | array<string> | Optional | Filter to return `ADJUSTMENT` query results by `InventoryState`. Only applies if set. Accepts a list of states. |
number_of_records_to_return | integer | Optional | The number of inventory change records to return in the response. |
pagination_cursor | string | Optional | A cursor for pagination to retrieve the next set of inventory results. Use this from a previous call to continue fetching data. |
Requirements
Output
json— Response from the API endpoint 'BatchRetrieveInventoryChanges'.SquareupApi.GetAccountDisputes
Retrieve a list of disputes for an account. Use this tool to obtain a list of disputes related to a specific account. It is useful for managing and reviewing disputes.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
dispute_states_filter | string | Optional | Specify dispute states to filter the results. Options: INQUIRY_EVIDENCE_REQUIRED, INQUIRY_PROCESSING, INQUIRY_CLOSED, EVIDENCE_REQUIRED, PROCESSING, WON, LOST, ACCEPTED. Defaults to all states if not provided. |
location_id | string | Optional | The unique ID of the location to filter disputes for. If omitted, disputes from all locations are returned. |
pagination_cursor | string | Optional | A string cursor from a previous call to retrieve the next set of dispute results. See [Pagination](https://developer.squareup.com/docs/build-basics/common-api-patterns/pagination). |
Requirements
Output
json— Response from the API endpoint 'ListDisputes'.SquareupApi.GetBankAccountDetails
Retrieve details of a bank account linked to a Square account. Use this tool to obtain detailed information about a specific bank account associated with a Square account by providing the bank account ID.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
bank_account_id | string | Required | Square-issued ID of the desired bank account to retrieve its details. |
Requirements
Output
json— Response from the API endpoint 'GetBankAccount'.SquareupApi.GetBankAccountDetailsByV1Id
Fetches bank account details using a V1 ID. Use this tool to retrieve details of a bank account by providing the V1 bank account ID. Useful for obtaining specific bank account information from the Squareup service.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
v1_bank_account_id | string | Required | The V1 ID of the bank account to retrieve details for. This ID is used to fetch specific account information from the Squareup service. |
Requirements
Output
json— Response from the API endpoint 'GetBankAccountByV1Id'.SquareupApi.GetBreakTypeById
Retrieve details of a specific BreakType by ID. Use this tool to get information about a specific BreakType using its unique ID. It should be called when details about a particular break type in the system are required.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
break_type_uuid | string | Required | The UUID of the BreakType to retrieve. |
Requirements
Output
json— Response from the API endpoint 'GetBreakType'.SquareupApi.GetCatalogItemInfo
Retrieve detailed information for a specific catalog item. This tool retrieves a single catalog item as a CatalogObject based on the provided ID. It includes all relevant information, such as CatalogItemVariation children, references to CatalogModifierList objects, and applicable CatalogTax IDs.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
catalog_object_id | string | Required | The object ID of the catalog item to retrieve detailed information for. |
catalog_version | integer | Optional | Specify a catalog version to retrieve historical object data. If not provided, the current catalog version is used. |
include_category_path_to_root | boolean | Optional | Include the category's path to the root in the response to show its hierarchy. Returns an empty list for top-level categories. |
include_related_objects | boolean | Optional | Set to `true` to include additional related objects, like associated categories, taxes, and images, in the response. Ideal for immediate user display. |
Requirements
Output
json— Response from the API endpoint 'RetrieveCatalogObject'.SquareupApi.GetCustomerCustomAttribute
Retrieve a custom attribute from a customer profile. Retrieves a custom attribute associated with a customer profile in Squareup. Optionally, also retrieves the custom attribute definition using a query parameter. Useful for accessing specific customer data fields set by sellers or other applications.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
custom_attribute_key | string | Required | The key of the custom attribute to retrieve. This must match an existing custom attribute key in the Square seller account. Use a qualified key if not the definition owner. |
customer_profile_id | string | Required | The ID of the customer profile to retrieve the custom attribute from. |
attribute_version | integer | Optional | The version of the custom attribute for consistent reads. A higher version will return a BAD_REQUEST error. |
include_custom_attribute_definition | boolean | Optional | Set to true to include the custom attribute definition with name, description, data type, and other details. Default is false. |
Requirements
Output
json— Response from the API endpoint 'RetrieveCustomerCustomAttribute'.SquareupApi.GetCustomerCustomAttributeDefinition
Retrieve a customer's custom attribute definition from Square. Use this tool to get a specific customer-related custom attribute definition from a Square seller account. It retrieves details about the attribute, provided it has the correct visibility settings.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
custom_attribute_key | string | Required | The key of the custom attribute definition to retrieve. Use the qualified key if not the owner. |
custom_attribute_version | integer | Optional | The current version of the custom attribute definition to ensure consistent reads. Use to check for the most up-to-date data. |
Requirements
Output
json— Response from the API endpoint 'RetrieveCustomerCustomAttributeDefinition'.SquareupApi.GetCustomerGroup
Retrieve details of a specific customer group by group ID. Use this tool to get information about a specific customer group using its unique group ID.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
customer_group_id | string | Required | The unique ID of the customer group to retrieve details for. |
Requirements
Output
json— Response from the API endpoint 'RetrieveCustomerGroup'.SquareupApi.GetCustomerSegment
Retrieve specific customer segment information. Use this tool to get information about a specific customer segment using the segment ID.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
customer_segment_id | string | Required | The Square-issued ID of the customer segment to retrieve. |
Requirements
Output
json— Response from the API endpoint 'RetrieveCustomerSegment'.SquareupApi.GetDisputeEvidence
Retrieve evidence for a specific dispute. Use this tool to obtain a list of all evidence linked to a particular dispute, identified by its dispute ID.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
dispute_id | string | Required | Specify the ID of the dispute to retrieve its associated evidence. |
pagination_cursor | string | Optional | A cursor for pagination. Provide this to retrieve the next set of results for the original query. |
Requirements
Output
json— Response from the API endpoint 'ListDisputeEvidence'.SquareupApi.GetDisputeEvidenceMetadata
Get metadata for specified dispute evidence. Use this tool to retrieve the metadata of a specific piece of evidence related to a dispute by providing the dispute ID and evidence ID. Useful for managing and reviewing evidence details.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
dispute_id | string | Required | The unique ID of the dispute to retrieve evidence metadata from. |
evidence_id | string | Required | The unique identifier for the evidence to retrieve metadata for. Required to specify which evidence's metadata is needed in the dispute. |
Requirements
Output
json— Response from the API endpoint 'RetrieveDisputeEvidence'.SquareupApi.GetInventoryCount
Retrieve current stock count for a specific catalog item. Use this tool to get the current calculated inventory count for a specific CatalogObject at specified locations. This is useful for tracking stock levels in real-time.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
catalog_object_id | string | Required | The ID of the CatalogObject to retrieve inventory count for. |
location_ids | string | Optional | Comma-separated list of Location IDs to query. Use an empty list to query all locations. |
pagination_cursor | string | Optional | A cursor for paginating results, from previous call, to fetch next page. |
Requirements
Output
json— Response from the API endpoint 'RetrieveInventoryCount'.SquareupApi.GetInventoryPhysicalCount
Retrieve details of a specific inventory physical count. Use this tool to get details of an inventory physical count using the provided physical count ID.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
inventory_physical_count_id | string | Required | ID of the InventoryPhysicalCount to retrieve details for. |
Requirements
Output
json— Response from the API endpoint 'RetrieveInventoryPhysicalCount'.SquareupApi.GetLocationCustomAttribute
Retrieve a custom attribute for a specific location. This tool fetches a custom attribute linked with a specific location. It can also include the attribute definition if specified. Use this when you need details about a location's custom attributes.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
custom_attribute_key | string | Required | The key for the custom attribute to retrieve. Must match the key in Square's custom attribute definition. Use qualified key if needed. |
target_location_id | string | Required | The ID of the target location to retrieve its custom attribute. |
custom_attribute_version | integer | Optional | Specify the current version of the custom attribute for consistent data retrieval. A BAD_REQUEST error is returned if this version exceeds the current version. |
include_custom_attribute_definition | boolean | Optional | Set to true to include details like name, description, and data type of the custom attribute definition. Default is false. |
Requirements
Output
json— Response from the API endpoint 'RetrieveLocationCustomAttribute'.SquareupApi.GetLoyaltyProgram
Retrieve the loyalty program details for a seller. Use this tool to get information about the loyalty program in a seller's account. You can specify the program by its ID or use the keyword 'main' to access the primary program. This is useful for understanding how buyers earn points and redeem rewards in the loyalty program.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
loyalty_program_identifier | string | Required | The ID of the loyalty program or the keyword 'main'. Use to retrieve the loyalty program of a seller. |
Requirements
Output
json— Response from the API endpoint 'RetrieveLoyaltyProgram'.SquareupApi.GetLoyaltyReward
Retrieve details of a specific loyalty reward. Use this tool to fetch details about a particular loyalty reward by providing the reward ID. This can help understand customer incentives or verify reward status.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
loyalty_reward_id | string | Required | The ID of the loyalty reward to retrieve. This is required to fetch details about a specific reward for a customer. |
Requirements
Output
json— Response from the API endpoint 'RetrieveLoyaltyReward'.SquareupApi.GetMerchantCustomAttributeDefinition
Retrieves custom attribute definition for a Square seller account. This tool retrieves a custom attribute definition related to a merchant from a Square seller account. It is useful for obtaining detailed attribute information created by other applications, provided the visibility settings are set to allow access.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
custom_attribute_key | string | Required | The key of the custom attribute definition to retrieve. Use the qualified key if not the definition owner. |
custom_attribute_version | integer | Optional | Specifies the current version of the custom attribute definition for retrieving the most up-to-date data. If the specified version is higher than the current, a 'BAD_REQUEST' error is returned. |
Requirements
Output
json— Response from the API endpoint 'RetrieveMerchantCustomAttributeDefinition'.SquareupApi.GetMerchantDetails
Retrieve details about a specific merchant. This tool provides information about the merchant associated with a given access token, returning a list with a single merchant object. Useful for acquiring merchant details when the merchant ID is unknown.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
previous_response_cursor | integer | Optional | The cursor generated by the previous response for fetching subsequent pages. |
Requirements
Output
json— Response from the API endpoint 'ListMerchants'.SquareupApi.GetPaymentDetails
Retrieve detailed information about a specific payment. This tool retrieves details for a specific payment using its ID. It should be called when information about a particular payment is needed, such as transaction details, status, and other relevant data.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
payment_id | string | Required | Unique ID to retrieve specific payment details. |
Requirements
Output
json— Response from the API endpoint 'GetPayment'.SquareupApi.GetPayoutDetails
Retrieve details of a specific payout using payout ID. Use this tool to obtain detailed information about a specific payout by providing its payout ID. Ensure that the required OAuth scope `PAYOUTS_READ` is set before calling this tool.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
payout_id | string | Required | The unique identifier of the payout to retrieve details for. This ID is required to fetch the specific payout information. |
Requirements
Output
json— Response from the API endpoint 'GetPayout'.SquareupApi.GetSquareCatalogInfo
Retrieve Square Catalog API information and batch size limits. This tool fetches details about the Square Catalog API, including information on batch size limits for the `BatchUpsertCatalogObjects` endpoint. Use this to understand API constraints and capabilities.
Parameters
No parameters required.
Requirements
Output
json— Response from the API endpoint 'CatalogInfo'.SquareupApi.GetTeamMemberBookingProfile
Retrieve a team member's booking profile from Square. Use this tool to get specific booking information for a team member by their unique ID. Ideal for checking availability or scheduling details.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
team_member_unique_id | string | Required | The unique identifier for the team member whose booking profile is being retrieved. |
Requirements
Output
json— Response from the API endpoint 'RetrieveTeamMemberBookingProfile'.SquareupApi.GetTeamMemberDetails
Retrieve details for a specific team member by ID. Use this tool to get information about a specific team member using their ID. Useful for managing team details and troubleshooting within the Squareup platform.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
team_member_id | string | Required | The unique identifier for the team member to retrieve their details from Squareup. |
Requirements
Output
json— Response from the API endpoint 'RetrieveTeamMember'.SquareupApi.GetTeamMemberWage
Retrieve wage details for a specific team member. Use this tool to obtain wage information for a specific team member by their ID. Useful for managing payroll or reviewing individual compensation.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
team_member_wage_id | string | Required | The unique identifier (UUID) for retrieving the specific TeamMemberWage record. |
Requirements
Output
json— Response from the API endpoint 'GetTeamMemberWage'.SquareupApi.GetTerminalRefund
Retrieve details of an Interac Terminal refund by ID. Call this tool to get information about a specific Interac Terminal refund using its ID. Refund details are available for 30 days after the refund is processed.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
terminal_refund_id | string | Required | The unique ID for the desired TerminalRefund. Use this ID to retrieve specific refund details available for 30 days. |
Requirements
Output
json— Response from the API endpoint 'GetTerminalRefund'.SquareupApi.GetTimecardById
Fetch details of a specific timecard by ID. Use this tool to retrieve information about a specific timecard using its unique ID. This is useful for accessing detailed timecard records for employees.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
timecard_id | string | Required | The unique UUID identifying the timecard you want to retrieve. |
Requirements
Output
json— Response from the API endpoint 'RetrieveTimecard'.SquareupApi.LinkCustomerToGiftCard
Link a customer to a gift card for future use. This tool is used to link a specific customer to a gift card, which allows storing the card on file for the customer. Use it when you want to associate a gift card with a customer for tracking and usage purposes.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
customer_id | string | Required | The ID of the customer to link to the gift card. This should be a unique identifier representing the customer in the system. |
gift_card_identifier | string | Required | The unique ID of the gift card to link to the customer. |
Requirements
Output
json— Response from the API endpoint 'LinkCustomerToGiftCard'.SquareupApi.ListAllLocations
Fetch details of all seller's locations, including inactive ones. This tool retrieves and provides information about all of the seller's locations from SquareUp, including those with inactive status. Locations are listed alphabetically by name and can be used to gain insights into the seller's business locations.
Parameters
No parameters required.
Requirements
Output
json— Response from the API endpoint 'ListLocations'.SquareupApi.ListBankAccounts
Fetches bank accounts linked to a Square account. Use this tool to get a list of all bank accounts associated with a Square account. It retrieves relevant bank account details.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
location_id_filter | string | Optional | Specify this optional filter to retrieve bank accounts linked to a specific location. |
max_bank_accounts | integer | Optional | Specify the maximum number of bank accounts to return. The limit can be up to 1000, which is also the default. |
pagination_cursor | string | Optional | The pagination cursor from a previous `ListBankAccounts` call to retrieve the next set of results. |
Requirements
Output
json— Response from the API endpoint 'ListBankAccounts'.SquareupApi.ListBookingCustomAttributeDefinitions
Retrieve all custom attribute definitions for bookings. Use this tool to get all custom attribute definitions associated with bookings. It requires appropriate OAuth permissions based on buyer or seller level access. This tool is ideal for managing and understanding the custom attributes tied to booking data.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
pagination_cursor | string | Optional | Cursor from the previous response to get the next page of results. |
result_limit | integer | Optional | Maximum results to return per page. Must be between 1 and 100, default is 20. |
Requirements
Output
json— Response from the API endpoint 'ListBookingCustomAttributeDefinitions'.SquareupApi.ListBookingCustomAttributes
Retrieve a booking's custom attributes. Use this tool to list custom attributes associated with a specific booking. Ensure proper OAuth scope with 'APPOINTMENTS_READ' for buyer-level permissions or both 'APPOINTMENTS_ALL_READ' and 'APPOINTMENTS_READ' for seller-level permissions.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
booking_id | string | Required | The unique identifier for the target booking to list custom attributes for. This is required to specify which booking's attributes to retrieve. |
include_custom_attribute_definitions | boolean | Optional | Set to true to include custom attribute definitions, providing names, descriptions, data types, and other details. Default is false. |
maximum_results_limit | integer | Optional | The maximum number of results to return in a single response (1-100). Default is 20. |
pagination_cursor | string | Optional | The cursor from the previous API response used to retrieve the next page of results. |
Requirements
Output
json— Response from the API endpoint 'ListBookingCustomAttributes'.SquareupApi.ListBookingProfiles
Retrieve booking profiles for team members. Use this tool to obtain a list of booking profiles associated with team members. Ideal for viewing or managing team schedules and bookings.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
filter_by_location_id | string | Optional | Filter to return only team members enabled at the specified location ID. |
include_only_bookable_members | boolean | Optional | Set to true to include only team members who are bookable. False includes all members. |
maximum_results_limit | integer | Optional | Specify the maximum number of results to return in a paged response. |
pagination_cursor | string | Optional | The cursor for pagination to retrieve the next page of results. Omit for the first page of results. |
Requirements
Output
json— Response from the API endpoint 'ListTeamMemberBookingProfiles'.SquareupApi.ListBreakTypes
Retrieve a paginated list of break types for a business. Use this tool to obtain a list of different break types defined in a business. Ideal for accessing and managing labor-related break policies.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
filter_by_location_id | string | Optional | Filter results to break types associated with the specified location ID. |
max_results_per_page | integer | Optional | Specify the maximum number of BreakType results to return per page. Must be between 1 and 200. Default is 200. |
next_page_cursor | string | Optional | A pointer to the next page of `BreakType` results to fetch for continued listing of break types. |
Requirements
Output
json— Response from the API endpoint 'ListBreakTypes'.SquareupApi.ListCashDrawerShiftEvents
Retrieve events for a specific cash drawer shift. Use this tool to get a list of events related to a specific cash drawer shift. This is useful for tracking activities during the shift.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
location_id | string | Required | The unique identifier for the location to retrieve cash drawer shift events from. |
shift_id | string | Required | The ID of the cash drawer shift to retrieve events for. |
max_results_per_page | integer | Optional | Number of results to return per page (default is 200, maximum is 1000). |
pagination_cursor | string | Optional | Opaque cursor for fetching the next page of cash drawer shift event results. |
Requirements
Output
json— Response from the API endpoint 'ListCashDrawerShiftEvents'.SquareupApi.ListCashDrawerShifts
Retrieve cash drawer shift details for a location and date range. Use this tool to obtain detailed information about cash drawer shifts for a specific location during a specified date range. Ideal for managing and auditing cash flows in business operations.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
location_id | string | Required | The unique identifier of the location to retrieve cash drawer shifts for. |
exclusive_query_end_time | string | Optional | The exclusive end time for the query on opened_at, provided in ISO 8601 format. |
pagination_cursor | string | Optional | Opaque cursor used for fetching the next page of results from the API. |
results_per_page | integer | Optional | Number of cash drawer shift events per page. Default is 200, with a maximum of 1000. |
sort_order | string | Optional | Specifies the order of cash drawer shifts based on their opened_at field. Options are 'ASC' for ascending and 'DESC' for descending. Default is 'ASC'. |
start_time | string | Optional | The inclusive start time for the query in ISO 8601 format. |
Requirements
Output
json— Response from the API endpoint 'ListCashDrawerShifts'.SquareupApi.ListCatalogItems
Retrieve a list of catalog objects by type from Square catalog. Use this tool to get a list of catalog objects from Square, specifying desired types such as ITEM, ITEM_VARIATION, MODIFIER, etc. Note: It does not include deleted items.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
catalog_object_types | string | Optional | A case-insensitive, comma-separated list of object types to retrieve. Valid types include ITEM, ITEM_VARIATION, CATEGORY, DISCOUNT, TAX, MODIFIER, MODIFIER_LIST, IMAGE, etc. Defaults to top-level types if unspecified. |
catalog_version_number | integer | Optional | Specify the catalog version number to retrieve historical objects. If omitted, retrieves current version. |
pagination_cursor | string | Optional | The cursor for pagination from a previous response. Leave unset for the initial request. Page size is 100. |
Requirements
Output
json— Response from the API endpoint 'ListCatalog'.SquareupApi.ListCustomerCustomAttributeDefinitions
Retrieve customer custom attribute definitions for a Square seller. Lists customer-related custom attribute definitions of a Square seller account, including those visible to the requesting app. This includes custom attributes that are read-only or read-write.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
max_results_per_page | integer | Optional | Maximum number of results to return per page. It ranges from 1 to 100, defaulting to 20. |
pagination_cursor | string | Optional | Cursor from the previous response for pagination. Use it to get the next page of results. |
Requirements
Output
json— Response from the API endpoint 'ListCustomerCustomAttributeDefinitions'.SquareupApi.ListCustomerCustomAttributes
Retrieve custom attributes of a customer profile. This tool lists the custom attributes associated with a customer profile, with an option to include custom attribute definitions. It retrieves all custom attributes visible to the requesting application, including those owned by other applications with shared visibility settings.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
customer_profile_id | string | Required | The unique identifier of the customer profile whose custom attributes are to be retrieved. |
include_attribute_definitions | boolean | Optional | Set to true to include custom attribute definitions in each custom attribute's definition field. Default is false. |
maximum_results_per_page | integer | Optional | The maximum number of results to return in a single response. Valid values are 1 to 100, default is 20. |
paging_cursor | string | Optional | Cursor from the previous response to get the next page of results. Used for pagination. |
Requirements
Output
json— Response from the API endpoint 'ListCustomerCustomAttributes'.SquareupApi.ListCustomerGroups
Retrieve a list of customer groups for a business. Call this tool to get the customer groups associated with a business. Useful for understanding customer segments or managing customer-related operations.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
max_results_per_page | integer | Optional | The maximum number of customer groups to return per page. Must be between 1 and 50. |
pagination_cursor | string | Optional | A pagination cursor to retrieve the next set of results from a previous query. Useful for handling paginated responses. |
Requirements
Output
json— Response from the API endpoint 'ListCustomerGroups'.SquareupApi.ListCustomerProfiles
Retrieve customer profiles from a Square account. Use this tool to list customer profiles linked to a Square account. It is useful when you need to access or manage customer data stored on Square. Newly created or updated profiles may take up to a minute to be available for listing during network incidents.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
customer_sort_field | string | Optional | Specifies the field by which customers should be sorted. Options: 'DEFAULT' or 'CREATED_AT'. Default is 'DEFAULT'. |
customer_sort_order | string | Optional | Specify sorting order for customers: 'ASC' for ascending or 'DESC' for descending. Default is 'ASC'. |
include_total_customer_count | boolean | Optional | Set to true to include the total customer count in the response. Default is false. |
max_results_per_page | integer | Optional | Specify the maximum number of customer profiles to retrieve in a single page. Must be between 1 and 100. Default is 100. |
pagination_cursor | string | Optional | A pagination cursor from a previous request to retrieve the next set of results. |
Requirements
Output
json— Response from the API endpoint 'ListCustomers'.SquareupApi.ListCustomerSegments
Retrieve customer segments for a business. Use this tool to get the current list of customer segments associated with a business. Ideal for understanding customer categorization and segmentation.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
max_results_per_page | integer | Optional | The maximum number of results to return in a single page. Value must be between 1 and 50. Default is 50. |
pagination_cursor | string | Optional | A pagination cursor for retrieving the next set of customer segment results. Use a cursor returned from a previous call to continue listing. |
Requirements
Output
json— Response from the API endpoint 'ListCustomerSegments'.SquareupApi.ListDeviceCodes
List all device codes for a merchant. Fetches all device codes linked to a merchant, providing access to their associated data.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
device_code_status | string | Optional | Filter DeviceCodes by statuses: 'UNKNOWN', 'UNPAIRED', 'PAIRED', or 'EXPIRED'. Defaults to 'PAIRED' and 'UNPAIRED' if empty. |
location_id_filter | string | Optional | Filter to return only DeviceCodes from the specified location. Returns data from all locations if not provided. |
pagination_cursor | string | Optional | A pagination cursor from a previous call. Use to get the next set of results. |
product_type_filter | string | Optional | Specify the product type to filter DeviceCodes. Defaults to all if empty. Options include 'TERMINAL_API'. |
Requirements
Output
json— Response from the API endpoint 'ListDeviceCodes'.SquareupApi.ListEventTypes
Retrieve available event types for webhooks and API queries. Fetches all event types that can be subscribed to as webhooks or queried via the Events API using Squareup.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
api_version | string | Optional | Specify the API version to list event types, overriding the application's default version. |
Requirements
Output
json— Response from the API endpoint 'ListEventTypes'.SquareupApi.ListGiftCardActivities
Retrieve and filter gift card activities. Fetches gift card activities for the seller's account, allowing optional filters for specific cards, regions, or timeframes.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
activity_sort_order | string | Optional | Specify the order to return gift card activities: 'ASC' for oldest to newest, 'DESC' for newest to oldest (default). |
end_time_rfc3339 | string | Optional | The inclusive end timestamp for the reporting period in RFC 3339 format. Defaults to current time. |
filter_by_activity_type | string | Optional | Specify a type of gift card activity to filter the results. If not provided, all activity types are returned. |
filter_by_location_id | string | Optional | Specify a location ID to filter gift card activities for that location. Leave empty for activities across all locations. |
pagination_cursor | string | Optional | A cursor returned by a previous call to paginate results. Use to retrieve the next set of results. |
reporting_period_start_time | string | Optional | The starting timestamp for filtering gift card activities, in RFC 3339 format. Inclusive of the provided time; defaults to one year ago. |
results_limit_per_page | integer | Optional | Specify the number of results per page. Maximum is 100; default is 50. |
specific_gift_card_id | string | Optional | Specify a gift card ID to retrieve activities related to that specific card. If not provided, activities for all gift cards will be returned. |
Requirements
Output
json— Response from the API endpoint 'ListGiftCardActivities'.SquareupApi.ListGiftCards
Retrieve and filter a list of gift cards. This tool calls the API to list all available gift cards, with the option to apply filters for a more specific subset. Results are returned sorted by their creation date in ascending order.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
filter_by_customer_id | string | Optional | Provide a customer ID to return only the gift cards linked to that specific customer. |
gift_card_state | string | Optional | Specify the state of the gift cards to filter the results by their current status. If not provided, all states are included. |
gift_card_type | string | Optional | Filter gift cards by a specified type, or return all types if not provided. |
pagination_cursor | string | Optional | A pagination cursor from a previous call to retrieve the next set of results. If not provided, returns the first page. |
results_per_page_limit | integer | Optional | Specify the number of gift cards to return per page. Maximum is 200; default is 30. |
Requirements
Output
json— Response from the API endpoint 'ListGiftCards'.SquareupApi.ListInvoices
Retrieve a list of invoices for a specified location. This tool retrieves a list of invoices associated with a particular location. It supports pagination, so if the response is too large, a cursor is provided for subsequent requests to fetch the remaining invoices.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
location_identifier | string | Required | The unique identifier for the location to fetch invoices from. |
maximum_invoices_to_return | integer | Optional | Specify the maximum number of invoices to return. The limit is 200; default is 100 if not set. |
pagination_cursor | string | Optional | A cursor for pagination to retrieve the next set of invoice results. |
Requirements
Output
json— Response from the API endpoint 'ListInvoices'.SquareupApi.ListJobs
Retrieve jobs from a seller's account, sorted by title. Use this tool to obtain a list of jobs associated with a seller's account. The jobs are organized in ascending order by their title.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
pagination_cursor | string | Optional | The pagination cursor for retrieving the next page of results. Use the cursor from the previous call to continue fetching. |
Requirements
Output
json— Response from the API endpoint 'ListJobs'.SquareupApi.ListLocationCustomAttributeDefinitions
Get location-related custom attribute definitions for a Square account. Use this tool to retrieve all location-related custom attribute definitions associated with a Square seller account, including those with different visibility settings.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
filter_by_visibility | string | Optional | Filter results by visibility values: 'ALL', 'READ', or 'READ_WRITE'. Determines the visibility of custom attribute definitions returned. |
maximum_results_per_page | integer | Optional | Sets the maximum number of results to return in a single response page. Accepts values between 1 and 100, default is 20. |
pagination_cursor | string | Optional | The cursor from the previous response to fetch the next page of results. |
Requirements
Output
json— Response from the API endpoint 'ListLocationCustomAttributeDefinitions'.SquareupApi.ListLocationCustomAttributes
Retrieve custom attributes for a specific location. This tool retrieves custom attributes associated with a specific location from Square. Optionally, custom attribute definitions can be included. It returns attributes visible to the requester, including those with varying visibility settings.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
location_id | string | Required | The ID of the target location to retrieve custom attributes for. |
filter_by_visibility | string | Optional | Filters custom attribute definitions by visibility values. Options include 'ALL', 'READ', or 'READ_WRITE'. |
include_custom_attribute_definitions | boolean | Optional | Set to true to include custom attribute definitions, providing name, description, and data type details. Defaults to false. |
maximum_results_limit | integer | Optional | The maximum number of results to return in a single response. Valid range: 1 to 100. Default is 20. |
pagination_cursor | string | Optional | The cursor for fetching the next page of results in a paginated response. |
Requirements
Output
json— Response from the API endpoint 'ListLocationCustomAttributes'.SquareupApi.ListLoyaltyPromotions
Retrieve promotions from a specific loyalty program. Call this tool to list loyalty promotions associated with a specific loyalty program, sorted by the most recent creation date.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
loyalty_program_id | string | Required | The ID of the loyalty program to list promotions for. Obtain via `RetrieveLoyaltyProgram` using `main`. |
max_results_per_page | integer | Optional | Specify the maximum number of promotions to return in a single response. Must be between 1 and 30, defaults to 30. |
pagination_cursor | string | Optional | The cursor for retrieving the next page of results from the previous call. |
promotion_status_filter | string | Optional | Specify the status to filter loyalty promotions. Options include ACTIVE, ENDED, CANCELED, SCHEDULED. Returns promotions with the specified status. |
Requirements
Output
json— Response from the API endpoint 'ListLoyaltyPromotions'.SquareupApi.ListMerchantCustomAttributeDefinitions
Retrieve merchant custom attribute definitions. Fetch all merchant-related custom attribute definitions for a Square seller account, including those visible to the requesting application, even if created by other applications.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
max_results_per_page | integer | Optional | The maximum number of results to return in a single response, ranging from 1 to 100. Default is 20. |
pagination_cursor | string | Optional | The cursor for retrieving the next page of results from a previous response. |
visibility_filter_option | string | Optional | Specify the visibility level of the CustomAttributeDefinition results. Options: ALL, READ, READ_WRITE. |
Requirements
Output
json— Response from the API endpoint 'ListMerchantCustomAttributeDefinitions'.SquareupApi.ListMerchantCustomAttributes
Retrieve custom attributes for a specified merchant. This tool retrieves the custom attributes associated with a specific merchant, including those visible to the requesting application and owned by other applications. Useful for managing and analyzing merchant-specific data.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
merchant_identifier | string | Required | The unique identifier for the target merchant whose custom attributes are to be listed. |
filter_custom_attribute_visibility | string | Optional | Filters custom attribute definition results by visibility values. Valid options are 'ALL', 'READ', or 'READ_WRITE'. |
include_custom_attribute_definitions | boolean | Optional | Set to true to include custom attribute definitions, providing details like name, description, and data type. |
maximum_results_limit | integer | Optional | The maximum number of results to return in a single response. Minimum is 1, maximum is 100, defaults to 20. |
paging_cursor | string | Optional | The cursor from the previous paged response to retrieve the next set of results. |
Requirements
Output
json— Response from the API endpoint 'ListMerchantCustomAttributes'.SquareupApi.ListMerchantDevices
Retrieve a list of devices for a merchant's terminal API. This tool is used to list all devices associated with a merchant, specifically for the Terminal API. It is helpful for businesses needing an overview of their registered devices.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
device_listing_order | string | Optional | Specifies whether to list devices from oldest to newest ('ASC') or newest to oldest ('DESC'). |
filter_by_location_id | string | Optional | Return devices only at the specified location ID, if provided. |
pagination_cursor | string | Optional | A string used to fetch the next set of device results. Obtained from a prior API call, it facilitates pagination. |
results_page_limit | integer | Optional | The number of results to return in a single page. Use this to control pagination of the device list. |
Requirements
Output
json— Response from the API endpoint 'ListDevices'.SquareupApi.ListOrderCustomAttributeDefinitions
Retrieve order-related custom attribute definitions for a Square seller. Lists all order-related custom attribute definitions for a Square seller account, including those with read-only or read-write visibility set by other applications.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
custom_attribute_visibility_filter | string | Optional | Specify whether to return all custom attributes, or only those that are read-only ('READ') or read-write ('READ_WRITE'). Valid options are 'ALL', 'READ', or 'READ_WRITE'. |
maximum_results_per_page | integer | Optional | The maximum number of results to return in a single response. Accepts values 1 to 100, default is 20. |
pagination_cursor | string | Optional | The cursor for fetching the next page of results in a multi-page response. It should be used as returned from a previous call. |
Requirements
Output
json— Response from the API endpoint 'ListOrderCustomAttributeDefinitions'.SquareupApi.ListOrderCustomAttributes
Retrieve custom attributes associated with an order. This tool fetches the custom attributes linked to a specific order, optionally including their definitions. It provides all visible custom attributes, including those owned by other applications with specific visibility settings.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
target_order_id | string | Required | The unique identifier of the target order to retrieve custom attributes for. |
custom_attributes_visibility | string | Optional | Specify which custom attributes to return: 'ALL', 'READ', or 'READ_WRITE'. |
include_custom_attribute_definitions | boolean | Optional | Set to true to include custom attribute definition details such as name, description, and data type. Defaults to false. |
max_results_per_page | integer | Optional | Specifies the maximum number of custom attribute results returned per page. Accepts values from 1 to 100, default is 20. |
pagination_cursor | string | Optional | The cursor used to retrieve the next page of results in a paginated response. |
Requirements
Output
json— Response from the API endpoint 'ListOrderCustomAttributes'.SquareupApi.ListPaymentLinks
Lists all online payment links for Squareup. Use this tool to retrieve a list of all payment links created in Squareup's online checkout system.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
pagination_cursor | string | Optional | A pagination cursor from a previous call to fetch the next set of results. If not provided, returns the first page. |
results_per_page_limit | integer | Optional | Advisory limit on number of results per page. Ignored if negative, zero, or over 1000. Defaults to 100. |
Requirements
Output
json— Response from the API endpoint 'ListPaymentLinks'.SquareupApi.ListPaymentRefunds
Retrieve a list of payment refunds for the account. Use this tool to get a list of refunds associated with the account. This is useful for checking all refund transactions. Note that results are eventually consistent and may take a few seconds to update.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
end_time_rfc3339 | string | Optional | Specifies the end time in RFC 3339 format to retrieve `PaymentRefunds` based on `created_at`. Defaults to the current time. |
limit_results_to_location_id | string | Optional | Limit results to refunds from the specified location. By default, returns all locations. |
maximum_results_per_page | integer | Optional | Specifies the max number of refund results per page. Max value is 100; defaults to 100. |
pagination_cursor | string | Optional | A pagination cursor from a previous response to fetch the next set of results. |
refund_status_filter | string | Optional | Specify a refund status to filter the results. If omitted, refunds of all statuses are returned. |
refunds_start_time | string | Optional | The start time in RFC 3339 format to retrieve PaymentRefunds based on the created_at field. Default is the current time minus one year. |
results_sort_order | string | Optional | The order in which results are listed by their creation date: `ASC` for oldest to newest, `DESC` for newest to oldest (default). |
sort_results_by_field | string | Optional | The field used to sort payment refund results. Options: 'CREATED_AT' (default) or 'UPDATED_AT'. |
source_payment_type | string | Optional | Specify to only return refunds for payments with the indicated source type (e.g., CARD, BANK_ACCOUNT). |
updated_at_end_time | string | Optional | The end of the time range for retrieving refunds, in RFC 3339 format. Default is the current time. |
updated_at_start_time | string | Optional | Start of time range for retrieving each PaymentRefund, in RFC 3339 format. Defaults to begin_time if omitted. |
Requirements
Output
json— Response from the API endpoint 'ListPaymentRefunds'.SquareupApi.ListPayoutEntries
Retrieve all payout entries for a specific payout. Use this tool to get a list of payout entries related to a specific payout ID. Ensure the `PAYOUTS_READ` OAuth scope is set before calling this tool.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
payout_id | string | Required | The unique string identifier for the specific payout to retrieve information for. |
maximum_results_per_page | integer | Optional | Specifies the maximum number of results to return on a single page (max 100). Default is 100. |
pagination_cursor | string | Optional | A cursor to retrieve the next set of results in a paginated response. Use a cursor from a previous response for continuity. |
payout_entries_sort_order | string | Optional | Specify the order (ASC or DESC) in which payout entries are listed. |
Requirements
Output
json— Response from the API endpoint 'ListPayoutEntries'.SquareupApi.ListPayouts
Retrieve a list of payouts for the default location. This tool retrieves all payouts for the default location. It allows filtering by location ID, status, time range, and ordering results. Ensure that `PAYOUTS_READ` is set for the OAuth scope.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
begin_timestamp | string | Optional | The starting timestamp for the payout creation time, in RFC 3339 format. Defaults to one year ago if not provided. |
end_time_rfc3339 | string | Optional | RFC 3339 timestamp marking the end of the payout creation time. Defaults to current time if not specified. |
filter_payout_status | string | Optional | If provided, only payouts with the specified status ('SENT', 'FAILED', 'PAID') are returned. |
location_identifier | string | Optional | The ID of the location for which to list the payouts. Defaults to the main location associated with the seller if not specified. |
pagination_cursor | string | Optional | A cursor for pagination, returned by a previous call. Use it to retrieve the next set of results. Be aware of changes in request parameters between calls. |
payout_sort_order | string | Optional | Specifies the order for listing payouts. Use 'DESC' for descending or 'ASC' for ascending order. |
results_per_page | integer | Optional | Maximum number of results per page. Defaults to 100 and cannot exceed 100. |
Requirements
Output
json— Response from the API endpoint 'ListPayouts'.SquareupApi.ListSalesChannels
Retrieve a list of available sales channels. Use this tool to obtain a list of all available sales channels through which transactions can be processed. Useful for managing sales operations and integrations.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
channel_reference_type | string | Optional | Type of reference associated with the sales channel, such as LOCATION or ONLINE_SITE. |
channel_status | string | Optional | Specify the status of the channel. Options are 'ACTIVE' or 'INACTIVE'. |
maximum_results_limit | integer | Optional | Specify the maximum number of sales channels to return. Defaults to 100 if not provided. |
next_page_cursor | string | Optional | Provide the cursor to fetch the next set of results if pagination is needed. |
reference_id | string | Optional | ID of the reference associated with the sales channel. |
Requirements
Output
json— Response from the API endpoint 'ListChannels'.SquareupApi.ListScheduledShifts
Retrieve a list of scheduled shifts with filtering options. Fetch a paginated list of scheduled work shifts. You can apply filters and sort the results, which are by default ordered by start time in ascending order. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
mode | string | Required | Operation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operationget_request_schemaexecute |
request_body | string | Optional | Stringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema' |
Requirements
Output
json— Response from the API endpoint 'SearchScheduledShifts'.SquareupApi.ListSellerBookingProfiles
Retrieve booking profiles for seller locations. Call this tool to obtain a list of booking profiles for a seller's locations. Useful for understanding how bookings are managed across different locations of a seller.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
max_results_per_page | integer | Optional | The maximum number of booking profiles to return in a single response page. |
pagination_cursor | string | Optional | Use this to fetch the next page of results. Leave blank for the first page. |
Requirements
Output
json— Response from the API endpoint 'ListLocationBookingProfiles'.SquareupApi.ListSquareOnlineSites
List all Square Online sites for a seller. Fetches a list of Square Online sites associated with a seller account, ordered by creation date. Useful for managing or reviewing existing sites.
Parameters
No parameters required.
Requirements
Output
json— Response from the API endpoint 'ListSites'.SquareupApi.ListSubscriptionEvents
Retrieve all events for a specific subscription. This tool retrieves all events related to a specific subscription, providing insight into its activities and changes.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
subscription_id | string | Required | The unique identifier for the subscription whose events are to be retrieved. |
event_limit | integer | Optional | The maximum number of subscription events to retrieve in the response. |
pagination_cursor | string | Optional | Specify the cursor from a previous response to fetch the next page of subscription events. Leave unset to get the last page. |
Requirements
Output
json— Response from the API endpoint 'ListSubscriptionEvents'.SquareupApi.ListTeamMemberWages
Retrieve paginated list of team member wages for a business. This tool retrieves a paginated list of wage details for team members in a business. It can be called when specific information about team member wages is needed.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
filter_by_team_member_id | string | Optional | Filter wages to only those associated with the specified team member by ID. |
max_results_per_page | integer | Optional | The maximum number of TeamMemberWage results to return per page, ranging from 1 to 200. Default is 200. |
next_page_cursor | string | Optional | A pointer to the next page of team member wage results to fetch. |
Requirements
Output
json— Response from the API endpoint 'ListTeamMemberWages'.SquareupApi.ListUserCards
Retrieve a list of cards owned by the account. This tool fetches up to 25 cards associated with the user's account. It should be called when there is a need to view all cards linked to the account making the request.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
filter_by_customer_id | string | Optional | Limit results to cards associated with a specific customer ID. By default, all cards owned by the merchant are returned. |
include_disabled_cards | boolean | Optional | Include disabled cards in the results. By default, only enabled cards are returned. |
limit_to_reference_id | string | Optional | Limit results to cards associated with the given reference ID. Use this to filter cards matching a specific reference. |
pagination_cursor | string | Optional | A string token to retrieve the next set of card results for pagination. |
sort_order | string | Optional | Specifies the sort order of the list by card creation date. Options are 'ASC' (ascending) or 'DESC' (descending). Defaults to 'ASC'. |
Requirements
Output
json— Response from the API endpoint 'ListCards'.SquareupApi.ListWebhookEventTypes
Retrieve all webhook event types available for subscription. This tool is used to fetch a list of all available webhook event types that can be subscribed to. It helps users identify which events they can set up webhooks for in order to receive notifications.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
api_version_for_event_types | string | Optional | Specify the API version to list event types, overriding the default version. |
Requirements
Output
json— Response from the API endpoint 'ListWebhookEventTypes'.SquareupApi.ListWebhookSubscriptions
Lists all webhook subscriptions owned by the application. Use this tool to retrieve all webhook subscriptions associated with your Square application. It provides a comprehensive list of active webhook subscriptions.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
include_disabled_subscriptions | boolean | Optional | If set to true, includes disabled subscriptions in the results. By default, only enabled subscriptions are returned. |
maximum_results_per_page | integer | Optional | The maximum number of results returned in one page, up to 100. |
pagination_cursor | string | Optional | A cursor from a previous call for paginating results. Use it to retrieve the next set of results. |
sort_order | string | Optional | Sort returned list by subscription creation date. Options are 'ASC' for ascending or 'DESC' for descending. Defaults to 'ASC'. |
Requirements
Output
json— Response from the API endpoint 'ListWebhookSubscriptions'.SquareupApi.ListWorkweekConfigs
Retrieve workweek configurations for a business. This tool retrieves a list of workweek configurations, providing details about the workweek setup for a business.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
maximum_results_per_page | integer | Optional | Maximum number of WorkweekConfig results to return per page. |
pagination_cursor | string | Optional | Pointer to the next page of WorkweekConfig results to fetch. |
Requirements
Output
json— Response from the API endpoint 'ListWorkweekConfigs'.SquareupApi.ObtainOauthToken
Obtain OAuth access and refresh tokens. This tool is used to obtain an OAuth access token and refresh token using either the authorization_code or refresh_token grant type. It's applicable for both code flow and PKCE flow scenarios, depending on the credentials and additional parameters provided.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
application_id | string | Required | The Square-issued ID of your application, available as the Application ID in the Developer Console. Required for code and PKCE flows. |
oauth_grant_type | string | Required | Specifies the method for obtaining an OAuth access token. Choose from 'authorization_code', 'refresh_token', or 'migration_token'. |
application_client_secret | string | Optional | The application's secret key from the Developer Console, required for code flow. Distinct from a personal access token. |
application_redirect_url | string | Optional | The registered redirect URL for your application. Required for code flow and PKCE flow if `grant_type` is `authorization_code`. |
authorization_code | string | Optional | The authorization code for exchanging an OAuth access token, required for code flow and PKCE flow if `grant_type` is `authorization_code`. |
expire_token_in_24_hours | boolean | Optional | Set to true to make the access token expire in 24 hours. Optional for any grant type. |
legacy_migration_token | string | Optional | A valid legacy access token for generating a new OAuth access token, required if `grant_type` is `migration_token`. |
pkce_code_verifier | string | Optional | The secret your application generated for the authorization request, required for PKCE flow when `grant_type` is `authorization_code`. |
requested_scopes | array<string> | Optional | List of permissions for the access token, like ["MERCHANT_PROFILE_READ", "PAYMENTS_READ"]. Optional for certain flows. |
valid_refresh_token | string | Optional | A valid refresh token used to generate a new OAuth access token, returned in a previous ObtainToken response. Required for the code and PKCE flow if grant_type is refresh_token. |
Requirements
Output
json— Response from the API endpoint 'ObtainToken'.SquareupApi.PauseSubscription
Schedule a pause for an active subscription. Use this tool to pause an active subscription by scheduling a `PAUSE` action. Call it when you need to temporarily halt a subscription's services.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
subscription_id | string | Required | The unique ID of the subscription you want to pause. |
pause_cycle_count | integer | Optional | Specify the number of billing cycles to pause the subscription. A 'RESUME' action will be scheduled at the end of this period. Do not set 'resume_effective_date' or 'resume_change_timing' if this is used. |
pause_effective_date | string | Optional | The `YYYY-MM-DD`-formatted date when the scheduled `PAUSE` action occurs. If unspecified or within the current billing cycle, the subscription pauses at the start of the next cycle. |
pause_reason | string | Optional | The reason provided by the user for pausing the subscription. It should convey the rationale behind the pause action. |
reactivation_date | string | Optional | The date (YYYY-MM-DD) when the subscription is reactivated by a scheduled `RESUME` action. Must be at least one billing cycle after `pause_effective_date`. |
resume_change_timing | string | Optional | Specifies when the subscription resume action takes place. Options are 'IMMEDIATE' or 'END_OF_BILLING_CYCLE'. |
Requirements
Output
json— Response from the API endpoint 'PauseSubscription'.SquareupApi.PayOrder
Settle an order using approved payments. This tool is used to pay for an order with approved payments, or to mark an order with a total of 0 as paid. Ensure all payments reference the order correctly. Useful for completing transactions with delayed capture payments.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
order_id | string | Required | The unique identifier of the order to be paid. |
unique_transaction_identifier | string | Required | A unique string to identify the request and ensure the prevention of duplicate payments. Reuse the same key for retrying the same request. |
order_version | integer | Optional | Specify the version of the order to be paid. Defaults to latest if not provided. |
payment_ids_to_collect | array<string> | Optional | Array of payment IDs to collect; total must match the order total. |
Requirements
Output
json— Response from the API endpoint 'PayOrder'.SquareupApi.PreviewOrderPricing
Preview order pricing without creating an order. Call this tool to obtain an estimate of the pricing for an order without the need to actually create the order. Useful for displaying potential costs to customers before finalizing the transaction. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
mode | string | Required | Operation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operationget_request_schemaexecute |
request_body | string | Optional | Stringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema' |
Requirements
Output
json— Response from the API endpoint 'CalculateOrder'.SquareupApi.PublishInvoice
Publish a draft invoice with Square, updating its status. This tool publishes a specified draft invoice using Square's service, updating its status and triggering configured actions such as sending emails or charging stored cards. The tool should be called when an invoice needs to be finalized and sent or processed according to its settings.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
invoice_id | string | Required | The ID of the draft invoice that you wish to publish. This ID uniquely identifies the invoice within the system. |
invoice_version | integer | Required | Specify the current version number of the invoice to publish. This must match the existing invoice version to avoid rejection. |
unique_request_identifier | string | Optional | A unique string to identify the `PublishInvoice` request. If omitted or empty, each request is treated as independent. Refer to the Square documentation on idempotency for more information. |
Requirements
Output
json— Response from the API endpoint 'PublishInvoice'.SquareupApi.PublishScheduledShift
Publish a scheduled shift to make it official. Use this tool to publish a scheduled shift, confirming its details. The draft shift details are finalized and moved to the published shift details, marking the shift as official.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
scheduled_shift_id | string | Required | The ID of the scheduled shift to publish. |
unique_idempotency_key | string | Required | A unique identifier for ensuring the idempotency of the publish request. Prevents duplicate operations if the request is retried. |
current_shift_version | integer | Optional | The current version of the scheduled shift for optimistic concurrency control. If it doesn't match the server version, the request fails. |
notification_audience | string | Optional | Specify who receives email notifications when a scheduled shift is published. Options are: ALL, AFFECTED, NONE. |
Requirements
Output
json— Response from the API endpoint 'PublishScheduledShift'.SquareupApi.RecordTransferOrderReceipt
Record received items for a transfer order. Use this tool to record the receipt of items for a transfer order, including handling partial receipts and damaged items. It updates the inventory based on item condition and progresses the order status. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
mode | string | Required | Operation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operationget_request_schemaexecute |
transfer_order_id | string | Optional | The ID of the transfer order for which items are being received. This ID is required to process the receipt of items, including partial and damaged quantities, and update inventory accordingly. Required when mode is 'execute', ignored when mode is 'get_request_schema'. |
request_body | string | Optional | Stringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema' |
Requirements
Output
json— Response from the API endpoint 'ReceiveTransferOrder'.SquareupApi.RedeemLoyaltyReward
Redeem a loyalty reward for a customer purchase. Use this tool to mark a loyalty reward as redeemed after a customer has completed a purchase. Suitable for use when processing orders outside the Orders API. Once redeemed, rewards cannot be reversed.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
idempotency_key | string | Required | A unique string to identify this `RedeemLoyaltyReward` request, ensuring uniqueness for each request. |
location_id | string | Required | The ID of the location where the loyalty reward is redeemed. |
loyalty_reward_id | string | Required | The unique ID of the loyalty reward to redeem. Required for specifying which reward to process. |
Requirements
Output
json— Response from the API endpoint 'RedeemLoyaltyReward'.SquareupApi.RefundPayment
Refund a payment partially or fully using Square. Use this tool to refund the entire amount or a portion of a payment. It supports card payments as well as cash or external payments. Relevant for reversing transactions in case of errors or customer returns. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
mode | string | Required | Operation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operationget_request_schemaexecute |
request_body | string | Optional | Stringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema' |
Requirements
Output
json— Response from the API endpoint 'RefundPayment'.SquareupApi.RemoveCustomerGroup
Remove a group membership from a customer. Call this tool to remove a specific group association from a customer using their customer ID and group ID.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
customer_id | string | Required | The ID of the customer to remove from the group. Provide the unique identifier associated with the customer. |
group_id | string | Required | The unique identifier of the customer group to remove the customer from. |
Requirements
Output
json— Response from the API endpoint 'RemoveGroupFromCustomer'.SquareupApi.RemoveDisputeEvidence
Removes specified evidence from a dispute in Square. This tool should be called when there's a need to remove specific evidence from a dispute in the Square platform. It ensures the evidence is not sent to the bank by Square.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
dispute_id | string | Required | The ID of the dispute to remove evidence from. Provide a valid string ID to specify the dispute. |
evidence_id | string | Required | The ID of the evidence to be removed from the dispute. |
Requirements
Output
json— Response from the API endpoint 'DeleteDisputeEvidence'.SquareupApi.RemoveInvoiceAttachment
Removes an attachment from an invoice. Use this tool to permanently delete an attachment from an invoice. Applicable only for invoices in 'DRAFT', 'SCHEDULED', 'UNPAID', or 'PARTIALLY_PAID' states.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
attachment_id | string | Required | The unique identifier for the invoice attachment to be deleted. Required for removing the specified file from the invoice. |
invoice_identifier | string | Required | The unique ID of the invoice from which to delete the attachment. Applicable for specific invoice states. |
Requirements
Output
json— Response from the API endpoint 'DeleteInvoiceAttachment'.SquareupApi.RemoveLocationCustomAttribute
Delete a custom attribute from a location. Use this tool to delete a custom attribute associated with a specific location. The attribute must have a visibility setting of `VISIBILITY_READ_WRITE_VALUES` if owned by another application.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
custom_attribute_key | string | Required | The key of the custom attribute to delete, matching the key of a custom attribute definition in the Square seller account. Use the qualified key if not the definition owner. |
location_id | string | Required | The unique identifier for the target location where the custom attribute will be deleted. |
Requirements
Output
json— Response from the API endpoint 'DeleteLocationCustomAttribute'.SquareupApi.RemoveMerchantAttribute
Delete a custom attribute from a merchant. Use this tool to remove a custom attribute associated with a merchant in Squareup. Deletion is possible if the attribute's visibility setting is 'VISIBILITY_READ_WRITE_VALUES' when owned by another application.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
custom_attribute_key | string | Required | The key of the custom attribute to delete. Use the qualified key if the attribute is owned by another application. |
merchant_id | string | Required | The unique identifier of the merchant whose custom attribute is being deleted. |
Requirements
Output
json— Response from the API endpoint 'DeleteMerchantCustomAttribute'.SquareupApi.ResumeSubscription
Resume a paused or deactivated subscription. Use this tool to schedule a resume action for subscriptions that are currently paused or deactivated.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
subscription_id | string | Required | The ID of the subscription to resume. Provide a valid subscription ID string. |
resume_change_timing | string | Optional | Specify when the pending change to resume the subscription takes effect. Choose between 'IMMEDIATE' or 'END_OF_BILLING_CYCLE'. |
subscription_resume_effective_date | string | Optional | The `YYYY-MM-DD`-formatted date when the subscription is reactivated. |
Requirements
Output
json— Response from the API endpoint 'ResumeSubscription'.SquareupApi.RetrieveBooking
Retrieve detailed information about a booking. Use this tool to get comprehensive details of a specific booking by providing the booking ID. It requires appropriate OAuth permissions to access booking data.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
booking_id | string | Required | The ID of the Booking object to retrieve details for. |
Requirements
Output
json— Response from the API endpoint 'RetrieveBooking'.SquareupApi.RetrieveBookingCustomAttribute
Retrieve custom attributes of a booking. This tool retrieves a specific custom attribute for a booking using the booking ID and custom attribute key. Ensure proper OAuth permissions are set: `APPOINTMENTS_READ` for buyer-level, and `APPOINTMENTS_ALL_READ` with `APPOINTMENTS_READ` for seller-level.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
booking_id | string | Required | The unique identifier for the target booking. This ID is required to retrieve the specific custom attribute for the booking. |
custom_attribute_key | string | Required | The key of the custom attribute to retrieve. Must match the `key` of a custom attribute definition in the Square seller account. Use the qualified key if not the definition owner. |
custom_attribute_version | integer | Optional | The desired version for strong consistency reads of the custom attribute. Uses the specified version or a higher one if available. |
include_custom_attribute_definition | boolean | Optional | Set to true to include the custom attribute definition, providing name, description, and data type details. Default is false. |
Requirements
Output
json— Response from the API endpoint 'RetrieveBookingCustomAttribute'.SquareupApi.RetrieveBookingCustomAttributeDefinition
Retrieve a booking's custom attribute definition. Use this tool to retrieve detailed information about a specific booking's custom attribute definition. Ensure proper OAuth scope: `APPOINTMENTS_READ` for buyer-level or `APPOINTMENTS_ALL_READ` and `APPOINTMENTS_READ` for seller-level permissions.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
custom_attribute_key | string | Required | The key for the custom attribute definition to retrieve. Use a qualified key if not the definition owner. |
current_version_of_custom_attribute_definition | integer | Optional | The current version of the custom attribute definition for consistent reads. Provides the specified version or higher if available. Returns `BAD_REQUEST` if the version is higher than current. |
Requirements
Output
json— Response from the API endpoint 'RetrieveBookingCustomAttributeDefinition'.SquareupApi.RetrieveBookingProfile
Retrieve a seller's booking profile information. Use this tool to obtain details about a seller's booking profile. Ideal for acquiring booking-related information for businesses.
Parameters
No parameters required.
Requirements
Output
json— Response from the API endpoint 'RetrieveBusinessBookingProfile'.SquareupApi.RetrieveBookings
Retrieve a collection of bookings. Call this tool to get a list of bookings. Ensure appropriate OAuth scopes are set depending on buyer-level or seller-level permissions.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
customer_id_for_bookings | string | Optional | The ID of the customer for whom to retrieve bookings. If not provided, retrieves bookings for all customers. |
earliest_start_time | string | Optional | The RFC 3339 timestamp specifying the earliest start time for bookings. Defaults to current time if not set. |
latest_start_time | string | Optional | The latest possible start time of bookings in RFC 3339 format. Defaults to 31 days after `start_at_min` if not set. |
max_results_per_page | integer | Optional | The maximum number of results per page to return in a paged response. |
pagination_cursor | string | Optional | The pagination cursor for the next page of results. Leave empty for the first page. |
specific_location_id | string | Optional | Retrieve bookings for a specific location by its ID. If not set, retrieves bookings for all locations. |
team_member_id | string | Optional | The ID of the team member to retrieve bookings for. Leave unset to retrieve bookings for all members. |
Requirements
Output
json— Response from the API endpoint 'ListBookings'.SquareupApi.RetrieveCardDetails
Retrieve details for a specific card. Use this tool to get information about a specific card by providing the card ID.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
card_id | string | Required | Unique ID for the desired card to retrieve its details. |
Requirements
Output
json— Response from the API endpoint 'RetrieveCard'.SquareupApi.RetrieveCashDrawerShiftSummary
Retrieve summary details for a specific cash drawer shift. This tool fetches summary details for a single cash drawer shift. It should be used when you need to know the specifics of a particular shift, such as its total cash movements and status. Ideal for financial reconciliations and auditing tasks.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
location_identifier | string | Required | The unique ID of the location to retrieve cash drawer shifts from. |
shift_identifier | string | Required | The unique ID of the specific cash drawer shift to retrieve details for. |
Requirements
Output
json— Response from the API endpoint 'RetrieveCashDrawerShift'.SquareupApi.RetrieveCatalogObjects
Retrieve detailed catalog objects by provided IDs. This tool retrieves a set of catalog objects based on provided IDs, including comprehensive details like item variations, modifier lists, and applicable tax IDs.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
catalog_object_ids | array<string> | Required | An array of IDs representing the CatalogObjects to retrieve. Each ID must be a string. |
catalog_version | integer | Optional | The specific version of catalog objects to retrieve, allowing access to historical data. If omitted, the current version is used. |
include_category_path_to_root | boolean | Optional | Include the `path_to_root` list for each returned category instance if set to true. Shows the path from parent categories to root. |
include_deleted_objects | boolean | Optional | Set to `true` to include deleted objects (`is_deleted` attribute) in the response. |
include_related_objects | boolean | Optional | If true, include additional related objects in the response. These are objects referenced by ID, included one level deep. Defaults to false. |
Requirements
Output
json— Response from the API endpoint 'BatchRetrieveCatalogObjects'.SquareupApi.RetrieveChannelInfo
Retrieve detailed information about a specific channel. Use this tool to obtain detailed information about a channel using its channel ID.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
channel_id | string | Required | The unique identifier for the channel to retrieve information about. |
Requirements
Output
json— Response from the API endpoint 'RetrieveChannel'.SquareupApi.RetrieveCustomerDetails
Retrieve detailed information for a specific customer. Use this tool to obtain detailed information about a single customer by their ID. Ideal for cases where customer-specific information is needed, such as contact details, purchase history, or personalized service.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
customer_id | string | Required | The unique identifier of the customer to retrieve details for. |
Requirements
Output
json— Response from the API endpoint 'RetrieveCustomer'.SquareupApi.RetrieveDeviceById
Retrieve specific device information using its ID. Call this tool to obtain details about a specific device using its unique ID. Useful for accessing device-related information in Square's system.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
device_identifier | string | Required | The unique identifier for the device to retrieve information from Square's system. |
Requirements
Output
json— Response from the API endpoint 'GetDevice'.SquareupApi.RetrieveDeviceCode
Retrieve device code details by ID. Use this tool to obtain device code details when given a specific ID.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
device_code_id | string | Required | The unique identifier for the device code to retrieve its details. |
Requirements
Output
json— Response from the API endpoint 'GetDeviceCode'.SquareupApi.RetrieveDisputeDetails
Retrieve details about a specific dispute using its ID. Call this tool to obtain information about a particular dispute, including its details, by providing the dispute ID.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
dispute_id | string | Required | The unique identifier for the dispute you want to retrieve details about. |
Requirements
Output
json— Response from the API endpoint 'RetrieveDispute'.SquareupApi.RetrieveGiftCard
Retrieve a gift card using its account number. This tool retrieves details of a gift card by using the gift card account number (GAN). It should be called when you need to access information about a specific gift card.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
gift_card_account_number | string | Required | The account number (GAN) of the gift card to retrieve. Max length 255 digits; Square-issued GANs have 16 digits. |
Requirements
Output
json— Response from the API endpoint 'RetrieveGiftCardFromGAN'.SquareupApi.RetrieveGiftCardFromToken
Retrieve a gift card using a secure token. Call this tool to obtain gift card details using a secure payment token.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
secure_payment_token | string | Required | The secure payment token used to retrieve the gift card. Generated by the Web Payments SDK or In-App Payments SDK. |
Requirements
Output
json— Response from the API endpoint 'RetrieveGiftCardFromNonce'.SquareupApi.RetrieveGiftCardSquareup
Retrieve gift card details using a gift card ID. Use this tool to obtain information about a specific gift card by providing its ID. Ideal for checking balance, status, or other gift card details.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
gift_card_id | string | Required | The unique ID of the gift card to retrieve information. |
Requirements
Output
json— Response from the API endpoint 'RetrieveGiftCard'.SquareupApi.RetrieveInventoryAdjustment
Fetches inventory adjustment details by ID. Use this tool to get details of a specific inventory adjustment by its ID. Ideal for tracking changes in inventory levels.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
inventory_adjustment_id | string | Required | ID of the InventoryAdjustment to retrieve. |
Requirements
Output
json— Response from the API endpoint 'RetrieveInventoryAdjustment'.SquareupApi.RetrieveInventoryCounts
Retrieve current inventory counts for specific items and locations. Call this tool to get current inventory counts for specified catalog objects at specific locations. Results are sorted by newest first and can be filtered by changes since a given timestamp to facilitate synchronization.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
filter_by_catalog_object_ids | array<string> | Optional | A list of `CatalogObject` IDs to filter the inventory results. Only applicable when set. |
filter_by_location_ids | array<string> | Optional | An array of Location IDs to filter inventory counts. Only applicable when set. |
filter_by_updated_after_timestamp | string | Optional | Filter results to include only those with a `calculated_at` timestamp after the specified RFC 3339 time. Default is the UNIX epoch. |
inventory_state_filters | array<string> | Optional | Filter results by specific inventory states. Ignored states: NONE, SOLD, UNLINKED_RETURN. Provide as an array of strings. |
pagination_cursor | string | Optional | A pagination cursor to retrieve the next set of results for the original query. |
record_limit | integer | Optional | Specify the number of inventory count records to return. |
Requirements
Output
json— Response from the API endpoint 'BatchRetrieveInventoryCounts'.SquareupApi.RetrieveInventoryTransfer
Retrieve detailed inventory transfer information. Use this tool to obtain information about a specific inventory transfer using the transfer ID.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
inventory_transfer_id | string | Required | The unique identifier for the InventoryTransfer to retrieve. |
Requirements
Output
json— Response from the API endpoint 'RetrieveInventoryTransfer'.SquareupApi.RetrieveInvoiceById
Retrieve invoice details using an invoice ID. Use this tool to get detailed information of an invoice by providing a specific invoice ID.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
invoice_id | string | Required | The ID of the invoice to retrieve. This should be a unique string representing a specific invoice. |
Requirements
Output
json— Response from the API endpoint 'GetInvoice'.SquareupApi.RetrieveJobDetails
Retrieve details of a specified job. Use this tool to fetch detailed information about a specific job using the job's unique identifier.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
job_identifier | string | Required | The unique string ID of the job to retrieve details for. |
Requirements
Output
json— Response from the API endpoint 'RetrieveJob'.SquareupApi.RetrieveLocationCustomAttributeDefinition
Retrieve a location's custom attribute definition. Use this tool to obtain the custom attribute definition for a specified location in a Square seller account. Ensure the attribute's visibility is set appropriately to access it.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
custom_attribute_key | string | Required | The key for the custom attribute definition to retrieve, using the qualified key if not the owner. |
current_custom_attribute_version | integer | Optional | The version number of the custom attribute definition for consistent reads. Must match the current or higher version. |
Requirements
Output
json— Response from the API endpoint 'RetrieveLocationCustomAttributeDefinition'.SquareupApi.RetrieveLocationDetails
Retrieve details of a specific business location. Use this tool to get information about a specific location by providing its ID. Specify 'main' to get details of the main location.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
location_id | string | Required | The ID of the location to retrieve. Use "main" to return the main location details. |
Requirements
Output
json— Response from the API endpoint 'RetrieveLocation'.SquareupApi.RetrieveLocationSettings
Retrieve settings for a Square-hosted checkout page location. Call this tool to get the specific settings configured for a location's Square-hosted checkout page. Useful for understanding location-specific checkout configurations.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
location_id | string | Required | The unique ID of the location for which to retrieve the checkout page settings. |
Requirements
Output
json— Response from the API endpoint 'RetrieveLocationSettings'.SquareupApi.RetrieveLoyaltyAccount
Retrieve details of a specific loyalty account. This tool fetches the information of a specific loyalty account using the account ID. Use it to access a member's loyalty details and activities.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
loyalty_account_id | string | Required | The unique identifier of the loyalty account to retrieve. |
Requirements
Output
json— Response from the API endpoint 'RetrieveLoyaltyAccount'.SquareupApi.RetrieveLoyaltyPromotion
Retrieve details of a specific loyalty promotion. Use this tool to obtain information about a particular loyalty promotion by providing the program and promotion IDs. It should be called when you need to view the specifics of a loyalty promotion.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
loyalty_program_id | string | Required | The ID of the base loyalty program. Obtain this by calling the RetrieveLoyaltyProgram API using the 'main' keyword. |
promotion_id | string | Required | The ID of the loyalty promotion to retrieve. This ID is necessary to specify which promotion details to access. |
Requirements
Output
json— Response from the API endpoint 'RetrieveLoyaltyPromotion'.SquareupApi.RetrieveMerchantCustomAttribute
Retrieve a custom attribute associated with a merchant. Use this tool to get a specific custom attribute of a merchant, optionally including the attribute's definition. This can be used when you need to access merchant-specific settings or details defined by custom attributes.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
custom_attribute_key | string | Required | The key of the custom attribute to retrieve, matching the `key` of a custom attribute definition in the Square seller account. |
merchant_identifier | string | Required | The unique identifier of the target merchant to retrieve the custom attribute for. |
custom_attribute_version | integer | Optional | Integer value representing the custom attribute's current version for consistent reads. If specified version exceeds current, an error is returned. |
include_custom_attribute_definition | boolean | Optional | Set to true to return the custom attribute definition, including name, description, and data type. Defaults to false. |
Requirements
Output
json— Response from the API endpoint 'RetrieveMerchantCustomAttribute'.SquareupApi.RetrieveMerchantInfo
Retrieve merchant details using their ID. Use this tool to get comprehensive information about a merchant by providing the merchant ID. This is useful for obtaining merchant-specific data, such as business details or other relevant merchant information.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
merchant_id | string | Required | The ID of the merchant to retrieve. Use 'me' to get the merchant accessible to this call. |
Requirements
Output
json— Response from the API endpoint 'RetrieveMerchant'.SquareupApi.RetrieveMultipleOrders
Retrieve multiple orders using their IDs. This tool retrieves details of multiple orders from Square using their IDs. It ignores any non-existent order IDs, ensuring no errors are returned for invalid IDs.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
order_ids_list | array<string> | Required | An array of order IDs to retrieve, with a maximum of 100 per request. |
location_id | string | Optional | Optional location ID for the orders. Omit to use the current merchant's ID. |
Requirements
Output
json— Response from the API endpoint 'BatchRetrieveOrders'.SquareupApi.RetrieveOnlineSiteSnippet
Retrieve a specific snippet from a Square Online site. Use this tool to get the snippet added by your application to a specific Square Online site. Ensure you have the site ID, which can be obtained by calling the ListSites API.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
site_identifier | string | Required | The unique ID of the Square Online site containing the snippet to retrieve. |
Requirements
Output
json— Response from the API endpoint 'RetrieveSnippet'.SquareupApi.RetrieveOrderById
Retrieve an order's details using its ID. Use this tool to fetch the details of a specific order by providing its ID. It simplifies the process of obtaining order information from the Square API.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
order_id | string | Required | The unique identifier of the order to retrieve from the Square API. |
Requirements
Output
json— Response from the API endpoint 'RetrieveOrder'.SquareupApi.RetrieveOrderCustomAttribute
Retrieve a custom attribute for a specified order. Use this tool to get a custom attribute linked to an order. It can also retrieve the custom attribute definition if needed. Visibility settings determine if attributes from other applications can be accessed.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
custom_attribute_key | string | Required | The key for the custom attribute to retrieve, matching an existing attribute definition key. |
order_id | string | Required | The unique ID of the target order to retrieve the custom attribute for. |
custom_attribute_version | integer | Optional | Specify the current version of the custom attribute for optimistic concurrency control. |
include_custom_attribute_definition | boolean | Optional | Set to true to include custom attribute definition details such as name, description, and data type. Defaults to false. |
Requirements
Output
json— Response from the API endpoint 'RetrieveOrderCustomAttribute'.SquareupApi.RetrieveOrderCustomAttributeDefinition
Retrieve a custom attribute definition for an order. This tool retrieves an order-related custom attribute definition from a Square seller account. It should be called when you need to access specific custom attribute information related to orders. Custom attributes must have visibility settings of VISIBILITY_READ_ONLY or VISIBILITY_READ_WRITE_VALUES unless defined by the seller.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
custom_attribute_key | string | Required | The key of the custom attribute definition you want to retrieve. This should match the key set in Square seller account. |
current_custom_attribute_version | integer | Optional | Specify the current version of the custom attribute for optimistic concurrency control. |
Requirements
Output
json— Response from the API endpoint 'RetrieveOrderCustomAttributeDefinition'.SquareupApi.RetrievePaymentLink
Retrieve a payment link using its ID. This tool retrieves details of a payment link by its unique ID. It's useful for getting information about a specific payment link set up in your Square account.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
payment_link_id | string | Required | The unique ID of the payment link to retrieve. |
Requirements
Output
json— Response from the API endpoint 'RetrievePaymentLink'.SquareupApi.RetrievePaymentsList
Retrieve a list of payments from your account. Use this tool to access a list of payments made through your account. It provides a consistent overview of payment transactions, with a maximum of 100 results per page. Note that changes to payments may take a few seconds to reflect.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
card_last_four_digits | string | Optional | Filter payments by the last four digits of the payment card used. |
end_time | string | Optional | End of the time range for retrieving payments, in RFC 3339 format. Defaults to the current time. |
end_time_updated_for_payments | string | Optional | The end time for retrieving payments, in RFC 3339 format, based on `updated_at`. |
is_offline_payment | boolean | Optional | Set to true to include offline payments, or false to exclude them. |
max_results_per_page | integer | Optional | The maximum number of payment results to return per page (up to 100). Defaults to 100 if more is specified. |
offline_end_time | string | Optional | The end time in RFC 3339 format for retrieving offline payments, based on the `offline_payment_details.client_created_at` field. Default is the current time. |
offline_payment_start_time | string | Optional | Start of the time range for retrieving offline payments in RFC 3339 format. Uses 'offline_payment_details.client_created_at'. |
pagination_cursor | string | Optional | A pagination cursor for fetching the next set of payment results from the ListPayments endpoint. |
payment_card_brand | string | Optional | The brand of the payment card to filter payments (e.g., VISA, MasterCard). |
results_sort_order | string | Optional | Specify the order of the results: `ASC` for oldest to newest, `DESC` for newest to oldest (default). |
sort_by_field | string | Optional | Choose the field to sort results by. Options: `CREATED_AT`, `OFFLINE_CREATED_AT`, `UPDATED_AT`. Default is `CREATED_AT`. |
specific_location_id | string | Optional | Limit results to the specified location ID. Defaults to the main location associated with the seller. |
start_time_range | string | Optional | Start time to retrieve payments, in RFC 3339 format. Defaults to one year ago if not specified. |
total_payment_amount | integer | Optional | The exact amount in the total_money field for a payment. Use an integer to specify the amount in cents. |
updated_at_start_time | string | Optional | Start of the time range for retrieving payments based on the `updated_at` field, in RFC 3339 format. |
Requirements
Output
json— Response from the API endpoint 'ListPayments'.SquareupApi.RetrieveRefundDetails
Retrieve details of a specific refund using the refund ID. Use this tool to get detailed information about a refund by providing the refund ID. It's useful for checking the status and details of a refund processed through Square.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
refund_unique_id | string | Required | The unique ID for the specific refund to retrieve details for. |
Requirements
Output
json— Response from the API endpoint 'GetPaymentRefund'.SquareupApi.RetrieveSalesChannels
Retrieve bulk information about sales channels. Use this tool to fetch detailed information about multiple sales channels for business operations.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
channel_identifiers | array<string> | Required | A list of IDs representing sales channels to retrieve details for. |
Requirements
Output
json— Response from the API endpoint 'BulkRetrieveChannels'.SquareupApi.RetrieveScheduledShift
Retrieve details of a scheduled shift by ID. Use this tool to obtain information about a specific scheduled shift using its ID. This is useful for accessing shift details in scheduling and labor management systems.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
scheduled_shift_id | string | Required | The unique identifier of the scheduled shift to retrieve details for. |
Requirements
Output
json— Response from the API endpoint 'RetrieveScheduledShift'.SquareupApi.RetrieveSellerLocationBookingProfile
Retrieve a seller's location booking profile. Use this tool to get details about a seller's location booking profile by providing the location ID.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
location_id | string | Required | The ID of the location for which to retrieve the booking profile. |
Requirements
Output
json— Response from the API endpoint 'RetrieveLocationBookingProfile'.SquareupApi.RetrieveSquareMerchantSettings
Retrieve Square merchant settings for checkout pages. Use this tool to get the settings for a merchant's Square-hosted checkout page, which could be useful for understanding or managing the checkout configuration.
Parameters
No parameters required.
Requirements
Output
json— Response from the API endpoint 'RetrieveMerchantSettings'.SquareupApi.RetrieveSubscriptionDetails
Retrieve details of a specific subscription using its ID. Use this tool to obtain information about a subscription by providing its unique subscription ID. Useful for accessing current subscription status, billing, and service details.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
subscription_id | string | Required | The unique ID of the subscription to retrieve details for. Necessary to specify which subscription to access. |
include_related_info | string | Optional | Specify related info to include in the response. Use 'actions' to include scheduled actions on the subscription. |
Requirements
Output
json— Response from the API endpoint 'RetrieveSubscription'.SquareupApi.RetrieveTeamBookingProfiles
Retrieve booking profiles for one or more team members. Use this tool to get booking profiles of specified team members. Useful for accessing and managing team members' booking information.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
team_member_ids | array<string> | Required | A non-empty list of team member IDs to retrieve booking profiles for. |
Requirements
Output
json— Response from the API endpoint 'BulkRetrieveTeamMemberBookingProfiles'.SquareupApi.RetrieveTeamMemberWageSetting
Retrieve wage settings for a specified team member. This tool retrieves the wage settings of a team member using their TeamMember ID. It's useful for accessing specific wage details related to a team member. If troubleshooting is needed, refer to the linked Square documentation.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
team_member_id | string | Required | The unique identifier for the team member whose wage setting needs to be retrieved. |
Requirements
Output
json— Response from the API endpoint 'RetrieveWageSetting'.SquareupApi.RetrieveTerminalAction
Retrieve a Terminal action request by action ID. Call this tool to get detailed information about a specific Terminal action using its action ID. Terminal action requests are available for retrieval up to 30 days.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
terminal_action_id | string | Required | Unique ID for the desired Terminal Action. This is required to retrieve the specific action request. |
Requirements
Output
json— Response from the API endpoint 'GetTerminalAction'.SquareupApi.RetrieveTerminalCheckout
Retrieve a Terminal checkout request by checkout ID. Use this tool to get details of a Terminal checkout request using a specific checkout ID. Ideal for accessing checkout information within a 30-day period.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
checkout_id | string | Required | The unique ID for the desired TerminalCheckout request. Use this ID to retrieve specific checkout details. |
Requirements
Output
json— Response from the API endpoint 'GetTerminalCheckout'.SquareupApi.RetrieveTokenStatus
Retrieve the status of an OAuth or personal access token. Use this tool to get information on the validity and status of an OAuth access token or a personal access token. Call this tool to check if a token is expired or unauthorized.
Parameters
No parameters required.
Requirements
Output
json— Response from the API endpoint 'RetrieveTokenStatus'.SquareupApi.RetrieveTransferOrderDetails
Retrieve detailed information of a specific transfer order. Use this tool to get comprehensive details of a transfer order by providing its ID. This includes status, dates, notes, line items, source and destination locations, and tracking info if available.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
transfer_order_id | string | Required | The ID of the transfer order to retrieve, required to get order details. |
Requirements
Output
json— Response from the API endpoint 'RetrieveTransferOrder'.SquareupApi.RetrieveVendorDetails
Retrieve detailed information about a vendor by ID. This tool retrieves information about a specific vendor using their Vendor ID and should be called when vendor details are needed.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
vendor_id | string | Required | The unique ID of the vendor to retrieve details for. |
Requirements
Output
json— Response from the API endpoint 'RetrieveVendor'.SquareupApi.RetrieveVendors
Retrieve detailed information about specific vendors. Use this tool to obtain detailed information for vendors by their IDs. Ideal for managing vendor relationships or verifying vendor details.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
vendor_ids | array<string> | Optional | List of vendor IDs to retrieve details for. Provide the IDs as an array of strings. |
Requirements
Output
json— Response from the API endpoint 'BulkRetrieveVendors'.SquareupApi.RetrieveWebhookSubscription
Retrieve details of a specific webhook subscription. This tool retrieves information about a specific webhook subscription using its unique ID. It should be called when you need to access details of a webhook provided by the subscription ID.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
webhook_subscription_id | string | Required | The unique ID of the webhook subscription to retrieve. |
Requirements
Output
json— Response from the API endpoint 'RetrieveWebhookSubscription'.SquareupApi.RevokeOauthAccessToken
Revoke all OAuth access tokens for an account. This tool revokes all OAuth access tokens for a given account associated with your application. It should be called when you need to invalidate the access tokens generated through the OAuth flow. Note that all tokens will be revoked regardless of which one is specified.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
application_client_id | string | Optional | The Square-issued ID for your application, found on the OAuth page in the Developer Dashboard. |
merchant_access_token | string | Optional | The access token of the merchant whose token you want to revoke. Cannot be used with `merchant_id`. |
merchant_id_to_revoke | string | Optional | The merchant ID whose token you want to revoke. Do not use if 'access_token' is provided. |
terminate_single_access_token | boolean | Optional | If true, terminate only the specified access token without revoking the entire authorization. Defaults to false. |
Requirements
Output
json— Response from the API endpoint 'RevokeToken'.SquareupApi.SearchBookingAvailability
Find available booking slots for appointments. Use this tool to search for available booking slots. It requires appropriate permissions depending on user level (buyer or seller). Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
mode | string | Required | Operation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operationget_request_schemaexecute |
request_body | string | Optional | Stringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema' |
Requirements
Output
json— Response from the API endpoint 'SearchAvailability'.SquareupApi.SearchCatalogItems
Find catalog items or variations based on search filters. Use this tool to search for catalog items or item variations by matching supported search attributes and custom attribute values against specified query filters. This tool is specifically for searching items or item variations, unlike the broader SearchCatalogObjects endpoint. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
mode | string | Required | Operation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operationget_request_schemaexecute |
request_body | string | Optional | Stringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema' |
Requirements
Output
json— Response from the API endpoint 'SearchCatalogItems'.SquareupApi.SearchCatalogObjects
Search for catalog objects using specified query filters. Use this tool to search for any type of catalog object through the Squareup API by matching supported search attribute values. This tool is ideal for retrieving catalog objects, including deleted ones, based on provided query filters. It's useful for comprehensive catalog searches excluding custom attribute values. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
mode | string | Required | Operation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operationget_request_schemaexecute |
request_body | string | Optional | Stringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema' |
Requirements
Output
json— Response from the API endpoint 'SearchCatalogObjects'.SquareupApi.SearchInvoices
Search for invoices based on location and optional customer. This tool searches for invoices from a specified location and can filter by customer. It supports pagination; if results are truncated, a cursor is provided for retrieving more invoices.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
location_id | array<string> | Required | Specify the location ID to limit the invoice search. Only one location ID can be provided. |
customer_id | array<string> | Optional | Specify the customer ID to limit the search to invoices for that customer. Only one customer can be specified. |
maximum_invoice_count | integer | Optional | The maximum number of invoices to return, up to 200. Defaults to 100 if not specified. |
pagination_cursor | string | Optional | A cursor to retrieve the next set of results for pagination. Use the cursor from the previous response. |
sort_by_field | string | Optional | Specify the field for sorting results. Default is 'INVOICE_SORT_DATE'. |
sort_order | string | Optional | The order in which results are returned, either 'DESC' for descending or 'ASC' for ascending. |
Requirements
Output
json— Response from the API endpoint 'SearchInvoices'.SquareupApi.SearchLoyaltyAccounts
Search for loyalty accounts by phone number or customer ID. This tool searches for loyalty accounts within a loyalty program. Use it when you need to find accounts based on a phone number or customer ID. To retrieve all accounts, you can leave the query empty. The results are sorted by the account creation date. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
mode | string | Required | Operation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operationget_request_schemaexecute |
request_body | string | Optional | Stringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema' |
Requirements
Output
json— Response from the API endpoint 'SearchLoyaltyAccounts'.SquareupApi.SearchLoyaltyEvents
Retrieve and search for Square loyalty events. This tool allows you to search for loyalty events within a Square loyalty program, which logs events such as points earned, redeemed, or expired. Use this tool to get details of these events sorted by creation date.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
end_time | string | Optional | Datetime in RFC 3339 format indicating when the time range ends for the search. |
location_ids_for_events_query | array<string> | Optional | List of Location IDs for querying loyalty events. Multiple IDs use OR logic. |
loyalty_account_id | string | Optional | The ID of the loyalty account associated with the events to filter. |
loyalty_event_types | array<string> | Optional | Array of loyalty event types to filter results. Multiple values are combined using OR logic. Refer to LoyaltyEventType for options. |
max_results_count | integer | Optional | The maximum number of loyalty events to include in the response. Defaults to 30. |
order_id_filter | string | Optional | The ID of the order associated with the event to filter results. |
pagination_cursor | string | Optional | Provide a pagination cursor to retrieve the next set of results from a previous query. |
start_datetime | string | Optional | A datetime value in RFC 3339 format indicating when the time range starts for the search query. |
Requirements
Output
json— Response from the API endpoint 'SearchLoyaltyEvents'.SquareupApi.SearchLoyaltyRewards
Search for loyalty rewards with optional filters. This tool searches for loyalty rewards and can retrieve results for all loyalty accounts when no filters are applied. If a query object is used, the `loyalty_account_id` is required, while `status` is optional. Results are sorted by `updated_at` in descending order.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
loyalty_account_id | string | Optional | The ID of the loyalty account to which the loyalty reward belongs. Required if using a query object. |
maximum_results | integer | Optional | The maximum number of loyalty reward results to return. Default is 30. |
pagination_cursor | string | Optional | A cursor for pagination to retrieve the next set of results from a previous call. |
reward_status | string | Optional | The status of the loyalty reward. Options: ISSUED, REDEEMED, DELETED. |
Requirements
Output
json— Response from the API endpoint 'SearchLoyaltyRewards'.SquareupApi.SearchSquareCustomers
Search customer profiles in a Square account. Use this tool to search for customer profiles in a Square account by applying various query filters. If no filters are provided, it returns all profiles sorted alphabetically by name. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
mode | string | Required | Operation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operationget_request_schemaexecute |
request_body | string | Optional | Stringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema' |
Requirements
Output
json— Response from the API endpoint 'SearchCustomers'.SquareupApi.SearchSquareEvents
Search for Square API events within a specified timeframe. Use this tool to find events from the Square API that have occurred within a 28-day period. Ideal for tracking event history and obtaining specific event details.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
end_time_range | string | Optional | A datetime in RFC 3339 format marking the end of the time range for the event search. |
filter_by_location_ids | array<string> | Optional | An array of location IDs to filter events by specific locations. |
filter_event_types | array<string> | Optional | A list of event types to filter the search results by. Each event type should be a string. |
maximum_events_per_page | integer | Optional | Specify the maximum number of events to return per page, up to 100. |
merchant_ids_filter | array<string> | Optional | An array of merchant IDs used to filter events by merchant. |
pagination_cursor | string | Optional | A pagination cursor for retrieving the next set of events from a previous search query. |
sort_key_for_event_search | string | Optional | Set the key by which to sort the returned events. Options include 'DEFAULT'. |
sort_order | string | Optional | Specify the order (chronological or alphabetical) for sorting results. Choose 'ASC' for ascending or 'DESC' for descending order. |
time_range_start | string | Optional | Datetime value in RFC 3339 format indicating the start of the event timeframe. |
Requirements
Output
json— Response from the API endpoint 'SearchEvents'.SquareupApi.SearchSquareOrders
Search and retrieve orders from Square locations. Use this tool to search for all orders across specified Square locations, including sales, returns, and exchanges. The search can include filters, sorting, and specify whether to return detailed order information or a summary. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
mode | string | Required | Operation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operationget_request_schemaexecute |
request_body | string | Optional | Stringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema' |
Requirements
Output
json— Response from the API endpoint 'SearchOrders'.SquareupApi.SearchSubscriptions
Search for subscriptions by location and customer IDs. This tool searches for subscriptions, ordering them by creation date, location, and optionally by customer IDs. If no location or customer IDs are provided, it searches across all available locations and customers.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
customer_ids_to_filter | array<string> | Optional | A list of customer IDs to filter subscriptions by. Leave empty to include all customers. |
filter_by_location_ids | array<string> | Optional | An array of location IDs to filter subscriptions by location. |
filter_by_source_applications | array<string> | Optional | A list of source application names to filter subscriptions by. |
include_related_info | array<string> | Optional | Specify related information to include in the response, such as 'actions' for scheduled actions on subscriptions. |
max_subscriptions_returned | integer | Optional | Defines the maximum number of subscriptions to return in a single response. |
pagination_cursor | string | Optional | Cursor for fetching the next set of subscription results if previous results exceeded the limit. If not set, returns the last page of results. |
Requirements
Output
json— Response from the API endpoint 'SearchSubscriptions'.SquareupApi.SearchTeamMembers
Retrieve a filtered list of team members for a business. This tool retrieves a paginated list of `TeamMember` objects associated with a business. It allows filtering by location IDs, status (`ACTIVE` or `INACTIVE`), or whether the team member is the Square account owner. Use this to manage or view team member details based on specific criteria.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
filter_by_location_ids | array<string> | Optional | Filter team members by specified location IDs. If empty, includes all locations. |
maximum_team_members_per_page | integer | Optional | Specify the maximum number of team members to return per page, default is 100. |
pagination_cursor | string | Optional | The cursor used to retrieve the next page of results in a paginated list. |
return_account_owner_only | boolean | Optional | Set to true to return only the team member who is the Square account owner. |
team_member_status | string | Optional | Filter team members by their status: 'ACTIVE' or 'INACTIVE'. |
Requirements
Output
json— Response from the API endpoint 'SearchTeamMembers'.SquareupApi.SearchTerminalActions
Retrieve a filtered list of terminal action requests. Use this tool to get a list of terminal action requests created by your account. Terminal actions are accessible for 30 days.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
device_id_filter | string | Optional | Filter TerminalActions by a specific device ID. Leave blank to include all devices. |
end_time_rfc3339 | string | Optional | A datetime in RFC 3339 format indicating the end of the time range. |
filter_terminal_action_status | string | Optional | Filter results by the status of the TerminalAction (e.g., `PENDING`, `IN_PROGRESS`, `CANCEL_REQUESTED`, `CANCELED`, `COMPLETED`). |
pagination_cursor | string | Optional | A pagination cursor from a previous response to retrieve the next set of results. |
result_limit | integer | Optional | Limit the number of results returned for a single request. |
result_sort_order | string | Optional | Defines the order ('DESC' or 'ASC') for sorting the terminal action requests. |
start_time_rfc3339 | string | Optional | The start datetime in RFC 3339 format for filtering terminal actions. |
terminal_action_type | string | Optional | Specify the type of terminal action, such as 'QR_CODE', 'PING', etc. This helps filter actions by their purpose. |
Requirements
Output
json— Response from the API endpoint 'SearchTerminalActions'.SquareupApi.SearchTerminalCheckouts
Retrieve filtered Terminal checkout requests for the merchant. This tool returns a filtered list of Terminal checkout requests created specifically by the application making the request. It should be called when there's a need to access Terminal checkout requests for the merchant associated with the OAuth token. Requests are available for 30 days.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
checkout_status_filter | string | Optional | Specify the desired status to filter TerminalCheckout results. Options: PENDING, IN_PROGRESS, CANCEL_REQUESTED, CANCELED, COMPLETED. |
device_id_filter | string | Optional | Filters TerminalCheckout objects associated with a specific device. Omitting this shows checkouts for all devices. |
end_time_rfc3339 | string | Optional | A datetime in RFC 3339 format indicating when the time range ends. |
pagination_cursor | string | Optional | A pagination cursor from a previous call, used to fetch the next set of results for the same query. Useful for traversing paginated results. |
result_limit | integer | Optional | Maximum number of results to return in a single request. |
result_sort_order | string | Optional | Specifies the order (DESC or ASC) for results in a request, such as chronological or alphabetical. |
start_time_range | string | Optional | The start datetime for the TerminalCheckout search in RFC 3339 format. |
Requirements
Output
json— Response from the API endpoint 'SearchTerminalCheckouts'.SquareupApi.SearchTerminalRefunds
Retrieve a filtered list of Interac Terminal refund requests. Use this tool to get Interac Terminal refund requests created by the seller, available for up to 30 days. Ideal for managing recent refund activities or auditing transactions.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
device_id_filter | string | Optional | `TerminalRefund` objects associated with a specific device. If not provided, all refunds for the account are displayed. |
end_time_range | string | Optional | A datetime value in RFC 3339 format indicating the end of the time range for filtering terminal refund requests. |
filter_terminal_refund_status | string | Optional | Filter terminal refunds by status. Options: `PENDING`, `IN_PROGRESS`, `CANCEL_REQUESTED`, `CANCELED`, or `COMPLETED`. |
pagination_cursor | string | Optional | A cursor to paginate results, used to retrieve the next set from a previous query. |
result_limit | integer | Optional | Specifies the maximum number of refund results to retrieve in a single request. |
sort_order | string | Optional | The order in which terminal refund results are listed. Use 'ASC' for oldest to newest or 'DESC' for newest to oldest (default). |
start_datetime | string | Optional | A datetime in RFC 3339 format. Indicates when the time range starts for filtering terminal refunds. |
Requirements
Output
json— Response from the API endpoint 'SearchTerminalRefunds'.SquareupApi.SearchTimecards
Retrieve filtered and sorted timecard records for a business. Use to get a list of timecard records filtered by location IDs, team member IDs, status, start and end times, or workday details. The records can also be sorted by start, end, creation, or update times. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
mode | string | Required | Operation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operationget_request_schemaexecute |
request_body | string | Optional | Stringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema' |
Requirements
Output
json— Response from the API endpoint 'SearchTimecards'.SquareupApi.SearchTransferOrders
Search for transfer orders using specific filters. This tool searches for transfer orders using various filters, returning a paginated list of matching orders sorted by creation date. It can find orders by source or destination location or by a specific transfer order status.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
destination_location_ids | array<string> | Optional | Array of destination location IDs to filter transfer orders. |
filter_by_order_statuses | array<string> | Optional | Filter transfer orders by their statuses. Accepts an array of status strings. Refer to TransferOrderStatus for valid values. |
maximum_results | integer | Optional | Specify the maximum number of results to return, from 1 to 100. |
pagination_cursor | string | Optional | A string token to continue a search from a previous position, enabling pagination through results. |
sort_by_field | string | Optional | Specify the field to sort transfer orders. Options: CREATED_AT, UPDATED_AT. |
sort_order | string | Optional | Specify the order ('DESC' or 'ASC') in which results are returned. 'DESC' for descending and 'ASC' for ascending. |
source_location_ids | array<string> | Optional | Array of source location IDs to filter transfer orders by their source location. |
Requirements
Output
json— Response from the API endpoint 'SearchTransferOrders'.SquareupApi.SearchVendors
Search for vendors using filters and sorters. Use this tool to find vendors by applying filters to vendor properties and sorting the results as needed. It is useful for retrieving vendor information based on specific criteria.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
pagination_cursor | string | Optional | A string used to retrieve the next set of results for a previous query. Follow the pagination guide for details. |
sort_field_for_vendors | string | Optional | Specify the vendor property field to sort the results by. Options include 'NAME' or 'CREATED_AT'. |
sort_order | string | Optional | Specify the order (e.g., chronological or alphabetical) for sorting the results. Options are 'ASC' or 'DESC'. |
vendor_names_to_filter | array<string> | Optional | Array of vendor names to filter the search results by. Only vendors matching these names will be retrieved. |
vendor_statuses | array<string> | Optional | List of vendor statuses to filter the search results. Refer to possible values in VendorStatus. |
Requirements
Output
json— Response from the API endpoint 'SearchVendors'.SquareupApi.SetBookingCustomAttribute
Upserts a custom attribute for a booking. Use this tool to update or insert a custom attribute for a specific booking. Requires appropriate OAuth scopes and seller subscriptions to Appointments Plus or Premium. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
mode | string | Required | Operation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operationget_request_schemaexecute |
booking_id | string | Optional | The ID of the target booking to update or insert a custom attribute for. Required when mode is 'execute', ignored when mode is 'get_request_schema'. |
custom_attribute_key | string | Optional | The key for the custom attribute to create or update, matching the existing key in the Square seller account. Use the qualified key if not the definition owner. Required when mode is 'execute', ignored when mode is 'get_request_schema'. |
request_body | string | Optional | Stringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema' |
Requirements
Output
json— Response from the API endpoint 'UpsertBookingCustomAttribute'.SquareupApi.StartTransferOrder
Start a transfer order to mark it as in-transit. Use this tool to change a draft transfer order to started status, which decrements inventory at the source location and marks the order as in-transit. Once started, the order is locked from deletion but can be canceled. A webhook event is created upon starting the order.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
transfer_order_id | string | Required | The ID of the transfer order to start. Must be in DRAFT status. |
unique_request_identifier | string | Required | A unique string to identify each UpdateTransferOrder request, ensuring it is not repeated for any request. |
optimistic_concurrency_version | integer | Optional | Specify the version number for optimistic concurrency control. Ensure the version is current to avoid conflicts. |
Requirements
Output
json— Response from the API endpoint 'StartTransferOrder'.SquareupApi.SubmitEvidenceToBank
Submit evidence for a dispute to the cardholder's bank. Use this tool to submit evidence related to a cardholder dispute to their bank. It includes evidence from files, text submissions, and any automatically provided by Square. Evidence can't be removed once submitted.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
dispute_identifier | string | Required | The unique ID of the dispute for which evidence is being submitted. |
Requirements
Output
json— Response from the API endpoint 'SubmitEvidence'.SquareupApi.SwapSubscriptionPlan
Swap a subscription plan variation for an existing subscription. This tool schedules a SWAP_PLAN action to change the plan variation for an existing subscription. It should be called when a user wants to update the current plan of their subscription. For detailed guidance, refer to the Swap Subscription Plan Variations documentation. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
mode | string | Required | Operation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operationget_request_schemaexecute |
subscription_id | string | Optional | The ID of the subscription to swap the plan for. This is required to identify which subscription will have its plan changed. Required when mode is 'execute', ignored when mode is 'get_request_schema'. |
request_body | string | Optional | Stringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema' |
Requirements
Output
json— Response from the API endpoint 'SwapPlan'.SquareupApi.TestWebhookSubscription
Send a test event to a webhook subscription URL. Use this tool to verify if a webhook subscription is correctly configured by sending a test event to the specified notification URL.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
webhook_subscription_id | string | Required | The ID of the Webhook Subscription to test. This is required for sending a test event. |
test_event_type | string | Optional | Specifies the event type for testing the webhook subscription. It must match an event type in the subscription's event list. |
Requirements
Output
json— Response from the API endpoint 'TestWebhookSubscription'.SquareupApi.UnlinkCustomerFromGiftCard
Unlink a customer from a gift card. This tool is used to unlink or remove a customer from a gift card. Call this tool when you need to detach a customer's association with a specific gift card, also known as removing a card on file.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
customer_id_to_unlink | string | Required | The unique identifier of the customer to unlink from the gift card. Ensure it matches the correct customer. |
gift_card_id_to_unlink | string | Required | The ID of the gift card to be unlinked from the customer. Required for unlinking process. |
Requirements
Output
json— Response from the API endpoint 'UnlinkCustomerFromGiftCard'.SquareupApi.UpdateBooking
Update an existing booking with new details. Use this tool to modify an existing booking in the Squareup system. Ensure you have the correct permissions: buyer-level permissions require 'APPOINTMENTS_WRITE', while seller-level permissions need 'APPOINTMENTS_ALL_WRITE' and 'APPOINTMENTS_WRITE'. Seller-level updates require a subscription to Appointments Plus or Premium. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
mode | string | Required | Operation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operationget_request_schemaexecute |
booking_identifier | string | Optional | The unique identifier of the booking to be updated. Required when mode is 'execute', ignored when mode is 'get_request_schema'. |
request_body | string | Optional | Stringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema' |
Requirements
Output
json— Response from the API endpoint 'UpdateBooking'.SquareupApi.UpdateBreakType
Update an existing BreakType configuration. Utilize this tool to modify the settings of an existing BreakType in the Squareup labor management system. Useful for updating rules related to employee break periods.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
break_counts_for_compensation | boolean | Required | Set to true if this break counts towards time worked for compensation purposes. |
break_duration_rfc3339 | string | Required | The expected duration of the break in RFC-3339 format (e.g., PT15M for 15 minutes). |
break_name | string | Required | A human-readable name for the break type, shown to team members in Square products. |
break_type_uuid | string | Required | The UUID of the BreakType to be updated. |
business_location_id | string | Required | The ID of the business location this type of break applies to. Required for updating break settings. |
break_type_creation_timestamp | string | Optional | A read-only timestamp in RFC 3339 format indicating when the BreakType was created. This is not modifiable. |
break_type_id | string | Optional | The UUID for the BreakType object being updated. This is required for identifying which BreakType to modify. |
readonly_updated_at_timestamp | string | Optional | The read-only timestamp in RFC 3339 format indicating the last update time for BreakType. It's not modifiable. |
version_for_concurrency | integer | Optional | The version number for concurrency control. Helps resolve conflicts by matching the server's current version. |
Requirements
Output
json— Response from the API endpoint 'UpdateBreakType'.SquareupApi.UpdateCheckoutLocationSettings
Update location settings for a Square-hosted checkout page. This tool updates the settings for a specific location's checkout page hosted by Square. It should be called when there is a need to make changes to the location-specific configuration for an online checkout. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
mode | string | Required | Operation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operationget_request_schemaexecute |
location_id | string | Optional | The unique identifier of the location to update settings for the Square-hosted checkout page. Required when mode is 'execute', ignored when mode is 'get_request_schema'. |
request_body | string | Optional | Stringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema' |
Requirements
Output
json— Response from the API endpoint 'UpdateLocationSettings'.SquareupApi.UpdateCustomerCustomAttribute
Create or update a custom attribute for a customer profile. This tool allows you to create or update a custom attribute for a specified customer profile in a Square seller account. Use it when you need to manage customer-specific details that are defined by custom attribute definitions. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
mode | string | Required | Operation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operationget_request_schemaexecute |
customer_identifier | string | Optional | The ID of the target customer profile for which the custom attribute will be created or updated. This ID should match the customer profile in the Square system. Required when mode is 'execute', ignored when mode is 'get_request_schema'. |
custom_attribute_key | string | Optional | The key identifying the custom attribute to create or update. Must match a key in the Square seller account's custom attribute definition. Use a qualified key if the application is not the definition owner. Required when mode is 'execute', ignored when mode is 'get_request_schema'. |
request_body | string | Optional | Stringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema' |
Requirements
Output
json— Response from the API endpoint 'UpsertCustomerCustomAttribute'.SquareupApi.UpdateCustomerGroup
Updates a customer group by its ID. This tool updates the details of a specified customer group using its group ID. It should be called when you need to modify the attributes of an existing customer group.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
customer_group_id | string | Required | The ID of the customer group to update. |
customer_group_name | string | Required | The new name for the customer group to be updated. |
customer_group_unique_id | string | Optional | A unique Square-generated ID for the customer group to be updated. |
group_creation_timestamp | string | Optional | The timestamp of when the customer group was created in RFC 3339 format. Required to track creation time. |
group_last_updated_timestamp | string | Optional | The timestamp when the customer group was last updated, in RFC 3339 format. |
Requirements
Output
json— Response from the API endpoint 'UpdateCustomerGroup'.SquareupApi.UpdateCustomerProfile
Update a customer's profile with new or changed details. Use this tool to update a customer profile by specifying only the new or changed fields. You can also remove fields by setting them to null. For profiles created by merging, use the ID of the new profile. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
mode | string | Required | Operation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operationget_request_schemaexecute |
customer_id | string | Optional | The unique identifier of the customer to update. Required when mode is 'execute', ignored when mode is 'get_request_schema'. |
request_body | string | Optional | Stringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema' |
Requirements
Output
json— Response from the API endpoint 'UpdateCustomer'.SquareupApi.UpdateInvoice
Updates invoice details with specified changes. Use this tool to update fields in an existing invoice. Only the fields you wish to change need to be specified, along with the required `version` field. Note that some restrictions apply, such as the inability to change fields like `order_id` or `location_id`. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
mode | string | Required | Operation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operationget_request_schemaexecute |
invoice_id | string | Optional | The unique ID of the invoice you wish to update. Required when mode is 'execute', ignored when mode is 'get_request_schema'. |
request_body | string | Optional | Stringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema' |
Requirements
Output
json— Response from the API endpoint 'UpdateInvoice'.SquareupApi.UpdateItemModifierLists
Update modifier lists for a catalog item. This tool updates the CatalogModifierList objects for a specific CatalogItem without needing a complete item upsert. Call this tool when you need to modify which modifier lists apply to an item in your catalog.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
catalog_item_ids | array<string> | Required | A list of catalog item IDs associated with the CatalogModifierList objects to update. |
modifier_list_ids_to_disable | array<string> | Optional | The IDs of CatalogModifierList objects to disable for the CatalogItem. At least one of this or modifier_lists_to_enable must be specified. |
modifier_list_ids_to_enable | array<string> | Optional | 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. |
Requirements
Output
json— Response from the API endpoint 'UpdateItemModifierLists'.SquareupApi.UpdateItemTaxes
Update tax settings for specified catalog items. Use this tool to update the CatalogTax objects applied to specific CatalogItems without performing a full upsert. Ideal for making quick tax configuration changes to existing items in the catalog.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
catalog_item_ids | array<string> | Required | List of IDs for the CatalogItems associated with the CatalogTax objects being updated. Maximum of 1,000 IDs. |
catalog_tax_ids_to_disable | array<string> | Optional | List of CatalogTax object IDs to disable. Specify either this or taxes_to_enable. |
tax_ids_to_enable | array<string> | Optional | List of CatalogTax object IDs to enable. Must specify at least one if 'tax_ids_to_disable' is not provided. |
Requirements
Output
json— Response from the API endpoint 'UpdateItemTaxes'.SquareupApi.UpdateJobDetails
Update job title or tip eligibility in the system. Use this tool to update the title or tip eligibility of a job within the system. The changes will affect all related job assignments, shifts, and team member wages associated with the job ID.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
job_id_to_update | string | Required | The unique ID of the job to update. This specifies which job's title or tip eligibility you want to modify. |
enable_tips_for_job | boolean | Optional | Set to true to allow team members to earn tips for the job, false to prevent them. |
job_creation_timestamp | string | Optional | The timestamp representing when the job was created, formatted in RFC 3339. |
job_id | string | Optional | The unique Square-assigned ID of the job. Obtainable via ListJobs API or from team member wage settings. |
job_last_updated_timestamp | string | Optional | The timestamp when the job was last updated, in RFC 3339 format. Used for optimistic concurrency control. |
job_title | string | Optional | The new title of the job to update. |
job_version_for_concurrency | integer | Optional | The current version of the job for optimistic concurrency control. Must match the server version to proceed with updates. |
Requirements
Output
json— Response from the API endpoint 'UpdateJob'.SquareupApi.UpdateLocationSquareup
Updates a business location on Square. Call this tool to update details of a specific business location using Square's Locations API. Provide the necessary location ID and data to modify. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
mode | string | Required | Operation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operationget_request_schemaexecute |
location_id | string | Optional | The ID of the location to update on Square. Required when mode is 'execute', ignored when mode is 'get_request_schema'. |
request_body | string | Optional | Stringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema' |
Requirements
Output
json— Response from the API endpoint 'UpdateLocation'.SquareupApi.UpdateMerchantSettings
Updates Square-hosted checkout page settings for a merchant. Use this tool to update the settings of a Square-hosted checkout page at the merchant level, ensuring the checkout page reflects the desired configurations. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
mode | string | Required | Operation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operationget_request_schemaexecute |
request_body | string | Optional | Stringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema' |
Requirements
Output
json— Response from the API endpoint 'UpdateMerchantSettings'.SquareupApi.UpdateMultipleCustomerProfiles
Update multiple customer profiles in one request. This tool updates several customer profiles simultaneously by taking a map of individual update requests, and returns a map of responses detailing the outcome of each request. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
mode | string | Required | Operation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operationget_request_schemaexecute |
request_body | string | Optional | Stringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema' |
Requirements
Output
json— Response from the API endpoint 'BulkUpdateCustomers'.SquareupApi.UpdateOrderCustomAttribute
Create or update a custom attribute for an order. Call this tool to set or update the value of a custom attribute for a specific order. This is useful for customizing orders based on predefined custom attribute definitions in a Square seller account. Ensure the visibility setting is 'VISIBILITY_READ_WRITE_VALUES' for attributes owned by another application. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
mode | string | Required | Operation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operationget_request_schemaexecute |
order_id | string | Optional | The ID of the target order for which the custom attribute is being created or updated. Required when mode is 'execute', ignored when mode is 'get_request_schema'. |
custom_attribute_key | string | Optional | The key of the custom attribute to be created or updated. Must match an existing custom attribute definition key. Required when mode is 'execute', ignored when mode is 'get_request_schema'. |
request_body | string | Optional | Stringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema' |
Requirements
Output
json— Response from the API endpoint 'UpsertOrderCustomAttribute'.SquareupApi.UpdateOrderSquare
Update fields of an open Square order. This tool updates fields of an open order in Square by adding, replacing, or deleting details. It requires the order ID, the latest version of the order, and a sparse order containing only the fields to update. Use this tool to manage order details while in 'OPEN' state when changes are needed. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
mode | string | Required | Operation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operationget_request_schemaexecute |
order_id | string | Optional | The unique identifier for the order that needs to be updated. This ID specifies which order will have its fields modified. Required when mode is 'execute', ignored when mode is 'get_request_schema'. |
request_body | string | Optional | Stringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema' |
Requirements
Output
json— Response from the API endpoint 'UpdateOrder'.SquareupApi.UpdatePaymentLink
Update details of an existing payment link. Use this tool to update fields like `description`, `checkout_options`, and `pre_populated_data` of a payment link. You cannot update fields such as `order_id`, `version`, `URL`, or `timestamp`. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
mode | string | Required | Operation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operationget_request_schemaexecute |
payment_link_id | string | Optional | The unique identifier of the payment link to update. Required to specify which link will be modified. Required when mode is 'execute', ignored when mode is 'get_request_schema'. |
request_body | string | Optional | Stringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema' |
Requirements
Output
json— Response from the API endpoint 'UpdatePaymentLink'.SquareupApi.UpdatePaymentStatus
Update a payment's approved status and details. Use this tool to update a payment with an APPROVED status, modifying fields like `amount_money` and `tip_money` as necessary. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
mode | string | Required | Operation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operationget_request_schemaexecute |
payment_identifier | string | Optional | The unique ID of the payment you want to update. Required when mode is 'execute', ignored when mode is 'get_request_schema'. |
request_body | string | Optional | Stringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema' |
Requirements
Output
json— Response from the API endpoint 'UpdatePayment'.SquareupApi.UpdateScheduledShift
Updates draft shift details for a scheduled shift. Use this tool to make updates to draft shift details such as location, job, start and end times, team member, and notes. To finalize and make updates public, the shift must be published. You can also mark a shift as deleted. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
mode | string | Required | Operation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operationget_request_schemaexecute |
scheduled_shift_id | string | Optional | The unique identifier of the scheduled shift to update. Required when mode is 'execute', ignored when mode is 'get_request_schema'. |
request_body | string | Optional | Stringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema' |
Requirements
Output
json— Response from the API endpoint 'UpdateScheduledShift'.SquareupApi.UpdateSubscription
Update subscription details with new or cleared values. This tool updates subscription details by modifying existing values or clearing fields by setting them to `null`. Use this when you need to make changes to a subscription in the Square system. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
mode | string | Required | Operation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operationget_request_schemaexecute |
subscription_id | string | Optional | The unique identifier of the subscription you want to update. Required when mode is 'execute', ignored when mode is 'get_request_schema'. |
request_body | string | Optional | Stringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema' |
Requirements
Output
json— Response from the API endpoint 'UpdateSubscription'.SquareupApi.UpdateTeamMember
Updates a single TeamMember object. Use this tool to update details of a TeamMember in your organization. It should be called when you need to modify information about an existing team member. The updated TeamMember object is returned upon successful update. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
mode | string | Required | Operation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operationget_request_schemaexecute |
team_member_id | string | Optional | The unique identifier of the team member to update. Required when mode is 'execute', ignored when mode is 'get_request_schema'. |
request_body | string | Optional | Stringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema' |
Requirements
Output
json— Response from the API endpoint 'UpdateTeamMember'.SquareupApi.UpdateTimecard
Update an existing timecard with new details. Use this tool to update an existing timecard, including adding or closing breaks. Ensure all break instances have the `end_at` property set before closing a timecard. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
mode | string | Required | Operation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operationget_request_schemaexecute |
timecard_id | string | Optional | The unique identifier of the timecard to be updated. Required when mode is 'execute', ignored when mode is 'get_request_schema'. |
request_body | string | Optional | Stringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema' |
Requirements
Output
json— Response from the API endpoint 'UpdateTimecard'.SquareupApi.UpdateTransferOrder
Update specific fields of a transfer order. Use this tool to modify particular fields of an existing transfer order without affecting others. This will trigger a transfer_order.updated webhook event. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
mode | string | Required | Operation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operationget_request_schemaexecute |
transfer_order_identifier | string | Optional | The unique identifier of the transfer order to be updated. Required when mode is 'execute', ignored when mode is 'get_request_schema'. |
request_body | string | Optional | Stringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema' |
Requirements
Output
json— Response from the API endpoint 'UpdateTransferOrder'.SquareupApi.UpdateVendorInfo
Update an existing vendor's information. Use this tool to modify the details of an existing vendor who supplies to a seller. It updates the vendor's profile in the system. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
mode | string | Required | Operation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operationget_request_schemaexecute |
request_body | string | Optional | Stringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema' |
Requirements
Output
json— Response from the API endpoint 'UpdateVendor'.SquareupApi.UpdateWageSetting
Create or update a team member's wage setting. This tool creates or updates a WageSetting object for a specified team member. Use it to manage wage settings by creating a new object if it doesn't exist, or replacing an existing one. Upon successful update, it returns the updated WageSetting object. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
mode | string | Required | Operation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operationget_request_schemaexecute |
team_member_id | string | Optional | The unique ID of the team member whose WageSetting will be updated or created. Required when mode is 'execute', ignored when mode is 'get_request_schema'. |
request_body | string | Optional | Stringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema' |
Requirements
Output
json— Response from the API endpoint 'UpdateWageSetting'.SquareupApi.UpdateWebhookSignatureKey
Update a webhook subscription's signature key. Use this tool to replace the existing signature key for a webhook subscription with a new one. This is specifically for managing webhook security by updating the signature key.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
webhook_subscription_id | string | Required | The ID of the Webhook Subscription to update. This is a required field. |
unique_request_identifier | string | Optional | A unique string to identify the UpdateWebhookSubscriptionSignatureKey request, ensuring idempotency. |
Requirements
Output
json— Response from the API endpoint 'UpdateWebhookSubscriptionSignatureKey'.SquareupApi.UpdateWebhookSubscription
Update a webhook subscription to modify its settings. This tool is used to update an existing webhook subscription by providing necessary changes to its settings. It should be called when there's a need to modify the webhook's parameters or configuration.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
subscription_id | string | Required | The unique ID of the subscription to update. This is required to identify the webhook subscription that needs to be modified. |
api_version_of_subscription | string | Optional | Specify the API version for the subscription. Optional for creation and defaults to the application's API version if not provided. |
event_types | array<string> | Optional | An array of event types associated with this subscription that trigger the webhook. |
signature_key | string | Optional | The Square-generated signature key for validating the webhook origin. |
subscription_created_timestamp | string | Optional | The timestamp indicating when the subscription was created, formatted in RFC 3339. |
subscription_enabled | boolean | Optional | Set to `true` to enable the subscription or `false` to disable it. |
subscription_name | string | Optional | The new name for the webhook subscription to update. |
subscription_unique_id | string | Optional | A Square-generated unique ID for the webhook subscription to be updated. This is required to identify which subscription to modify. |
updated_at_timestamp | string | Optional | The timestamp of the last update for the subscription, in RFC 3339 format (e.g., "2016-09-04T23:59:33.123Z"). |
webhook_notification_url | string | Optional | The URL to which webhooks are sent. Must be a valid URL that can receive POST requests. |
Requirements
Output
json— Response from the API endpoint 'UpdateWebhookSubscription'.SquareupApi.UpdateWorkweekConfiguration
Update workweek configuration settings. Use this tool to update the settings for a specific workweek configuration in the system.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
workweek_config_id | string | Required | The UUID for the `WorkweekConfig` object to be updated. |
workweek_start_day | string | Required | Specifies the start day of the workweek. Acceptable values are: MON, TUE, WED, THU, FRI, SAT, SUN. |
workweek_start_time_local | string | Required | The local time a business week starts, represented as a string in `HH:MM` format (`HH:MM:SS` is accepted, but seconds are truncated). |
read_only_updated_at | string | Optional | A read-only timestamp in RFC 3339 format; presented in UTC, to indicate the last update time of the workweek configuration. |
workweek_config_uuid | string | Optional | The UUID of the workweek configuration object to be updated. |
workweek_config_version | integer | Optional | Version number to resolve concurrency issues. If it doesn't match the server, the update fails. If omitted, a blind write occurs. |
workweek_creation_timestamp | string | Optional | Read-only UTC timestamp of workweek config creation in RFC 3339 format. |
Requirements
Output
json— Response from the API endpoint 'UpdateWorkweekConfig'.SquareupApi.UploadDisputeEvidenceText
Upload text evidence for a dispute challenge. Use this tool to upload textual evidence to support a dispute challenge. Call this tool when you need to provide written information or arguments for a dispute with a unique dispute ID.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
dispute_id | string | Required | The unique ID of the dispute to upload text evidence for. |
evidence_text_string | string | Required | Provide the textual evidence string to be used in the dispute challenge. |
unique_request_key | string | Required | A unique key for identifying and ensuring the idempotency of the request. For additional details, see Square's idempotency documentation. |
dispute_evidence_type | string | Optional | Specify the type of evidence for the dispute. Options include: GENERIC_EVIDENCE, ONLINE_OR_APP_ACCESS_LOG, AUTHORIZATION_DOCUMENTATION, etc. |
Requirements
Output
json— Response from the API endpoint 'CreateDisputeEvidenceText'.SquareupApi.UpsertCatalogObject
Create or update a catalog object in Squareup. Use this tool to create a new or update an existing catalog object in Squareup. It is designed to handle requests one at a time per seller account for consistency. If another update is in process, further requests will be rejected with a `429` error. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
mode | string | Required | Operation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operationget_request_schemaexecute |
request_body | string | Optional | Stringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema' |
Requirements
Output
json— Response from the API endpoint 'UpsertCatalogObject'.SquareupApi.UpsertLocationCustomAttribute
Create or update a custom attribute for a location. Use this tool to set or modify the value of a custom attribute for a specific location. Ensure the custom attribute is defined in the Square seller account. To work with attributes owned by other applications, the visibility must be set to 'VISIBILITY_READ_WRITE_VALUES'. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
mode | string | Required | Operation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operationget_request_schemaexecute |
location_id | string | Optional | The ID of the target location for which the custom attribute is to be created or updated. It should be a string that uniquely identifies the location within the Square seller account. Required when mode is 'execute', ignored when mode is 'get_request_schema'. |
custom_attribute_key | string | Optional | The key for the custom attribute to create or update. Must match an existing attribute definition key in the Square account. Use a qualified key if not the owner. Required when mode is 'execute', ignored when mode is 'get_request_schema'. |
request_body | string | Optional | Stringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema' |
Requirements
Output
json— Response from the API endpoint 'UpsertLocationCustomAttribute'.SquareupApi.UpsertMerchantCustomAttribute
Create or update a custom attribute for a merchant. This tool creates or updates a custom attribute for a specified merchant using the Square API. It's used to set the value of a custom attribute defined in a Square seller account. The attribute can be owned by another application if the visibility setting allows read-write operations. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
mode | string | Required | Operation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operationget_request_schemaexecute |
merchant_id | string | Optional | The unique ID of the target merchant for whom the custom attribute is being created or updated. Required when mode is 'execute', ignored when mode is 'get_request_schema'. |
custom_attribute_key | string | Optional | The key of the custom attribute to create or update. This key must match the key of a custom attribute definition in the Square seller account. If the requester is not the definition owner, use the qualified key. Required when mode is 'execute', ignored when mode is 'get_request_schema'. |
request_body | string | Optional | Stringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema' |
Requirements
Output
json— Response from the API endpoint 'UpsertMerchantCustomAttribute'.SquareupApi.UpsertMerchantCustomAttributesBulk
Bulk creates or updates custom attributes for a merchant. Use this tool to set multiple custom attributes for a merchant based on predefined definitions in a Square seller account. It processes 1 to 25 upsert requests, each providing a unique ID, merchant ID, and custom attribute data. Returns mapped responses with the ID of each request. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
mode | string | Required | Operation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operationget_request_schemaexecute |
request_body | string | Optional | Stringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema' |
Requirements
Output
json— Response from the API endpoint 'BulkUpsertMerchantCustomAttributes'.