Squareup
Catalog 暂无描述。
认证方式
| 方式 | 底层类型 | 状态 | 说明 |
|---|---|---|---|
| OAuth 2.0 | oauth2 | available | — |
调用示例
import { createClient } from "@open-connector/sdk";const oc = createClient({ baseUrl: "https://api.openconnector.dev", apiKey: process.env.OPEN_CONNECTOR_API_KEY!,});const result = await oc.executeTool({ slug: "SQUAREUP_ACCEPT_DISPUTE", connectedAccountId: "conn_...", arguments: { /* match this tool's input schema */ },});import Composio from "@composio/client";const composio = new Composio({ baseURL: "https://api.openconnector.dev/composio", apiKey: process.env.OPEN_CONNECTOR_API_KEY!,});const result = await composio.tools.execute("SQUAREUP_ACCEPT_DISPUTE", { connected_account_id: "conn_...", arguments: { /* match this tool's input schema */ },});oc tools execute SQUAREUP_ACCEPT_DISPUTE --data '{ }'Tool 目录
可用 Tools
328 个可调用操作
AcceptDisputeSQUAREUP_ACCEPT_DISPUTEAccepts the loss on a dispute. Square returns the disputed amount to the cardholder and updates the dispute state to ACCEPTED. Square debits the disputed amount from the seller’s Square account. If the Square account does not have sufficient funds, Square debits the associated bank account.需要连接1 scope
Accepts the loss on a dispute. Square returns the disputed amount to the cardholder and updates the dispute state to ACCEPTED. Square debits the disputed amount from the seller’s Square account. If the Square account does not have sufficient funds, Square debits the associated bank account.
认证
需要 Connected AccountScopes
DISPUTES_WRITETags
AccumulateLoyaltyPointsSQUAREUP_ACCUMULATE_LOYALTY_POINTSAdds points earned from a purchase to a [loyalty account](entity:LoyaltyAccount). - If you are using the Orders API to manage orders, provide the `order_id`. Square reads the order to compute the points earned from both the base loyalty program and an associated [loyalty promotion](entity:LoyaltyPromotion). For purchases that qualify for multiple accrual rules, Square computes points based on the accrual rule that grants the most points. For purchases that qualify for multiple promotions, Square computes points based on the most recently created promotion. A purchase must first qualify for program points to be eligible for promotion points. - If you are not using the Orders API to manage orders, provide `points` with the number of points to add. You must first perform a client-side computation of the points earned from the loyalty program and loyalty promotion. For spend-based and visit-based programs, you can call [CalculateLoyaltyPoints](api-endpoint:Loyalty-CalculateLoyaltyPoints) to compute the points earned from the base loyalty program. For information about computing points earned from a loyalty promotion, see [Calculating promotion points](https://developer.squareup.com/docs/loyalty-api/loyalty-promotions#calculate-promotion-points).需要连接1 scope
Adds points earned from a purchase to a [loyalty account](entity:LoyaltyAccount). - If you are using the Orders API to manage orders, provide the `order_id`. Square reads the order to compute the points earned from both the base loyalty program and an associated [loyalty promotion](entity:LoyaltyPromotion). For purchases that qualify for multiple accrual rules, Square computes points based on the accrual rule that grants the most points. For purchases that qualify for multiple promotions, Square computes points based on the most recently created promotion. A purchase must first qualify for program points to be eligible for promotion points. - If you are not using the Orders API to manage orders, provide `points` with the number of points to add. You must first perform a client-side computation of the points earned from the loyalty program and loyalty promotion. For spend-based and visit-based programs, you can call [CalculateLoyaltyPoints](api-endpoint:Loyalty-CalculateLoyaltyPoints) to compute the points earned from the base loyalty program. For information about computing points earned from a loyalty promotion, see [Calculating promotion points](https://developer.squareup.com/docs/loyalty-api/loyalty-promotions#calculate-promotion-points).
认证
需要 Connected AccountScopes
LOYALTY_WRITETags
AddGroupToCustomerSQUAREUP_ADD_GROUP_TO_CUSTOMERAdds a group membership to a customer. The customer is identified by the `customer_id` value and the customer group is identified by the `group_id` value.需要连接1 scope
Adds a group membership to a customer. The customer is identified by the `customer_id` value and the customer group is identified by the `group_id` value.
认证
需要 Connected AccountScopes
CUSTOMERS_WRITETags
AdjustLoyaltyPointsSQUAREUP_ADJUST_LOYALTY_POINTSAdds points to or subtracts points from a buyer's account. Use this endpoint only when you need to manually adjust points. Otherwise, in your application flow, you call [AccumulateLoyaltyPoints](api-endpoint:Loyalty-AccumulateLoyaltyPoints) to add points when a buyer pays for the purchase.需要连接1 scope
Adds points to or subtracts points from a buyer's account. Use this endpoint only when you need to manually adjust points. Otherwise, in your application flow, you call [AccumulateLoyaltyPoints](api-endpoint:Loyalty-AccumulateLoyaltyPoints) to add points when a buyer pays for the purchase.
认证
需要 Connected AccountScopes
LOYALTY_WRITETags
BatchChangeInventorySQUAREUP_BATCH_CHANGE_INVENTORYApplies adjustments and counts to the provided item quantities. On success: returns the current calculated counts for all objects referenced in the request. On failure: returns a list of related errors.需要连接1 scope
Applies adjustments and counts to the provided item quantities. On success: returns the current calculated counts for all objects referenced in the request. On failure: returns a list of related errors.
认证
需要 Connected AccountScopes
INVENTORY_WRITETags
BatchDeleteCatalogObjectsSQUAREUP_BATCH_DELETE_CATALOG_OBJECTSDeletes a set of [CatalogItem](entity:CatalogItem)s based on the provided list of target IDs and returns a set of successfully deleted IDs in the response. Deletion is a cascading event such that all children of the targeted object are also deleted. For example, deleting a CatalogItem will also delete all of its [CatalogItemVariation](entity:CatalogItemVariation) children. `BatchDeleteCatalogObjects` succeeds even if only a portion of the targeted IDs can be deleted. The response will only include IDs that were actually deleted. To ensure consistency, only one delete request is processed at a time per seller account. While one (batch or non-batch) delete request is being processed, other (batched and non-batched) delete requests are rejected with the `429` error code.需要连接1 scope
Deletes a set of [CatalogItem](entity:CatalogItem)s based on the provided list of target IDs and returns a set of successfully deleted IDs in the response. Deletion is a cascading event such that all children of the targeted object are also deleted. For example, deleting a CatalogItem will also delete all of its [CatalogItemVariation](entity:CatalogItemVariation) children. `BatchDeleteCatalogObjects` succeeds even if only a portion of the targeted IDs can be deleted. The response will only include IDs that were actually deleted. To ensure consistency, only one delete request is processed at a time per seller account. While one (batch or non-batch) delete request is being processed, other (batched and non-batched) delete requests are rejected with the `429` error code.
认证
需要 Connected AccountScopes
ITEMS_WRITETags
BatchRetrieveCatalogObjectsSQUAREUP_BATCH_RETRIEVE_CATALOG_OBJECTSReturns a set of objects based on the provided ID. Each [CatalogItem](entity:CatalogItem) returned in the set includes all of its child information including: all of its [CatalogItemVariation](entity:CatalogItemVariation) objects, references to its [CatalogModifierList](entity:CatalogModifierList) objects, and the ids of any [CatalogTax](entity:CatalogTax) objects that apply to it.需要连接1 scope
Returns a set of objects based on the provided ID. Each [CatalogItem](entity:CatalogItem) returned in the set includes all of its child information including: all of its [CatalogItemVariation](entity:CatalogItemVariation) objects, references to its [CatalogModifierList](entity:CatalogModifierList) objects, and the ids of any [CatalogTax](entity:CatalogTax) objects that apply to it.
认证
需要 Connected AccountScopes
ITEMS_READTags
BatchRetrieveInventoryChangesSQUAREUP_BATCH_RETRIEVE_INVENTORY_CHANGESReturns historical physical counts and adjustments based on the provided filter criteria. Results are paginated and sorted in ascending order according their `occurred_at` timestamp (oldest first). BatchRetrieveInventoryChanges is a catch-all query endpoint for queries that cannot be handled by other, simpler endpoints.需要连接1 scope
Returns historical physical counts and adjustments based on the provided filter criteria. Results are paginated and sorted in ascending order according their `occurred_at` timestamp (oldest first). BatchRetrieveInventoryChanges is a catch-all query endpoint for queries that cannot be handled by other, simpler endpoints.
认证
需要 Connected AccountScopes
INVENTORY_READTags
BatchRetrieveInventoryCountsSQUAREUP_BATCH_RETRIEVE_INVENTORY_COUNTSReturns current counts for the provided [CatalogObject](entity:CatalogObject)s at the requested [Location](entity:Location)s. Results are paginated and sorted in descending order according to their `calculated_at` timestamp (newest first). When `updated_after` is specified, only counts that have changed since that time (based on the server timestamp for the most recent change) are returned. This allows clients to perform a "sync" operation, for example in response to receiving a Webhook notification.需要连接1 scope
Returns current counts for the provided [CatalogObject](entity:CatalogObject)s at the requested [Location](entity:Location)s. Results are paginated and sorted in descending order according to their `calculated_at` timestamp (newest first). When `updated_after` is specified, only counts that have changed since that time (based on the server timestamp for the most recent change) are returned. This allows clients to perform a "sync" operation, for example in response to receiving a Webhook notification.
认证
需要 Connected AccountScopes
INVENTORY_READTags
BatchRetrieveOrdersSQUAREUP_BATCH_RETRIEVE_ORDERSRetrieves a set of [orders](entity:Order) by their IDs. If a given order ID does not exist, the ID is ignored instead of generating an error.需要连接1 scope
Retrieves a set of [orders](entity:Order) by their IDs. If a given order ID does not exist, the ID is ignored instead of generating an error.
认证
需要 Connected AccountScopes
ORDERS_READTags
BatchUpsertCatalogObjectsSQUAREUP_BATCH_UPSERT_CATALOG_OBJECTSCreates or updates up to 10,000 target objects based on the provided list of objects. The target objects are grouped into batches and each batch is inserted/updated in an all-or-nothing manner. If an object within a batch is malformed in some way, or violates a database constraint, the entire batch containing that item will be disregarded. However, other batches in the same request may still succeed. Each batch may contain up to 1,000 objects, and batches will be processed in order as long as the total object count for the request (items, variations, modifier lists, discounts, and taxes) is no more than 10,000. To ensure consistency, only one update request is processed at a time per seller account. While one (batch or non-batch) update request is being processed, other (batched and non-batched) update requests are rejected with the `429` error code.需要连接1 scope
Creates or updates up to 10,000 target objects based on the provided list of objects. The target objects are grouped into batches and each batch is inserted/updated in an all-or-nothing manner. If an object within a batch is malformed in some way, or violates a database constraint, the entire batch containing that item will be disregarded. However, other batches in the same request may still succeed. Each batch may contain up to 1,000 objects, and batches will be processed in order as long as the total object count for the request (items, variations, modifier lists, discounts, and taxes) is no more than 10,000. To ensure consistency, only one update request is processed at a time per seller account. While one (batch or non-batch) update request is being processed, other (batched and non-batched) update requests are rejected with the `429` error code.
认证
需要 Connected AccountScopes
ITEMS_WRITETags
BulkCreateCustomersSQUAREUP_BULK_CREATE_CUSTOMERSCreates multiple [customer profiles](entity:Customer) for a business. This endpoint takes a map of individual create requests and returns a map of responses. You must provide at least one of the following values in each create request: - `given_name` - `family_name` - `company_name` - `email_address` - `phone_number`需要连接1 scope
Creates multiple [customer profiles](entity:Customer) for a business. This endpoint takes a map of individual create requests and returns a map of responses. You must provide at least one of the following values in each create request: - `given_name` - `family_name` - `company_name` - `email_address` - `phone_number`
认证
需要 Connected AccountScopes
CUSTOMERS_WRITETags
BulkCreateTeamMembersSQUAREUP_BULK_CREATE_TEAM_MEMBERSCreates multiple `TeamMember` objects. The created `TeamMember` objects are returned on successful creates. This process is non-transactional and processes as much of the request as possible. If one of the creates in the request cannot be successfully processed, the request is not marked as failed, but the body of the response contains explicit error information for the failed create. Learn about [Troubleshooting the Team API](https://developer.squareup.com/docs/team/troubleshooting#bulk-create-team-members).需要连接1 scope
Creates multiple `TeamMember` objects. The created `TeamMember` objects are returned on successful creates. This process is non-transactional and processes as much of the request as possible. If one of the creates in the request cannot be successfully processed, the request is not marked as failed, but the body of the response contains explicit error information for the failed create. Learn about [Troubleshooting the Team API](https://developer.squareup.com/docs/team/troubleshooting#bulk-create-team-members).
认证
需要 Connected AccountScopes
EMPLOYEES_WRITETags
BulkCreateVendorsSQUAREUP_BULK_CREATE_VENDORSCreates one or more [Vendor](entity:Vendor) objects to represent suppliers to a seller.需要连接1 scope
Creates one or more [Vendor](entity:Vendor) objects to represent suppliers to a seller.
认证
需要 Connected AccountScopes
VENDOR_WRITETags
BulkDeleteBookingCustomAttributesSQUAREUP_BULK_DELETE_BOOKING_CUSTOM_ATTRIBUTESBulk deletes bookings custom attributes. To call this endpoint with buyer-level permissions, set `APPOINTMENTS_WRITE` for the OAuth scope. To call this endpoint with seller-level permissions, set `APPOINTMENTS_ALL_WRITE` and `APPOINTMENTS_WRITE` for the OAuth scope. For calls to this endpoint with seller-level permissions to succeed, the seller must have subscribed to *Appointments Plus* or *Appointments Premium*.需要连接1 scope
Bulk deletes bookings custom attributes. To call this endpoint with buyer-level permissions, set `APPOINTMENTS_WRITE` for the OAuth scope. To call this endpoint with seller-level permissions, set `APPOINTMENTS_ALL_WRITE` and `APPOINTMENTS_WRITE` for the OAuth scope. For calls to this endpoint with seller-level permissions to succeed, the seller must have subscribed to *Appointments Plus* or *Appointments Premium*.
认证
需要 Connected AccountScopes
APPOINTMENTS_WRITETags
BulkDeleteCustomersSQUAREUP_BULK_DELETE_CUSTOMERSDeletes multiple customer profiles. The endpoint takes a list of customer IDs and returns a map of responses.需要连接1 scope
Deletes multiple customer profiles. The endpoint takes a list of customer IDs and returns a map of responses.
认证
需要 Connected AccountScopes
CUSTOMERS_WRITETags
BulkDeleteLocationCustomAttributesSQUAREUP_BULK_DELETE_LOCATION_CUSTOM_ATTRIBUTESDeletes [custom attributes](entity:CustomAttribute) for locations as a bulk operation. To delete a custom attribute owned by another application, the `visibility` setting must be `VISIBILITY_READ_WRITE_VALUES`.需要连接1 scope
Deletes [custom attributes](entity:CustomAttribute) for locations as a bulk operation. To delete a custom attribute owned by another application, the `visibility` setting must be `VISIBILITY_READ_WRITE_VALUES`.
认证
需要 Connected AccountScopes
MERCHANT_PROFILE_WRITETags
BulkDeleteMerchantCustomAttributesSQUAREUP_BULK_DELETE_MERCHANT_CUSTOM_ATTRIBUTESDeletes [custom attributes](entity:CustomAttribute) for a merchant as a bulk operation. To delete a custom attribute owned by another application, the `visibility` setting must be `VISIBILITY_READ_WRITE_VALUES`.需要连接1 scope
Deletes [custom attributes](entity:CustomAttribute) for a merchant as a bulk operation. To delete a custom attribute owned by another application, the `visibility` setting must be `VISIBILITY_READ_WRITE_VALUES`.
认证
需要 Connected AccountScopes
MERCHANT_PROFILE_WRITETags
BulkDeleteOrderCustomAttributesSQUAREUP_BULK_DELETE_ORDER_CUSTOM_ATTRIBUTESDeletes order [custom attributes](entity:CustomAttribute) as a bulk operation. Use this endpoint to delete one or more custom attributes from one or more orders. A custom attribute is based on a custom attribute definition in a Square seller account. (To create a custom attribute definition, use the [CreateOrderCustomAttributeDefinition](api-endpoint:OrderCustomAttributes-CreateOrderCustomAttributeDefinition) endpoint.) This `BulkDeleteOrderCustomAttributes` endpoint accepts a map of 1 to 25 individual delete requests and returns a map of individual delete responses. Each delete request has a unique ID and provides an order ID and custom attribute. Each delete response is returned with the ID of the corresponding request. To delete a custom attribute owned by another application, the `visibility` setting must be `VISIBILITY_READ_WRITE_VALUES`. Note that seller-defined custom attributes (also known as custom fields) are always set to `VISIBILITY_READ_WRITE_VALUES`.需要连接1 scope
Deletes order [custom attributes](entity:CustomAttribute) as a bulk operation. Use this endpoint to delete one or more custom attributes from one or more orders. A custom attribute is based on a custom attribute definition in a Square seller account. (To create a custom attribute definition, use the [CreateOrderCustomAttributeDefinition](api-endpoint:OrderCustomAttributes-CreateOrderCustomAttributeDefinition) endpoint.) This `BulkDeleteOrderCustomAttributes` endpoint accepts a map of 1 to 25 individual delete requests and returns a map of individual delete responses. Each delete request has a unique ID and provides an order ID and custom attribute. Each delete response is returned with the ID of the corresponding request. To delete a custom attribute owned by another application, the `visibility` setting must be `VISIBILITY_READ_WRITE_VALUES`. Note that seller-defined custom attributes (also known as custom fields) are always set to `VISIBILITY_READ_WRITE_VALUES`.
认证
需要 Connected AccountScopes
ORDERS_WRITETags
BulkPublishScheduledShiftsSQUAREUP_BULK_PUBLISH_SCHEDULED_SHIFTSPublishes 1 - 100 scheduled shifts. This endpoint takes a map of individual publish requests and returns a map of responses. When a scheduled shift is published, Square keeps the `draft_shift_details` field as is and copies it to the `published_shift_details` field. The minimum `start_at` and maximum `end_at` timestamps of all shifts in a `BulkPublishScheduledShifts` request must fall within a two-week period.需要连接1 scope
Publishes 1 - 100 scheduled shifts. This endpoint takes a map of individual publish requests and returns a map of responses. When a scheduled shift is published, Square keeps the `draft_shift_details` field as is and copies it to the `published_shift_details` field. The minimum `start_at` and maximum `end_at` timestamps of all shifts in a `BulkPublishScheduledShifts` request must fall within a two-week period.
认证
需要 Connected AccountScopes
TIMECARDS_WRITETags
BulkRetrieveBookingsSQUAREUP_BULK_RETRIEVE_BOOKINGSBulk-Retrieves a list of bookings by booking IDs. To call this endpoint with buyer-level permissions, set `APPOINTMENTS_READ` for the OAuth scope. To call this endpoint with seller-level permissions, set `APPOINTMENTS_ALL_READ` and `APPOINTMENTS_READ` for the OAuth scope.需要连接1 scope
Bulk-Retrieves a list of bookings by booking IDs. To call this endpoint with buyer-level permissions, set `APPOINTMENTS_READ` for the OAuth scope. To call this endpoint with seller-level permissions, set `APPOINTMENTS_ALL_READ` and `APPOINTMENTS_READ` for the OAuth scope.
认证
需要 Connected AccountScopes
APPOINTMENTS_READTags
BulkRetrieveChannelsSQUAREUP_BULK_RETRIEVE_CHANNELSBulkRetrieveChannels需要连接1 scope
BulkRetrieveChannels
认证
需要 Connected AccountScopes
CHANNELS_READTags
BulkRetrieveCustomersSQUAREUP_BULK_RETRIEVE_CUSTOMERSRetrieves multiple customer profiles. This endpoint takes a list of customer IDs and returns a map of responses.需要连接1 scope
Retrieves multiple customer profiles. This endpoint takes a list of customer IDs and returns a map of responses.
认证
需要 Connected AccountScopes
CUSTOMERS_READTags
BulkRetrieveTeamMemberBookingProfilesSQUAREUP_BULK_RETRIEVE_TEAM_MEMBER_BOOKING_PROFILESRetrieves one or more team members' booking profiles.需要连接1 scope
Retrieves one or more team members' booking profiles.
认证
需要 Connected AccountScopes
APPOINTMENTS_BUSINESS_SETTINGS_READTags
BulkRetrieveVendorsSQUAREUP_BULK_RETRIEVE_VENDORSRetrieves one or more vendors of specified [Vendor](entity:Vendor) IDs.需要连接1 scope
Retrieves one or more vendors of specified [Vendor](entity:Vendor) IDs.
认证
需要 Connected AccountScopes
VENDOR_READTags
BulkSwapPlanSQUAREUP_BULK_SWAP_PLANSchedules a plan variation change for all active subscriptions under a given plan variation. For more information, see [Swap Subscription Plan Variations](https://developer.squareup.com/docs/subscriptions-api/swap-plan-variations).需要连接3 scopes
Schedules a plan variation change for all active subscriptions under a given plan variation. For more information, see [Swap Subscription Plan Variations](https://developer.squareup.com/docs/subscriptions-api/swap-plan-variations).
认证
需要 Connected AccountScopes
SUBSCRIPTIONS_WRITESUBSCRIPTIONS_READITEMS_READTags
BulkUpdateCustomersSQUAREUP_BULK_UPDATE_CUSTOMERSUpdates multiple customer profiles. This endpoint takes a map of individual update requests and returns a map of responses.需要连接1 scope
Updates multiple customer profiles. This endpoint takes a map of individual update requests and returns a map of responses.
认证
需要 Connected AccountScopes
CUSTOMERS_WRITETags
BulkUpdateTeamMembersSQUAREUP_BULK_UPDATE_TEAM_MEMBERSUpdates multiple `TeamMember` objects. The updated `TeamMember` objects are returned on successful updates. This process is non-transactional and processes as much of the request as possible. If one of the updates in the request cannot be successfully processed, the request is not marked as failed, but the body of the response contains explicit error information for the failed update. Learn about [Troubleshooting the Team API](https://developer.squareup.com/docs/team/troubleshooting#bulk-update-team-members).需要连接1 scope
Updates multiple `TeamMember` objects. The updated `TeamMember` objects are returned on successful updates. This process is non-transactional and processes as much of the request as possible. If one of the updates in the request cannot be successfully processed, the request is not marked as failed, but the body of the response contains explicit error information for the failed update. Learn about [Troubleshooting the Team API](https://developer.squareup.com/docs/team/troubleshooting#bulk-update-team-members).
认证
需要 Connected AccountScopes
EMPLOYEES_WRITETags
BulkUpdateVendorsSQUAREUP_BULK_UPDATE_VENDORSUpdates one or more of existing [Vendor](entity:Vendor) objects as suppliers to a seller.需要连接1 scope
Updates one or more of existing [Vendor](entity:Vendor) objects as suppliers to a seller.
认证
需要 Connected AccountScopes
VENDOR_WRITETags
BulkUpsertBookingCustomAttributesSQUAREUP_BULK_UPSERT_BOOKING_CUSTOM_ATTRIBUTESBulk upserts bookings custom attributes. To call this endpoint with buyer-level permissions, set `APPOINTMENTS_WRITE` for the OAuth scope. To call this endpoint with seller-level permissions, set `APPOINTMENTS_ALL_WRITE` and `APPOINTMENTS_WRITE` for the OAuth scope. For calls to this endpoint with seller-level permissions to succeed, the seller must have subscribed to *Appointments Plus* or *Appointments Premium*.需要连接1 scope
Bulk upserts bookings custom attributes. To call this endpoint with buyer-level permissions, set `APPOINTMENTS_WRITE` for the OAuth scope. To call this endpoint with seller-level permissions, set `APPOINTMENTS_ALL_WRITE` and `APPOINTMENTS_WRITE` for the OAuth scope. For calls to this endpoint with seller-level permissions to succeed, the seller must have subscribed to *Appointments Plus* or *Appointments Premium*.
认证
需要 Connected AccountScopes
APPOINTMENTS_WRITETags
BulkUpsertCustomerCustomAttributesSQUAREUP_BULK_UPSERT_CUSTOMER_CUSTOM_ATTRIBUTESCreates or updates [custom attributes](entity:CustomAttribute) for customer profiles as a bulk operation. Use this endpoint to set the value of one or more custom attributes for one or more customer profiles. A custom attribute is based on a custom attribute definition in a Square seller account, which is created using the [CreateCustomerCustomAttributeDefinition](api-endpoint:CustomerCustomAttributes-CreateCustomerCustomAttributeDefinition) endpoint. This `BulkUpsertCustomerCustomAttributes` endpoint accepts a map of 1 to 25 individual upsert requests and returns a map of individual upsert responses. Each upsert request has a unique ID and provides a customer ID and custom attribute. Each upsert response is returned with the ID of the corresponding request. To create or update a custom attribute owned by another application, the `visibility` setting must be `VISIBILITY_READ_WRITE_VALUES`. Note that seller-defined custom attributes (also known as custom fields) are always set to `VISIBILITY_READ_WRITE_VALUES`.需要连接1 scope
Creates or updates [custom attributes](entity:CustomAttribute) for customer profiles as a bulk operation. Use this endpoint to set the value of one or more custom attributes for one or more customer profiles. A custom attribute is based on a custom attribute definition in a Square seller account, which is created using the [CreateCustomerCustomAttributeDefinition](api-endpoint:CustomerCustomAttributes-CreateCustomerCustomAttributeDefinition) endpoint. This `BulkUpsertCustomerCustomAttributes` endpoint accepts a map of 1 to 25 individual upsert requests and returns a map of individual upsert responses. Each upsert request has a unique ID and provides a customer ID and custom attribute. Each upsert response is returned with the ID of the corresponding request. To create or update a custom attribute owned by another application, the `visibility` setting must be `VISIBILITY_READ_WRITE_VALUES`. Note that seller-defined custom attributes (also known as custom fields) are always set to `VISIBILITY_READ_WRITE_VALUES`.
认证
需要 Connected AccountScopes
CUSTOMERS_WRITETags
BulkUpsertLocationCustomAttributesSQUAREUP_BULK_UPSERT_LOCATION_CUSTOM_ATTRIBUTESCreates or updates [custom attributes](entity:CustomAttribute) for locations as a bulk operation. Use this endpoint to set the value of one or more custom attributes for one or more locations. A custom attribute is based on a custom attribute definition in a Square seller account, which is created using the [CreateLocationCustomAttributeDefinition](api-endpoint:LocationCustomAttributes-CreateLocationCustomAttributeDefinition) endpoint. This `BulkUpsertLocationCustomAttributes` endpoint accepts a map of 1 to 25 individual upsert requests and returns a map of individual upsert responses. Each upsert request has a unique ID and provides a location ID and custom attribute. Each upsert response is returned with the ID of the corresponding request. To create or update a custom attribute owned by another application, the `visibility` setting must be `VISIBILITY_READ_WRITE_VALUES`.需要连接1 scope
Creates or updates [custom attributes](entity:CustomAttribute) for locations as a bulk operation. Use this endpoint to set the value of one or more custom attributes for one or more locations. A custom attribute is based on a custom attribute definition in a Square seller account, which is created using the [CreateLocationCustomAttributeDefinition](api-endpoint:LocationCustomAttributes-CreateLocationCustomAttributeDefinition) endpoint. This `BulkUpsertLocationCustomAttributes` endpoint accepts a map of 1 to 25 individual upsert requests and returns a map of individual upsert responses. Each upsert request has a unique ID and provides a location ID and custom attribute. Each upsert response is returned with the ID of the corresponding request. To create or update a custom attribute owned by another application, the `visibility` setting must be `VISIBILITY_READ_WRITE_VALUES`.
认证
需要 Connected AccountScopes
MERCHANT_PROFILE_WRITETags
BulkUpsertMerchantCustomAttributesSQUAREUP_BULK_UPSERT_MERCHANT_CUSTOM_ATTRIBUTESCreates or updates [custom attributes](entity:CustomAttribute) for a merchant as a bulk operation. Use this endpoint to set the value of one or more custom attributes for a merchant. A custom attribute is based on a custom attribute definition in a Square seller account, which is created using the [CreateMerchantCustomAttributeDefinition](api-endpoint:MerchantCustomAttributes-CreateMerchantCustomAttributeDefinition) endpoint. This `BulkUpsertMerchantCustomAttributes` endpoint accepts a map of 1 to 25 individual upsert requests and returns a map of individual upsert responses. Each upsert request has a unique ID and provides a merchant ID and custom attribute. Each upsert response is returned with the ID of the corresponding request. To create or update a custom attribute owned by another application, the `visibility` setting must be `VISIBILITY_READ_WRITE_VALUES`.需要连接1 scope
Creates or updates [custom attributes](entity:CustomAttribute) for a merchant as a bulk operation. Use this endpoint to set the value of one or more custom attributes for a merchant. A custom attribute is based on a custom attribute definition in a Square seller account, which is created using the [CreateMerchantCustomAttributeDefinition](api-endpoint:MerchantCustomAttributes-CreateMerchantCustomAttributeDefinition) endpoint. This `BulkUpsertMerchantCustomAttributes` endpoint accepts a map of 1 to 25 individual upsert requests and returns a map of individual upsert responses. Each upsert request has a unique ID and provides a merchant ID and custom attribute. Each upsert response is returned with the ID of the corresponding request. To create or update a custom attribute owned by another application, the `visibility` setting must be `VISIBILITY_READ_WRITE_VALUES`.
认证
需要 Connected AccountScopes
MERCHANT_PROFILE_WRITETags
BulkUpsertOrderCustomAttributesSQUAREUP_BULK_UPSERT_ORDER_CUSTOM_ATTRIBUTESCreates or updates order [custom attributes](entity:CustomAttribute) as a bulk operation. Use this endpoint to delete one or more custom attributes from one or more orders. A custom attribute is based on a custom attribute definition in a Square seller account. (To create a custom attribute definition, use the [CreateOrderCustomAttributeDefinition](api-endpoint:OrderCustomAttributes-CreateOrderCustomAttributeDefinition) endpoint.) This `BulkUpsertOrderCustomAttributes` endpoint accepts a map of 1 to 25 individual upsert requests and returns a map of individual upsert responses. Each upsert request has a unique ID and provides an order ID and custom attribute. Each upsert response is returned with the ID of the corresponding request. To create or update a custom attribute owned by another application, the `visibility` setting must be `VISIBILITY_READ_WRITE_VALUES`. Note that seller-defined custom attributes (also known as custom fields) are always set to `VISIBILITY_READ_WRITE_VALUES`.需要连接1 scope
Creates or updates order [custom attributes](entity:CustomAttribute) as a bulk operation. Use this endpoint to delete one or more custom attributes from one or more orders. A custom attribute is based on a custom attribute definition in a Square seller account. (To create a custom attribute definition, use the [CreateOrderCustomAttributeDefinition](api-endpoint:OrderCustomAttributes-CreateOrderCustomAttributeDefinition) endpoint.) This `BulkUpsertOrderCustomAttributes` endpoint accepts a map of 1 to 25 individual upsert requests and returns a map of individual upsert responses. Each upsert request has a unique ID and provides an order ID and custom attribute. Each upsert response is returned with the ID of the corresponding request. To create or update a custom attribute owned by another application, the `visibility` setting must be `VISIBILITY_READ_WRITE_VALUES`. Note that seller-defined custom attributes (also known as custom fields) are always set to `VISIBILITY_READ_WRITE_VALUES`.
认证
需要 Connected AccountScopes
ORDERS_WRITETags
CalculateLoyaltyPointsSQUAREUP_CALCULATE_LOYALTY_POINTSCalculates the number of points a buyer can earn from a purchase. Applications might call this endpoint to display the points to the buyer. - If you are using the Orders API to manage orders, provide the `order_id` and (optional) `loyalty_account_id`. Square reads the order to compute the points earned from the base loyalty program and an associated [loyalty promotion](entity:LoyaltyPromotion). - If you are not using the Orders API to manage orders, provide `transaction_amount_money` with the purchase amount. Square uses this amount to calculate the points earned from the base loyalty program, but not points earned from a loyalty promotion. For spend-based and visit-based programs, the `tax_mode` setting of the accrual rule indicates how taxes should be treated for loyalty points accrual. If the purchase qualifies for program points, call [ListLoyaltyPromotions](api-endpoint:Loyalty-ListLoyaltyPromotions) and perform a client-side computation to calculate whether the purchase also qualifies for promotion points. For more information, see [Calculating promotion points](https://developer.squareup.com/docs/loyalty-api/loyalty-promotions#calculate-promotion-points).需要连接1 scope
Calculates the number of points a buyer can earn from a purchase. Applications might call this endpoint to display the points to the buyer. - If you are using the Orders API to manage orders, provide the `order_id` and (optional) `loyalty_account_id`. Square reads the order to compute the points earned from the base loyalty program and an associated [loyalty promotion](entity:LoyaltyPromotion). - If you are not using the Orders API to manage orders, provide `transaction_amount_money` with the purchase amount. Square uses this amount to calculate the points earned from the base loyalty program, but not points earned from a loyalty promotion. For spend-based and visit-based programs, the `tax_mode` setting of the accrual rule indicates how taxes should be treated for loyalty points accrual. If the purchase qualifies for program points, call [ListLoyaltyPromotions](api-endpoint:Loyalty-ListLoyaltyPromotions) and perform a client-side computation to calculate whether the purchase also qualifies for promotion points. For more information, see [Calculating promotion points](https://developer.squareup.com/docs/loyalty-api/loyalty-promotions#calculate-promotion-points).
认证
需要 Connected AccountScopes
LOYALTY_READTags
CalculateOrderSQUAREUP_CALCULATE_ORDEREnables applications to preview order pricing without creating an order.需要连接
Enables applications to preview order pricing without creating an order.
认证
需要 Connected AccountTags
CancelBookingSQUAREUP_CANCEL_BOOKINGCancels an existing booking. To call this endpoint with buyer-level permissions, set `APPOINTMENTS_WRITE` for the OAuth scope. To call this endpoint with seller-level permissions, set `APPOINTMENTS_ALL_WRITE` and `APPOINTMENTS_WRITE` for the OAuth scope. For calls to this endpoint with seller-level permissions to succeed, the seller must have subscribed to *Appointments Plus* or *Appointments Premium*.需要连接1 scope
Cancels an existing booking. To call this endpoint with buyer-level permissions, set `APPOINTMENTS_WRITE` for the OAuth scope. To call this endpoint with seller-level permissions, set `APPOINTMENTS_ALL_WRITE` and `APPOINTMENTS_WRITE` for the OAuth scope. For calls to this endpoint with seller-level permissions to succeed, the seller must have subscribed to *Appointments Plus* or *Appointments Premium*.
认证
需要 Connected AccountScopes
APPOINTMENTS_WRITETags
CancelInvoiceSQUAREUP_CANCEL_INVOICECancels an invoice. The seller cannot collect payments for the canceled invoice. You cannot cancel an invoice in the `DRAFT` state or in a terminal state: `PAID`, `REFUNDED`, `CANCELED`, or `FAILED`.需要连接2 scopes
Cancels an invoice. The seller cannot collect payments for the canceled invoice. You cannot cancel an invoice in the `DRAFT` state or in a terminal state: `PAID`, `REFUNDED`, `CANCELED`, or `FAILED`.
认证
需要 Connected AccountScopes
ORDERS_WRITEINVOICES_WRITETags
CancelLoyaltyPromotionSQUAREUP_CANCEL_LOYALTY_PROMOTIONCancels a loyalty promotion. Use this endpoint to cancel an `ACTIVE` promotion earlier than the end date, cancel an `ACTIVE` promotion when an end date is not specified, or cancel a `SCHEDULED` promotion. Because updating a promotion is not supported, you can also use this endpoint to cancel a promotion before you create a new one. This endpoint sets the loyalty promotion to the `CANCELED` state需要连接1 scope
Cancels a loyalty promotion. Use this endpoint to cancel an `ACTIVE` promotion earlier than the end date, cancel an `ACTIVE` promotion when an end date is not specified, or cancel a `SCHEDULED` promotion. Because updating a promotion is not supported, you can also use this endpoint to cancel a promotion before you create a new one. This endpoint sets the loyalty promotion to the `CANCELED` state
认证
需要 Connected AccountScopes
LOYALTY_WRITETags
CancelPaymentSQUAREUP_CANCEL_PAYMENTCancels (voids) a payment. You can use this endpoint to cancel a payment with the APPROVED `status`.需要连接1 scope
Cancels (voids) a payment. You can use this endpoint to cancel a payment with the APPROVED `status`.
认证
需要 Connected AccountScopes
PAYMENTS_WRITETags
CancelPaymentByIdempotencyKeySQUAREUP_CANCEL_PAYMENT_BY_IDEMPOTENCY_KEYCancels (voids) a payment identified by the idempotency key that is specified in the request. Use this method when the status of a `CreatePayment` request is unknown (for example, after you send a `CreatePayment` request, a network error occurs and you do not get a response). In this case, you can direct Square to cancel the payment using this endpoint. In the request, you provide the same idempotency key that you provided in your `CreatePayment` request that you want to cancel. After canceling the payment, you can submit your `CreatePayment` request again. Note that if no payment with the specified idempotency key is found, no action is taken and the endpoint returns successfully.需要连接1 scope
Cancels (voids) a payment identified by the idempotency key that is specified in the request. Use this method when the status of a `CreatePayment` request is unknown (for example, after you send a `CreatePayment` request, a network error occurs and you do not get a response). In this case, you can direct Square to cancel the payment using this endpoint. In the request, you provide the same idempotency key that you provided in your `CreatePayment` request that you want to cancel. After canceling the payment, you can submit your `CreatePayment` request again. Note that if no payment with the specified idempotency key is found, no action is taken and the endpoint returns successfully.
认证
需要 Connected AccountScopes
PAYMENTS_WRITETags
CancelSubscriptionSQUAREUP_CANCEL_SUBSCRIPTIONSchedules a `CANCEL` action to cancel an active subscription. This sets the `canceled_date` field to the end of the active billing period. After this date, the subscription status changes from ACTIVE to CANCELED.需要连接1 scope
Schedules a `CANCEL` action to cancel an active subscription. This sets the `canceled_date` field to the end of the active billing period. After this date, the subscription status changes from ACTIVE to CANCELED.
认证
需要 Connected AccountScopes
SUBSCRIPTIONS_WRITETags
CancelTerminalActionSQUAREUP_CANCEL_TERMINAL_ACTIONCancels a Terminal action request if the status of the request permits it.需要连接1 scope
Cancels a Terminal action request if the status of the request permits it.
认证
需要 Connected AccountScopes
PAYMENTS_WRITETags
CancelTerminalCheckoutSQUAREUP_CANCEL_TERMINAL_CHECKOUTCancels a Terminal checkout request if the status of the request permits it.需要连接1 scope
Cancels a Terminal checkout request if the status of the request permits it.
认证
需要 Connected AccountScopes
PAYMENTS_WRITETags
CancelTerminalRefundSQUAREUP_CANCEL_TERMINAL_REFUNDCancels an Interac Terminal refund request by refund request ID if the status of the request permits it.需要连接1 scope
Cancels an Interac Terminal refund request by refund request ID if the status of the request permits it.
认证
需要 Connected AccountScopes
PAYMENTS_WRITETags
CancelTransferOrderSQUAREUP_CANCEL_TRANSFER_ORDERCancels a transfer order in [STARTED](entity:TransferOrderStatus) or [PARTIALLY_RECEIVED](entity:TransferOrderStatus) status. Any unreceived quantities will no longer be receivable and will be immediately returned to the source [Location](entity:Location)'s inventory. Common reasons for cancellation: - Items no longer needed at destination - Source location needs the inventory - Order created in error Creates a [transfer_order.updated](webhook:transfer_order.updated) webhook event.需要连接2 scopes
Cancels a transfer order in [STARTED](entity:TransferOrderStatus) or [PARTIALLY_RECEIVED](entity:TransferOrderStatus) status. Any unreceived quantities will no longer be receivable and will be immediately returned to the source [Location](entity:Location)'s inventory. Common reasons for cancellation: - Items no longer needed at destination - Source location needs the inventory - Order created in error Creates a [transfer_order.updated](webhook:transfer_order.updated) webhook event.
认证
需要 Connected AccountScopes
INVENTORY_READINVENTORY_WRITETags
CaptureTransactionSQUAREUP_CAPTURE_TRANSACTIONCaptures a transaction that was created with the [Charge](api-endpoint:Transactions-Charge) endpoint with a `delay_capture` value of `true`. See [Delayed capture transactions](https://developer.squareup.com/docs/payments/transactions/overview#delayed-capture) for more information.需要连接1 scope
Captures a transaction that was created with the [Charge](api-endpoint:Transactions-Charge) endpoint with a `delay_capture` value of `true`. See [Delayed capture transactions](https://developer.squareup.com/docs/payments/transactions/overview#delayed-capture) for more information.
认证
需要 Connected AccountScopes
PAYMENTS_WRITETags
CatalogInfoSQUAREUP_CATALOG_INFORetrieves information about the Square Catalog API, such as batch size limits that can be used by the `BatchUpsertCatalogObjects` endpoint.需要连接1 scope
Retrieves information about the Square Catalog API, such as batch size limits that can be used by the `BatchUpsertCatalogObjects` endpoint.
认证
需要 Connected AccountScopes
ITEMS_READTags
ChangeBillingAnchorDateSQUAREUP_CHANGE_BILLING_ANCHOR_DATEChanges the [billing anchor date](https://developer.squareup.com/docs/subscriptions-api/subscription-billing#billing-dates) for a subscription.需要连接3 scopes
Changes the [billing anchor date](https://developer.squareup.com/docs/subscriptions-api/subscription-billing#billing-dates) for a subscription.
认证
需要 Connected AccountScopes
SUBSCRIPTIONS_WRITESUBSCRIPTIONS_READITEMS_READTags
CloneOrderSQUAREUP_CLONE_ORDERCreates a new order, in the `DRAFT` state, by duplicating an existing order. The newly created order has only the core fields (such as line items, taxes, and discounts) copied from the original order.需要连接1 scope
Creates a new order, in the `DRAFT` state, by duplicating an existing order. The newly created order has only the core fields (such as line items, taxes, and discounts) copied from the original order.
认证
需要 Connected AccountScopes
ORDERS_WRITETags
CompletePaymentSQUAREUP_COMPLETE_PAYMENTCompletes (captures) a payment. By default, payments are set to complete immediately after they are created. You can use this endpoint to complete a payment with the APPROVED `status`.需要连接1 scope
Completes (captures) a payment. By default, payments are set to complete immediately after they are created. You can use this endpoint to complete a payment with the APPROVED `status`.
认证
需要 Connected AccountScopes
PAYMENTS_WRITETags
CreateBankAccountSQUAREUP_CREATE_BANK_ACCOUNTStore a bank account on file for a square account需要连接1 scope
Store a bank account on file for a square account
认证
需要 Connected AccountScopes
BANK_ACCOUNTS_WRITETags
CreateBookingSQUAREUP_CREATE_BOOKINGCreates a booking. The required input must include the following: - `Booking.location_id` - `Booking.start_at` - `Booking.AppointmentSegment.team_member_id` - `Booking.AppointmentSegment.service_variation_id` - `Booking.AppointmentSegment.service_variation_version` To call this endpoint with buyer-level permissions, set `APPOINTMENTS_WRITE` for the OAuth scope. To call this endpoint with seller-level permissions, set `APPOINTMENTS_ALL_WRITE` and `APPOINTMENTS_WRITE` for the OAuth scope. For calls to this endpoint with seller-level permissions to succeed, the seller must have subscribed to *Appointments Plus* or *Appointments Premium*.需要连接1 scope
Creates a booking. The required input must include the following: - `Booking.location_id` - `Booking.start_at` - `Booking.AppointmentSegment.team_member_id` - `Booking.AppointmentSegment.service_variation_id` - `Booking.AppointmentSegment.service_variation_version` To call this endpoint with buyer-level permissions, set `APPOINTMENTS_WRITE` for the OAuth scope. To call this endpoint with seller-level permissions, set `APPOINTMENTS_ALL_WRITE` and `APPOINTMENTS_WRITE` for the OAuth scope. For calls to this endpoint with seller-level permissions to succeed, the seller must have subscribed to *Appointments Plus* or *Appointments Premium*.
认证
需要 Connected AccountScopes
APPOINTMENTS_WRITETags
CreateBookingCustomAttributeDefinitionSQUAREUP_CREATE_BOOKING_CUSTOM_ATTRIBUTE_DEFINITIONCreates a bookings custom attribute definition. To call this endpoint with buyer-level permissions, set `APPOINTMENTS_WRITE` for the OAuth scope. To call this endpoint with seller-level permissions, set `APPOINTMENTS_ALL_WRITE` and `APPOINTMENTS_WRITE` for the OAuth scope. For calls to this endpoint with seller-level permissions to succeed, the seller must have subscribed to *Appointments Plus* or *Appointments Premium*.需要连接1 scope
Creates a bookings custom attribute definition. To call this endpoint with buyer-level permissions, set `APPOINTMENTS_WRITE` for the OAuth scope. To call this endpoint with seller-level permissions, set `APPOINTMENTS_ALL_WRITE` and `APPOINTMENTS_WRITE` for the OAuth scope. For calls to this endpoint with seller-level permissions to succeed, the seller must have subscribed to *Appointments Plus* or *Appointments Premium*.
认证
需要 Connected AccountScopes
APPOINTMENTS_WRITETags
CreateBreakTypeSQUAREUP_CREATE_BREAK_TYPECreates a new `BreakType`. A `BreakType` is a template for creating `Break` objects. You must provide the following values in your request to this endpoint: - `location_id` - `break_name` - `expected_duration` - `is_paid` You can only have three `BreakType` instances per location. If you attempt to add a fourth `BreakType` for a location, an `INVALID_REQUEST_ERROR` "Exceeded limit of 3 breaks per location." is returned.需要连接1 scope
Creates a new `BreakType`. A `BreakType` is a template for creating `Break` objects. You must provide the following values in your request to this endpoint: - `location_id` - `break_name` - `expected_duration` - `is_paid` You can only have three `BreakType` instances per location. If you attempt to add a fourth `BreakType` for a location, an `INVALID_REQUEST_ERROR` "Exceeded limit of 3 breaks per location." is returned.
认证
需要 Connected AccountScopes
TIMECARDS_SETTINGS_WRITETags
CreateCardSQUAREUP_CREATE_CARDAdds a card on file to an existing merchant.需要连接
Adds a card on file to an existing merchant.
认证
需要 Connected AccountTags
CreateCatalogImageSQUAREUP_CREATE_CATALOG_IMAGEUploads an image file to be represented by a [CatalogImage](entity:CatalogImage) object that can be linked to an existing [CatalogObject](entity:CatalogObject) instance. The resulting `CatalogImage` is unattached to any `CatalogObject` if the `object_id` is not specified. This `CreateCatalogImage` endpoint accepts HTTP multipart/form-data requests with a JSON part and an image file part in JPEG, PJPEG, PNG, or GIF format. The maximum file size is 15MB.需要连接1 scope
Uploads an image file to be represented by a [CatalogImage](entity:CatalogImage) object that can be linked to an existing [CatalogObject](entity:CatalogObject) instance. The resulting `CatalogImage` is unattached to any `CatalogObject` if the `object_id` is not specified. This `CreateCatalogImage` endpoint accepts HTTP multipart/form-data requests with a JSON part and an image file part in JPEG, PJPEG, PNG, or GIF format. The maximum file size is 15MB.
认证
需要 Connected AccountScopes
ITEMS_WRITETags
CreateCheckoutSQUAREUP_CREATE_CHECKOUTLinks a `checkoutId` to a `checkout_page_url` that customers are directed to in order to provide their payment information using a payment processing workflow hosted on connect.squareup.com. NOTE: The Checkout API has been updated with new features. For more information, see [Checkout API highlights](https://developer.squareup.com/docs/checkout-api#checkout-api-highlights).需要连接2 scopes
Links a `checkoutId` to a `checkout_page_url` that customers are directed to in order to provide their payment information using a payment processing workflow hosted on connect.squareup.com. NOTE: The Checkout API has been updated with new features. For more information, see [Checkout API highlights](https://developer.squareup.com/docs/checkout-api#checkout-api-highlights).
认证
需要 Connected AccountScopes
PAYMENTS_WRITEORDERS_WRITETags
CreateCustomerSQUAREUP_CREATE_CUSTOMERCreates a new customer for a business. You must provide at least one of the following values in your request to this endpoint: - `given_name` - `family_name` - `company_name` - `email_address` - `phone_number`需要连接1 scope
Creates a new customer for a business. You must provide at least one of the following values in your request to this endpoint: - `given_name` - `family_name` - `company_name` - `email_address` - `phone_number`
认证
需要 Connected AccountScopes
CUSTOMERS_WRITETags
CreateCustomerCardSQUAREUP_CREATE_CUSTOMER_CARDAdds a card on file to an existing customer. As with charges, calls to `CreateCustomerCard` are idempotent. Multiple calls with the same card nonce return the same card record that was created with the provided nonce during the _first_ call.需要连接1 scope
Adds a card on file to an existing customer. As with charges, calls to `CreateCustomerCard` are idempotent. Multiple calls with the same card nonce return the same card record that was created with the provided nonce during the _first_ call.
认证
需要 Connected AccountScopes
CUSTOMERS_WRITETags
CreateCustomerCustomAttributeDefinitionSQUAREUP_CREATE_CUSTOMER_CUSTOM_ATTRIBUTE_DEFINITIONCreates a customer-related [custom attribute definition](entity:CustomAttributeDefinition) for a Square seller account. Use this endpoint to define a custom attribute that can be associated with customer profiles. A custom attribute definition specifies the `key`, `visibility`, `schema`, and other properties for a custom attribute. After the definition is created, you can call [UpsertCustomerCustomAttribute](api-endpoint:CustomerCustomAttributes-UpsertCustomerCustomAttribute) or [BulkUpsertCustomerCustomAttributes](api-endpoint:CustomerCustomAttributes-BulkUpsertCustomerCustomAttributes) to set the custom attribute for customer profiles in the seller's Customer Directory. Sellers can view all custom attributes in exported customer data, including those set to `VISIBILITY_HIDDEN`.需要连接1 scope
Creates a customer-related [custom attribute definition](entity:CustomAttributeDefinition) for a Square seller account. Use this endpoint to define a custom attribute that can be associated with customer profiles. A custom attribute definition specifies the `key`, `visibility`, `schema`, and other properties for a custom attribute. After the definition is created, you can call [UpsertCustomerCustomAttribute](api-endpoint:CustomerCustomAttributes-UpsertCustomerCustomAttribute) or [BulkUpsertCustomerCustomAttributes](api-endpoint:CustomerCustomAttributes-BulkUpsertCustomerCustomAttributes) to set the custom attribute for customer profiles in the seller's Customer Directory. Sellers can view all custom attributes in exported customer data, including those set to `VISIBILITY_HIDDEN`.
认证
需要 Connected AccountScopes
CUSTOMERS_WRITETags
CreateCustomerGroupSQUAREUP_CREATE_CUSTOMER_GROUPCreates a new customer group for a business. The request must include the `name` value of the group.需要连接1 scope
Creates a new customer group for a business. The request must include the `name` value of the group.
认证
需要 Connected AccountScopes
CUSTOMERS_WRITETags
CreateDeviceCodeSQUAREUP_CREATE_DEVICE_CODECreates a DeviceCode that can be used to login to a Square Terminal device to enter the connected terminal mode.需要连接1 scope
Creates a DeviceCode that can be used to login to a Square Terminal device to enter the connected terminal mode.
认证
需要 Connected AccountScopes
DEVICE_CREDENTIAL_MANAGEMENTTags
CreateDisputeEvidenceFileSQUAREUP_CREATE_DISPUTE_EVIDENCE_FILEUploads a file to use as evidence in a dispute challenge. The endpoint accepts HTTP multipart/form-data file uploads in HEIC, HEIF, JPEG, PDF, PNG, and TIFF formats.需要连接1 scope
Uploads a file to use as evidence in a dispute challenge. The endpoint accepts HTTP multipart/form-data file uploads in HEIC, HEIF, JPEG, PDF, PNG, and TIFF formats.
认证
需要 Connected AccountScopes
DISPUTES_WRITETags
CreateDisputeEvidenceTextSQUAREUP_CREATE_DISPUTE_EVIDENCE_TEXTUploads text to use as evidence for a dispute challenge.需要连接1 scope
Uploads text to use as evidence for a dispute challenge.
认证
需要 Connected AccountScopes
DISPUTES_WRITETags
CreateGiftCardSQUAREUP_CREATE_GIFT_CARDCreates a digital gift card or registers a physical (plastic) gift card. The resulting gift card has a `PENDING` state. To activate a gift card so that it can be redeemed for purchases, call [CreateGiftCardActivity](api-endpoint:GiftCardActivities-CreateGiftCardActivity) and create an `ACTIVATE` activity with the initial balance. Alternatively, you can use [RefundPayment](api-endpoint:Refunds-RefundPayment) to refund a payment to the new gift card.需要连接1 scope
Creates a digital gift card or registers a physical (plastic) gift card. The resulting gift card has a `PENDING` state. To activate a gift card so that it can be redeemed for purchases, call [CreateGiftCardActivity](api-endpoint:GiftCardActivities-CreateGiftCardActivity) and create an `ACTIVATE` activity with the initial balance. Alternatively, you can use [RefundPayment](api-endpoint:Refunds-RefundPayment) to refund a payment to the new gift card.
认证
需要 Connected AccountScopes
GIFTCARDS_WRITETags
CreateGiftCardActivitySQUAREUP_CREATE_GIFT_CARD_ACTIVITYCreates a gift card activity to manage the balance or state of a [gift card](entity:GiftCard). For example, create an `ACTIVATE` activity to activate a gift card with an initial balance before first use.需要连接1 scope
Creates a gift card activity to manage the balance or state of a [gift card](entity:GiftCard). For example, create an `ACTIVATE` activity to activate a gift card with an initial balance before first use.
认证
需要 Connected AccountScopes
GIFTCARDS_WRITETags
CreateInvoiceSQUAREUP_CREATE_INVOICECreates a draft [invoice](entity:Invoice) for an order created using the Orders API. A draft invoice remains in your account and no action is taken. You must publish the invoice before Square can process it (send it to the customer's email address or charge the customer’s card on file).需要连接2 scopes
Creates a draft [invoice](entity:Invoice) for an order created using the Orders API. A draft invoice remains in your account and no action is taken. You must publish the invoice before Square can process it (send it to the customer's email address or charge the customer’s card on file).
认证
需要 Connected AccountScopes
ORDERS_WRITEINVOICES_WRITETags
CreateInvoiceAttachmentSQUAREUP_CREATE_INVOICE_ATTACHMENTUploads a file and attaches it to an invoice. This endpoint accepts HTTP multipart/form-data file uploads with a JSON `request` part and a `file` part. The `file` part must be a `readable stream` that contains a file in a supported format: GIF, JPEG, PNG, TIFF, BMP, or PDF. Invoices can have up to 10 attachments with a total file size of 25 MB. Attachments can be added only to invoices in the `DRAFT`, `SCHEDULED`, `UNPAID`, or `PARTIALLY_PAID` state. __NOTE:__ When testing in the Sandbox environment, the total file size is limited to 1 KB.需要连接1 scope
Uploads a file and attaches it to an invoice. This endpoint accepts HTTP multipart/form-data file uploads with a JSON `request` part and a `file` part. The `file` part must be a `readable stream` that contains a file in a supported format: GIF, JPEG, PNG, TIFF, BMP, or PDF. Invoices can have up to 10 attachments with a total file size of 25 MB. Attachments can be added only to invoices in the `DRAFT`, `SCHEDULED`, `UNPAID`, or `PARTIALLY_PAID` state. __NOTE:__ When testing in the Sandbox environment, the total file size is limited to 1 KB.
认证
需要 Connected AccountScopes
INVOICES_WRITETags
CreateJobSQUAREUP_CREATE_JOBCreates a job in a seller account. A job defines a title and tip eligibility. Note that compensation is defined in a [job assignment](entity:JobAssignment) in a team member's wage setting.需要连接1 scope
Creates a job in a seller account. A job defines a title and tip eligibility. Note that compensation is defined in a [job assignment](entity:JobAssignment) in a team member's wage setting.
认证
需要 Connected AccountScopes
EMPLOYEES_WRITETags
CreateLocationSQUAREUP_CREATE_LOCATIONCreates a [location](https://developer.squareup.com/docs/locations-api). Creating new locations allows for separate configuration of receipt layouts, item prices, and sales reports. Developers can use locations to separate sales activity through applications that integrate with Square from sales activity elsewhere in a seller's account. Locations created programmatically with the Locations API last forever and are visible to the seller for their own management. Therefore, ensure that each location has a sensible and unique name.需要连接1 scope
Creates a [location](https://developer.squareup.com/docs/locations-api). Creating new locations allows for separate configuration of receipt layouts, item prices, and sales reports. Developers can use locations to separate sales activity through applications that integrate with Square from sales activity elsewhere in a seller's account. Locations created programmatically with the Locations API last forever and are visible to the seller for their own management. Therefore, ensure that each location has a sensible and unique name.
认证
需要 Connected AccountScopes
MERCHANT_PROFILE_WRITETags
CreateLocationCustomAttributeDefinitionSQUAREUP_CREATE_LOCATION_CUSTOM_ATTRIBUTE_DEFINITIONCreates a location-related [custom attribute definition](entity:CustomAttributeDefinition) for a Square seller account. Use this endpoint to define a custom attribute that can be associated with locations. A custom attribute definition specifies the `key`, `visibility`, `schema`, and other properties for a custom attribute. After the definition is created, you can call [UpsertLocationCustomAttribute](api-endpoint:LocationCustomAttributes-UpsertLocationCustomAttribute) or [BulkUpsertLocationCustomAttributes](api-endpoint:LocationCustomAttributes-BulkUpsertLocationCustomAttributes) to set the custom attribute for locations.需要连接1 scope
Creates a location-related [custom attribute definition](entity:CustomAttributeDefinition) for a Square seller account. Use this endpoint to define a custom attribute that can be associated with locations. A custom attribute definition specifies the `key`, `visibility`, `schema`, and other properties for a custom attribute. After the definition is created, you can call [UpsertLocationCustomAttribute](api-endpoint:LocationCustomAttributes-UpsertLocationCustomAttribute) or [BulkUpsertLocationCustomAttributes](api-endpoint:LocationCustomAttributes-BulkUpsertLocationCustomAttributes) to set the custom attribute for locations.
认证
需要 Connected AccountScopes
MERCHANT_PROFILE_WRITETags
CreateLoyaltyAccountSQUAREUP_CREATE_LOYALTY_ACCOUNTCreates a loyalty account. To create a loyalty account, you must provide the `program_id` and a `mapping` with the `phone_number` of the buyer.需要连接1 scope
Creates a loyalty account. To create a loyalty account, you must provide the `program_id` and a `mapping` with the `phone_number` of the buyer.
认证
需要 Connected AccountScopes
LOYALTY_WRITETags
CreateLoyaltyPromotionSQUAREUP_CREATE_LOYALTY_PROMOTIONCreates a loyalty promotion for a [loyalty program](entity:LoyaltyProgram). A loyalty promotion enables buyers to earn points in addition to those earned from the base loyalty program. This endpoint sets the loyalty promotion to the `ACTIVE` or `SCHEDULED` status, depending on the `available_time` setting. A loyalty program can have a maximum of 10 loyalty promotions with an `ACTIVE` or `SCHEDULED` status.需要连接1 scope
Creates a loyalty promotion for a [loyalty program](entity:LoyaltyProgram). A loyalty promotion enables buyers to earn points in addition to those earned from the base loyalty program. This endpoint sets the loyalty promotion to the `ACTIVE` or `SCHEDULED` status, depending on the `available_time` setting. A loyalty program can have a maximum of 10 loyalty promotions with an `ACTIVE` or `SCHEDULED` status.
认证
需要 Connected AccountScopes
LOYALTY_WRITETags
CreateLoyaltyRewardSQUAREUP_CREATE_LOYALTY_REWARDCreates a loyalty reward. In the process, the endpoint does following: - Uses the `reward_tier_id` in the request to determine the number of points to lock for this reward. - If the request includes `order_id`, it adds the reward and related discount to the order. After a reward is created, the points are locked and not available for the buyer to redeem another reward.需要连接1 scope
Creates a loyalty reward. In the process, the endpoint does following: - Uses the `reward_tier_id` in the request to determine the number of points to lock for this reward. - If the request includes `order_id`, it adds the reward and related discount to the order. After a reward is created, the points are locked and not available for the buyer to redeem another reward.
认证
需要 Connected AccountScopes
LOYALTY_WRITETags
CreateMerchantCustomAttributeDefinitionSQUAREUP_CREATE_MERCHANT_CUSTOM_ATTRIBUTE_DEFINITIONCreates a merchant-related [custom attribute definition](entity:CustomAttributeDefinition) for a Square seller account. Use this endpoint to define a custom attribute that can be associated with a merchant connecting to your application. A custom attribute definition specifies the `key`, `visibility`, `schema`, and other properties for a custom attribute. After the definition is created, you can call [UpsertMerchantCustomAttribute](api-endpoint:MerchantCustomAttributes-UpsertMerchantCustomAttribute) or [BulkUpsertMerchantCustomAttributes](api-endpoint:MerchantCustomAttributes-BulkUpsertMerchantCustomAttributes) to set the custom attribute for a merchant.需要连接1 scope
Creates a merchant-related [custom attribute definition](entity:CustomAttributeDefinition) for a Square seller account. Use this endpoint to define a custom attribute that can be associated with a merchant connecting to your application. A custom attribute definition specifies the `key`, `visibility`, `schema`, and other properties for a custom attribute. After the definition is created, you can call [UpsertMerchantCustomAttribute](api-endpoint:MerchantCustomAttributes-UpsertMerchantCustomAttribute) or [BulkUpsertMerchantCustomAttributes](api-endpoint:MerchantCustomAttributes-BulkUpsertMerchantCustomAttributes) to set the custom attribute for a merchant.
认证
需要 Connected AccountScopes
MERCHANT_PROFILE_WRITETags
CreateOrderSQUAREUP_CREATE_ORDERCreates a new [order](entity:Order) that can include information about products for purchase and settings to apply to the purchase. To pay for a created order, see [Pay for Orders](https://developer.squareup.com/docs/orders-api/pay-for-orders). You can modify open orders using the [UpdateOrder](api-endpoint:Orders-UpdateOrder) endpoint.需要连接1 scope
Creates a new [order](entity:Order) that can include information about products for purchase and settings to apply to the purchase. To pay for a created order, see [Pay for Orders](https://developer.squareup.com/docs/orders-api/pay-for-orders). You can modify open orders using the [UpdateOrder](api-endpoint:Orders-UpdateOrder) endpoint.
认证
需要 Connected AccountScopes
ORDERS_WRITETags
CreateOrderCustomAttributeDefinitionSQUAREUP_CREATE_ORDER_CUSTOM_ATTRIBUTE_DEFINITIONCreates an order-related custom attribute definition. Use this endpoint to define a custom attribute that can be associated with orders. After creating a custom attribute definition, you can set the custom attribute for orders in the Square seller account.需要连接1 scope
Creates an order-related custom attribute definition. Use this endpoint to define a custom attribute that can be associated with orders. After creating a custom attribute definition, you can set the custom attribute for orders in the Square seller account.
认证
需要 Connected AccountScopes
ORDERS_WRITETags
CreatePaymentSQUAREUP_CREATE_PAYMENTCreates a payment using the provided source. You can use this endpoint to charge a card (credit/debit card or Square gift card) or record a payment that the seller received outside of Square (cash payment from a buyer or a payment that an external entity processed on behalf of the seller). The endpoint creates a `Payment` object and returns it in the response.需要连接1 scope
Creates a payment using the provided source. You can use this endpoint to charge a card (credit/debit card or Square gift card) or record a payment that the seller received outside of Square (cash payment from a buyer or a payment that an external entity processed on behalf of the seller). The endpoint creates a `Payment` object and returns it in the response.
认证
需要 Connected AccountScopes
PAYMENTS_WRITETags
CreatePaymentLinkSQUAREUP_CREATE_PAYMENT_LINKCreates a Square-hosted checkout page. Applications can share the resulting payment link with their buyer to pay for goods and services.需要连接3 scopes
Creates a Square-hosted checkout page. Applications can share the resulting payment link with their buyer to pay for goods and services.
认证
需要 Connected AccountScopes
PAYMENTS_WRITEORDERS_READORDERS_WRITETags
CreateScheduledShiftSQUAREUP_CREATE_SCHEDULED_SHIFTCreates a scheduled shift by providing draft shift details such as job ID, team member assignment, and start and end times. The following `draft_shift_details` fields are required: - `location_id` - `job_id` - `start_at` - `end_at`需要连接1 scope
Creates a scheduled shift by providing draft shift details such as job ID, team member assignment, and start and end times. The following `draft_shift_details` fields are required: - `location_id` - `job_id` - `start_at` - `end_at`
认证
需要 Connected AccountScopes
TIMECARDS_WRITETags
CreateShiftSQUAREUP_CREATE_SHIFTCreates a new `Shift`. A `Shift` represents a complete workday for a single team member. You must provide the following values in your request to this endpoint: - `location_id` - `team_member_id` - `start_at` An attempt to create a new `Shift` can result in a `BAD_REQUEST` error when: - The `status` of the new `Shift` is `OPEN` and the team member has another shift with an `OPEN` status. - The `start_at` date is in the future. - The `start_at` or `end_at` date overlaps another shift for the same team member. - The `Break` instances are set in the request and a break `start_at` is before the `Shift.start_at`, a break `end_at` is after the `Shift.end_at`, or both.需要连接1 scope
Creates a new `Shift`. A `Shift` represents a complete workday for a single team member. You must provide the following values in your request to this endpoint: - `location_id` - `team_member_id` - `start_at` An attempt to create a new `Shift` can result in a `BAD_REQUEST` error when: - The `status` of the new `Shift` is `OPEN` and the team member has another shift with an `OPEN` status. - The `start_at` date is in the future. - The `start_at` or `end_at` date overlaps another shift for the same team member. - The `Break` instances are set in the request and a break `start_at` is before the `Shift.start_at`, a break `end_at` is after the `Shift.end_at`, or both.
认证
需要 Connected AccountScopes
TIMECARDS_WRITETags
CreateSubscriptionSQUAREUP_CREATE_SUBSCRIPTIONEnrolls a customer in a subscription. If you provide a card on file in the request, Square charges the card for the subscription. Otherwise, Square sends an invoice to the customer's email address. The subscription starts immediately, unless the request includes the optional `start_date`. Each individual subscription is associated with a particular location. For more information, see [Create a subscription](https://developer.squareup.com/docs/subscriptions-api/manage-subscriptions#create-a-subscription).需要连接6 scopes
Enrolls a customer in a subscription. If you provide a card on file in the request, Square charges the card for the subscription. Otherwise, Square sends an invoice to the customer's email address. The subscription starts immediately, unless the request includes the optional `start_date`. Each individual subscription is associated with a particular location. For more information, see [Create a subscription](https://developer.squareup.com/docs/subscriptions-api/manage-subscriptions#create-a-subscription).
认证
需要 Connected AccountScopes
CUSTOMERS_READPAYMENTS_WRITESUBSCRIPTIONS_WRITEITEMS_READORDERS_WRITEINVOICES_WRITETags
CreateTeamMemberSQUAREUP_CREATE_TEAM_MEMBERCreates a single `TeamMember` object. The `TeamMember` object is returned on successful creates. You must provide the following values in your request to this endpoint: - `given_name` - `family_name` Learn about [Troubleshooting the Team API](https://developer.squareup.com/docs/team/troubleshooting#createteammember).需要连接1 scope
Creates a single `TeamMember` object. The `TeamMember` object is returned on successful creates. You must provide the following values in your request to this endpoint: - `given_name` - `family_name` Learn about [Troubleshooting the Team API](https://developer.squareup.com/docs/team/troubleshooting#createteammember).
认证
需要 Connected AccountScopes
EMPLOYEES_WRITETags
CreateTerminalActionSQUAREUP_CREATE_TERMINAL_ACTIONCreates a Terminal action request and sends it to the specified device.需要连接1 scope
Creates a Terminal action request and sends it to the specified device.
认证
需要 Connected AccountScopes
PAYMENTS_WRITETags
CreateTerminalCheckoutSQUAREUP_CREATE_TERMINAL_CHECKOUTCreates a Terminal checkout request and sends it to the specified device to take a payment for the requested amount.需要连接1 scope
Creates a Terminal checkout request and sends it to the specified device to take a payment for the requested amount.
认证
需要 Connected AccountScopes
PAYMENTS_WRITETags
CreateTerminalRefundSQUAREUP_CREATE_TERMINAL_REFUNDCreates a request to refund an Interac payment completed on a Square Terminal. Refunds for Interac payments on a Square Terminal are supported only for Interac debit cards in Canada. Other refunds for Terminal payments should use the Refunds API. For more information, see [Refunds API](api:Refunds).需要连接1 scope
Creates a request to refund an Interac payment completed on a Square Terminal. Refunds for Interac payments on a Square Terminal are supported only for Interac debit cards in Canada. Other refunds for Terminal payments should use the Refunds API. For more information, see [Refunds API](api:Refunds).
认证
需要 Connected AccountScopes
PAYMENTS_WRITETags
CreateTimecardSQUAREUP_CREATE_TIMECARDCreates a new `Timecard`. A `Timecard` represents a complete workday for a single team member. You must provide the following values in your request to this endpoint: - `location_id` - `team_member_id` - `start_at` An attempt to create a new `Timecard` can result in a `BAD_REQUEST` error when: - The `status` of the new `Timecard` is `OPEN` and the team member has another timecard with an `OPEN` status. - The `start_at` date is in the future. - The `start_at` or `end_at` date overlaps another timecard for the same team member. - The `Break` instances are set in the request and a break `start_at` is before the `Timecard.start_at`, a break `end_at` is after the `Timecard.end_at`, or both.需要连接1 scope
Creates a new `Timecard`. A `Timecard` represents a complete workday for a single team member. You must provide the following values in your request to this endpoint: - `location_id` - `team_member_id` - `start_at` An attempt to create a new `Timecard` can result in a `BAD_REQUEST` error when: - The `status` of the new `Timecard` is `OPEN` and the team member has another timecard with an `OPEN` status. - The `start_at` date is in the future. - The `start_at` or `end_at` date overlaps another timecard for the same team member. - The `Break` instances are set in the request and a break `start_at` is before the `Timecard.start_at`, a break `end_at` is after the `Timecard.end_at`, or both.
认证
需要 Connected AccountScopes
TIMECARDS_WRITETags
CreateTransferOrderSQUAREUP_CREATE_TRANSFER_ORDERCreates a new transfer order in [DRAFT](entity:TransferOrderStatus) status. A transfer order represents the intent to move [CatalogItemVariation](entity:CatalogItemVariation)s from one [Location](entity:Location) to another. The source and destination locations must be different and must belong to your Square account. In [DRAFT](entity:TransferOrderStatus) status, you can: - Add or remove items - Modify quantities - Update shipping information - Delete the entire order via [DeleteTransferOrder](api-endpoint:TransferOrders-DeleteTransferOrder) The request requires source_location_id and destination_location_id. Inventory levels are not affected until the order is started via [StartTransferOrder](api-endpoint:TransferOrders-StartTransferOrder). Common integration points: - Sync with warehouse management systems - Automate regular stock transfers - Initialize transfers from inventory optimization systems Creates a [transfer_order.created](webhook:transfer_order.created) webhook event.需要连接2 scopes
Creates a new transfer order in [DRAFT](entity:TransferOrderStatus) status. A transfer order represents the intent to move [CatalogItemVariation](entity:CatalogItemVariation)s from one [Location](entity:Location) to another. The source and destination locations must be different and must belong to your Square account. In [DRAFT](entity:TransferOrderStatus) status, you can: - Add or remove items - Modify quantities - Update shipping information - Delete the entire order via [DeleteTransferOrder](api-endpoint:TransferOrders-DeleteTransferOrder) The request requires source_location_id and destination_location_id. Inventory levels are not affected until the order is started via [StartTransferOrder](api-endpoint:TransferOrders-StartTransferOrder). Common integration points: - Sync with warehouse management systems - Automate regular stock transfers - Initialize transfers from inventory optimization systems Creates a [transfer_order.created](webhook:transfer_order.created) webhook event.
认证
需要 Connected AccountScopes
INVENTORY_READINVENTORY_WRITETags
CreateVendorSQUAREUP_CREATE_VENDORCreates a single [Vendor](entity:Vendor) object to represent a supplier to a seller.需要连接1 scope
Creates a single [Vendor](entity:Vendor) object to represent a supplier to a seller.
认证
需要 Connected AccountScopes
VENDOR_WRITETags
CreateWebhookSubscriptionSQUAREUP_CREATE_WEBHOOK_SUBSCRIPTIONCreates a webhook subscription.需要连接
Creates a webhook subscription.
认证
需要 Connected AccountTags
DeleteBookingCustomAttributeSQUAREUP_DELETE_BOOKING_CUSTOM_ATTRIBUTEDeletes a bookings custom attribute. To call this endpoint with buyer-level permissions, set `APPOINTMENTS_WRITE` for the OAuth scope. To call this endpoint with seller-level permissions, set `APPOINTMENTS_ALL_WRITE` and `APPOINTMENTS_WRITE` for the OAuth scope. For calls to this endpoint with seller-level permissions to succeed, the seller must have subscribed to *Appointments Plus* or *Appointments Premium*.需要连接1 scope
Deletes a bookings custom attribute. To call this endpoint with buyer-level permissions, set `APPOINTMENTS_WRITE` for the OAuth scope. To call this endpoint with seller-level permissions, set `APPOINTMENTS_ALL_WRITE` and `APPOINTMENTS_WRITE` for the OAuth scope. For calls to this endpoint with seller-level permissions to succeed, the seller must have subscribed to *Appointments Plus* or *Appointments Premium*.
认证
需要 Connected AccountScopes
APPOINTMENTS_WRITETags
DeleteBookingCustomAttributeDefinitionSQUAREUP_DELETE_BOOKING_CUSTOM_ATTRIBUTE_DEFINITIONDeletes a bookings custom attribute definition. To call this endpoint with buyer-level permissions, set `APPOINTMENTS_WRITE` for the OAuth scope. To call this endpoint with seller-level permissions, set `APPOINTMENTS_ALL_WRITE` and `APPOINTMENTS_WRITE` for the OAuth scope. For calls to this endpoint with seller-level permissions to succeed, the seller must have subscribed to *Appointments Plus* or *Appointments Premium*.需要连接1 scope
Deletes a bookings custom attribute definition. To call this endpoint with buyer-level permissions, set `APPOINTMENTS_WRITE` for the OAuth scope. To call this endpoint with seller-level permissions, set `APPOINTMENTS_ALL_WRITE` and `APPOINTMENTS_WRITE` for the OAuth scope. For calls to this endpoint with seller-level permissions to succeed, the seller must have subscribed to *Appointments Plus* or *Appointments Premium*.
认证
需要 Connected AccountScopes
APPOINTMENTS_WRITETags
DeleteBreakTypeSQUAREUP_DELETE_BREAK_TYPEDeletes an existing `BreakType`. A `BreakType` can be deleted even if it is referenced from a `Shift`.需要连接1 scope
Deletes an existing `BreakType`. A `BreakType` can be deleted even if it is referenced from a `Shift`.
认证
需要 Connected AccountScopes
TIMECARDS_SETTINGS_WRITETags
DeleteCatalogObjectSQUAREUP_DELETE_CATALOG_OBJECTDeletes a single [CatalogObject](entity:CatalogObject) based on the provided ID and returns the set of successfully deleted IDs in the response. Deletion is a cascading event such that all children of the targeted object are also deleted. For example, deleting a [CatalogItem](entity:CatalogItem) will also delete all of its [CatalogItemVariation](entity:CatalogItemVariation) children. To ensure consistency, only one delete request is processed at a time per seller account. While one (batch or non-batch) delete request is being processed, other (batched and non-batched) delete requests are rejected with the `429` error code.需要连接1 scope
Deletes a single [CatalogObject](entity:CatalogObject) based on the provided ID and returns the set of successfully deleted IDs in the response. Deletion is a cascading event such that all children of the targeted object are also deleted. For example, deleting a [CatalogItem](entity:CatalogItem) will also delete all of its [CatalogItemVariation](entity:CatalogItemVariation) children. To ensure consistency, only one delete request is processed at a time per seller account. While one (batch or non-batch) delete request is being processed, other (batched and non-batched) delete requests are rejected with the `429` error code.
认证
需要 Connected AccountScopes
ITEMS_WRITETags
DeleteCustomerSQUAREUP_DELETE_CUSTOMERDeletes a customer profile from a business. To delete a customer profile that was created by merging existing profiles, you must use the ID of the newly created profile.需要连接1 scope
Deletes a customer profile from a business. To delete a customer profile that was created by merging existing profiles, you must use the ID of the newly created profile.
认证
需要 Connected AccountScopes
CUSTOMERS_WRITETags
DeleteCustomerCardSQUAREUP_DELETE_CUSTOMER_CARDRemoves a card on file from a customer.需要连接1 scope
Removes a card on file from a customer.
认证
需要 Connected AccountScopes
CUSTOMERS_WRITETags
DeleteCustomerCustomAttributeSQUAREUP_DELETE_CUSTOMER_CUSTOM_ATTRIBUTEDeletes a [custom attribute](entity:CustomAttribute) associated with a customer profile. To delete a custom attribute owned by another application, the `visibility` setting must be `VISIBILITY_READ_WRITE_VALUES`. Note that seller-defined custom attributes (also known as custom fields) are always set to `VISIBILITY_READ_WRITE_VALUES`.需要连接1 scope
Deletes a [custom attribute](entity:CustomAttribute) associated with a customer profile. To delete a custom attribute owned by another application, the `visibility` setting must be `VISIBILITY_READ_WRITE_VALUES`. Note that seller-defined custom attributes (also known as custom fields) are always set to `VISIBILITY_READ_WRITE_VALUES`.
认证
需要 Connected AccountScopes
CUSTOMERS_WRITETags
DeleteCustomerCustomAttributeDefinitionSQUAREUP_DELETE_CUSTOMER_CUSTOM_ATTRIBUTE_DEFINITIONDeletes a customer-related [custom attribute definition](entity:CustomAttributeDefinition) from a Square seller account. Deleting a custom attribute definition also deletes the corresponding custom attribute from all customer profiles in the seller's Customer Directory. Only the definition owner can delete a custom attribute definition.需要连接1 scope
Deletes a customer-related [custom attribute definition](entity:CustomAttributeDefinition) from a Square seller account. Deleting a custom attribute definition also deletes the corresponding custom attribute from all customer profiles in the seller's Customer Directory. Only the definition owner can delete a custom attribute definition.
认证
需要 Connected AccountScopes
CUSTOMERS_WRITETags
DeleteCustomerGroupSQUAREUP_DELETE_CUSTOMER_GROUPDeletes a customer group as identified by the `group_id` value.需要连接1 scope
Deletes a customer group as identified by the `group_id` value.
认证
需要 Connected AccountScopes
CUSTOMERS_WRITETags
DeleteDisputeEvidenceSQUAREUP_DELETE_DISPUTE_EVIDENCERemoves specified evidence from a dispute. Square does not send the bank any evidence that is removed.需要连接1 scope
Removes specified evidence from a dispute. Square does not send the bank any evidence that is removed.
认证
需要 Connected AccountScopes
DISPUTES_WRITETags
DeleteInvoiceSQUAREUP_DELETE_INVOICEDeletes the specified invoice. When an invoice is deleted, the associated order status changes to CANCELED. You can only delete a draft invoice (you cannot delete a published invoice, including one that is scheduled for processing).需要连接2 scopes
Deletes the specified invoice. When an invoice is deleted, the associated order status changes to CANCELED. You can only delete a draft invoice (you cannot delete a published invoice, including one that is scheduled for processing).
认证
需要 Connected AccountScopes
ORDERS_WRITEINVOICES_WRITETags
DeleteInvoiceAttachmentSQUAREUP_DELETE_INVOICE_ATTACHMENTRemoves an attachment from an invoice and permanently deletes the file. Attachments can be removed only from invoices in the `DRAFT`, `SCHEDULED`, `UNPAID`, or `PARTIALLY_PAID` state.需要连接1 scope
Removes an attachment from an invoice and permanently deletes the file. Attachments can be removed only from invoices in the `DRAFT`, `SCHEDULED`, `UNPAID`, or `PARTIALLY_PAID` state.
认证
需要 Connected AccountScopes
INVOICES_WRITETags
DeleteLocationCustomAttributeSQUAREUP_DELETE_LOCATION_CUSTOM_ATTRIBUTEDeletes a [custom attribute](entity:CustomAttribute) associated with a location. To delete a custom attribute owned by another application, the `visibility` setting must be `VISIBILITY_READ_WRITE_VALUES`.需要连接1 scope
Deletes a [custom attribute](entity:CustomAttribute) associated with a location. To delete a custom attribute owned by another application, the `visibility` setting must be `VISIBILITY_READ_WRITE_VALUES`.
认证
需要 Connected AccountScopes
MERCHANT_PROFILE_WRITETags
DeleteLocationCustomAttributeDefinitionSQUAREUP_DELETE_LOCATION_CUSTOM_ATTRIBUTE_DEFINITIONDeletes a location-related [custom attribute definition](entity:CustomAttributeDefinition) from a Square seller account. Deleting a custom attribute definition also deletes the corresponding custom attribute from all locations. Only the definition owner can delete a custom attribute definition.需要连接1 scope
Deletes a location-related [custom attribute definition](entity:CustomAttributeDefinition) from a Square seller account. Deleting a custom attribute definition also deletes the corresponding custom attribute from all locations. Only the definition owner can delete a custom attribute definition.
认证
需要 Connected AccountScopes
MERCHANT_PROFILE_WRITETags
DeleteLoyaltyRewardSQUAREUP_DELETE_LOYALTY_REWARDDeletes a loyalty reward by doing the following: - Returns the loyalty points back to the loyalty account. - If an order ID was specified when the reward was created (see [CreateLoyaltyReward](api-endpoint:Loyalty-CreateLoyaltyReward)), it updates the order by removing the reward and related discounts. You cannot delete a reward that has reached the terminal state (REDEEMED).需要连接1 scope
Deletes a loyalty reward by doing the following: - Returns the loyalty points back to the loyalty account. - If an order ID was specified when the reward was created (see [CreateLoyaltyReward](api-endpoint:Loyalty-CreateLoyaltyReward)), it updates the order by removing the reward and related discounts. You cannot delete a reward that has reached the terminal state (REDEEMED).
认证
需要 Connected AccountScopes
LOYALTY_WRITETags
DeleteMerchantCustomAttributeSQUAREUP_DELETE_MERCHANT_CUSTOM_ATTRIBUTEDeletes a [custom attribute](entity:CustomAttribute) associated with a merchant. To delete a custom attribute owned by another application, the `visibility` setting must be `VISIBILITY_READ_WRITE_VALUES`.需要连接1 scope
Deletes a [custom attribute](entity:CustomAttribute) associated with a merchant. To delete a custom attribute owned by another application, the `visibility` setting must be `VISIBILITY_READ_WRITE_VALUES`.
认证
需要 Connected AccountScopes
MERCHANT_PROFILE_WRITETags
DeleteMerchantCustomAttributeDefinitionSQUAREUP_DELETE_MERCHANT_CUSTOM_ATTRIBUTE_DEFINITIONDeletes a merchant-related [custom attribute definition](entity:CustomAttributeDefinition) from a Square seller account. Deleting a custom attribute definition also deletes the corresponding custom attribute from the merchant. Only the definition owner can delete a custom attribute definition.需要连接1 scope
Deletes a merchant-related [custom attribute definition](entity:CustomAttributeDefinition) from a Square seller account. Deleting a custom attribute definition also deletes the corresponding custom attribute from the merchant. Only the definition owner can delete a custom attribute definition.
认证
需要 Connected AccountScopes
MERCHANT_PROFILE_WRITETags
DeleteOrderCustomAttributeSQUAREUP_DELETE_ORDER_CUSTOM_ATTRIBUTEDeletes a [custom attribute](entity:CustomAttribute) associated with a customer profile. To delete a custom attribute owned by another application, the `visibility` setting must be `VISIBILITY_READ_WRITE_VALUES`. Note that seller-defined custom attributes (also known as custom fields) are always set to `VISIBILITY_READ_WRITE_VALUES`.需要连接1 scope
Deletes a [custom attribute](entity:CustomAttribute) associated with a customer profile. To delete a custom attribute owned by another application, the `visibility` setting must be `VISIBILITY_READ_WRITE_VALUES`. Note that seller-defined custom attributes (also known as custom fields) are always set to `VISIBILITY_READ_WRITE_VALUES`.
认证
需要 Connected AccountScopes
ORDERS_WRITETags
DeleteOrderCustomAttributeDefinitionSQUAREUP_DELETE_ORDER_CUSTOM_ATTRIBUTE_DEFINITIONDeletes an order-related [custom attribute definition](entity:CustomAttributeDefinition) from a Square seller account. Only the definition owner can delete a custom attribute definition.需要连接1 scope
Deletes an order-related [custom attribute definition](entity:CustomAttributeDefinition) from a Square seller account. Only the definition owner can delete a custom attribute definition.
认证
需要 Connected AccountScopes
ORDERS_WRITETags
DeletePaymentLinkSQUAREUP_DELETE_PAYMENT_LINKDeletes a payment link.需要连接2 scopes
Deletes a payment link.
认证
需要 Connected AccountScopes
ORDERS_READORDERS_WRITETags
DeleteShiftSQUAREUP_DELETE_SHIFTDeletes a `Shift`.需要连接1 scope
Deletes a `Shift`.
认证
需要 Connected AccountScopes
TIMECARDS_WRITETags
DeleteSnippetSQUAREUP_DELETE_SNIPPETRemoves your snippet from a Square Online site. You can call [ListSites](api-endpoint:Sites-ListSites) to get the IDs of the sites that belong to a seller. __Note:__ Square Online APIs are publicly available as part of an early access program. For more information, see [Early access program for Square Online APIs](https://developer.squareup.com/docs/online-api#early-access-program-for-square-online-apis).需要连接1 scope
Removes your snippet from a Square Online site. You can call [ListSites](api-endpoint:Sites-ListSites) to get the IDs of the sites that belong to a seller. __Note:__ Square Online APIs are publicly available as part of an early access program. For more information, see [Early access program for Square Online APIs](https://developer.squareup.com/docs/online-api#early-access-program-for-square-online-apis).
认证
需要 Connected AccountScopes
ONLINE_STORE_SNIPPETS_WRITETags
DeleteSubscriptionActionSQUAREUP_DELETE_SUBSCRIPTION_ACTIONDeletes a scheduled action for a subscription.需要连接1 scope
Deletes a scheduled action for a subscription.
认证
需要 Connected AccountScopes
SUBSCRIPTIONS_WRITETags
DeleteTimecardSQUAREUP_DELETE_TIMECARDDeletes a `Timecard`.需要连接1 scope
Deletes a `Timecard`.
认证
需要 Connected AccountScopes
TIMECARDS_WRITETags
DeleteTransferOrderSQUAREUP_DELETE_TRANSFER_ORDERDeletes a transfer order in [DRAFT](entity:TransferOrderStatus) status. Only draft orders can be deleted. Once an order is started via [StartTransferOrder](api-endpoint:TransferOrders-StartTransferOrder), it can no longer be deleted. Creates a [transfer_order.deleted](webhook:transfer_order.deleted) webhook event.需要连接1 scope
Deletes a transfer order in [DRAFT](entity:TransferOrderStatus) status. Only draft orders can be deleted. Once an order is started via [StartTransferOrder](api-endpoint:TransferOrders-StartTransferOrder), it can no longer be deleted. Creates a [transfer_order.deleted](webhook:transfer_order.deleted) webhook event.
认证
需要 Connected AccountScopes
INVENTORY_WRITETags
DeleteWebhookSubscriptionSQUAREUP_DELETE_WEBHOOK_SUBSCRIPTIONDeletes a webhook subscription.需要连接
Deletes a webhook subscription.
认证
需要 Connected AccountTags
DeprecatedBatchChangeInventorySQUAREUP_DEPRECATED_BATCH_CHANGE_INVENTORYDeprecated version of [BatchChangeInventory](api-endpoint:Inventory-BatchChangeInventory) after the endpoint URL is updated to conform to the standard convention.需要连接1 scope
Deprecated version of [BatchChangeInventory](api-endpoint:Inventory-BatchChangeInventory) after the endpoint URL is updated to conform to the standard convention.
认证
需要 Connected AccountScopes
INVENTORY_WRITETags
DeprecatedBatchRetrieveInventoryChangesSQUAREUP_DEPRECATED_BATCH_RETRIEVE_INVENTORY_CHANGESDeprecated version of [BatchRetrieveInventoryChanges](api-endpoint:Inventory-BatchRetrieveInventoryChanges) after the endpoint URL is updated to conform to the standard convention.需要连接1 scope
Deprecated version of [BatchRetrieveInventoryChanges](api-endpoint:Inventory-BatchRetrieveInventoryChanges) after the endpoint URL is updated to conform to the standard convention.
认证
需要 Connected AccountScopes
INVENTORY_READTags
DeprecatedBatchRetrieveInventoryCountsSQUAREUP_DEPRECATED_BATCH_RETRIEVE_INVENTORY_COUNTSDeprecated version of [BatchRetrieveInventoryCounts](api-endpoint:Inventory-BatchRetrieveInventoryCounts) after the endpoint URL is updated to conform to the standard convention.需要连接1 scope
Deprecated version of [BatchRetrieveInventoryCounts](api-endpoint:Inventory-BatchRetrieveInventoryCounts) after the endpoint URL is updated to conform to the standard convention.
认证
需要 Connected AccountScopes
INVENTORY_READTags
DeprecatedRetrieveInventoryAdjustmentSQUAREUP_DEPRECATED_RETRIEVE_INVENTORY_ADJUSTMENTDeprecated version of [RetrieveInventoryAdjustment](api-endpoint:Inventory-RetrieveInventoryAdjustment) after the endpoint URL is updated to conform to the standard convention.需要连接1 scope
Deprecated version of [RetrieveInventoryAdjustment](api-endpoint:Inventory-RetrieveInventoryAdjustment) after the endpoint URL is updated to conform to the standard convention.
认证
需要 Connected AccountScopes
INVENTORY_READTags
DeprecatedRetrieveInventoryPhysicalCountSQUAREUP_DEPRECATED_RETRIEVE_INVENTORY_PHYSICAL_COUNTDeprecated version of [RetrieveInventoryPhysicalCount](api-endpoint:Inventory-RetrieveInventoryPhysicalCount) after the endpoint URL is updated to conform to the standard convention.需要连接1 scope
Deprecated version of [RetrieveInventoryPhysicalCount](api-endpoint:Inventory-RetrieveInventoryPhysicalCount) after the endpoint URL is updated to conform to the standard convention.
认证
需要 Connected AccountScopes
INVENTORY_READTags
DisableBankAccountSQUAREUP_DISABLE_BANK_ACCOUNTDisable a bank account.需要连接1 scope
Disable a bank account.
认证
需要 Connected AccountScopes
BANK_ACCOUNTS_WRITETags
DisableCardSQUAREUP_DISABLE_CARDDisables the card, preventing any further updates or charges. Disabling an already disabled card is allowed but has no effect.需要连接
Disables the card, preventing any further updates or charges. Disabling an already disabled card is allowed but has no effect.
认证
需要 Connected AccountTags
DisableEventsSQUAREUP_DISABLE_EVENTSDisables events to prevent them from being searchable. All events are disabled by default. You must enable events to make them searchable. Disabling events for a specific time period prevents them from being searchable, even if you re-enable them later.需要连接
Disables events to prevent them from being searchable. All events are disabled by default. You must enable events to make them searchable. Disabling events for a specific time period prevents them from being searchable, even if you re-enable them later.
认证
需要 Connected AccountTags
DismissTerminalActionSQUAREUP_DISMISS_TERMINAL_ACTIONDismisses a Terminal action request if the status and type of the request permits it. See [Link and Dismiss Actions](https://developer.squareup.com/docs/terminal-api/advanced-features/custom-workflows/link-and-dismiss-actions) for more details.需要连接
Dismisses a Terminal action request if the status and type of the request permits it. See [Link and Dismiss Actions](https://developer.squareup.com/docs/terminal-api/advanced-features/custom-workflows/link-and-dismiss-actions) for more details.
认证
需要 Connected AccountTags
DismissTerminalCheckoutSQUAREUP_DISMISS_TERMINAL_CHECKOUTDismisses a Terminal checkout request if the status and type of the request permits it.需要连接
Dismisses a Terminal checkout request if the status and type of the request permits it.
认证
需要 Connected AccountTags
DismissTerminalRefundSQUAREUP_DISMISS_TERMINAL_REFUNDDismisses a Terminal refund request if the status and type of the request permits it.需要连接
Dismisses a Terminal refund request if the status and type of the request permits it.
认证
需要 Connected AccountTags
EnableEventsSQUAREUP_ENABLE_EVENTSEnables events to make them searchable. Only events that occur while in the enabled state are searchable.需要连接
Enables events to make them searchable. Only events that occur while in the enabled state are searchable.
认证
需要 Connected AccountTags
GetBankAccountSQUAREUP_GET_BANK_ACCOUNTRetrieve details of a [BankAccount](entity:BankAccount) bank account linked to a Square account.需要连接1 scope
Retrieve details of a [BankAccount](entity:BankAccount) bank account linked to a Square account.
认证
需要 Connected AccountScopes
BANK_ACCOUNTS_READTags
GetBankAccountByV1IdSQUAREUP_GET_BANK_ACCOUNT_BY_V1_IDReturns details of a [BankAccount](entity:BankAccount) identified by V1 bank account ID.需要连接1 scope
Returns details of a [BankAccount](entity:BankAccount) identified by V1 bank account ID.
认证
需要 Connected AccountScopes
BANK_ACCOUNTS_READTags
GetBreakTypeSQUAREUP_GET_BREAK_TYPEReturns a single `BreakType` specified by `id`.需要连接1 scope
Returns a single `BreakType` specified by `id`.
认证
需要 Connected AccountScopes
TIMECARDS_SETTINGS_READTags
GetDeviceSQUAREUP_GET_DEVICERetrieves Device with the associated `device_id`.需要连接1 scope
Retrieves Device with the associated `device_id`.
认证
需要 Connected AccountScopes
DEVICES_READTags
GetDeviceCodeSQUAREUP_GET_DEVICE_CODERetrieves DeviceCode with the associated ID.需要连接1 scope
Retrieves DeviceCode with the associated ID.
认证
需要 Connected AccountScopes
DEVICE_CREDENTIAL_MANAGEMENTTags
GetEmployeeWageSQUAREUP_GET_EMPLOYEE_WAGEReturns a single `EmployeeWage` specified by `id`.需要连接1 scope
Returns a single `EmployeeWage` specified by `id`.
认证
需要 Connected AccountScopes
EMPLOYEES_READTags
GetInvoiceSQUAREUP_GET_INVOICERetrieves an invoice by invoice ID.需要连接1 scope
Retrieves an invoice by invoice ID.
认证
需要 Connected AccountScopes
INVOICES_READTags
GetPaymentSQUAREUP_GET_PAYMENTRetrieves details for a specific payment.需要连接1 scope
Retrieves details for a specific payment.
认证
需要 Connected AccountScopes
PAYMENTS_READTags
GetPaymentRefundSQUAREUP_GET_PAYMENT_REFUNDRetrieves a specific refund using the `refund_id`.需要连接1 scope
Retrieves a specific refund using the `refund_id`.
认证
需要 Connected AccountScopes
PAYMENTS_READTags
GetPayoutSQUAREUP_GET_PAYOUTRetrieves details of a specific payout identified by a payout ID. To call this endpoint, set `PAYOUTS_READ` for the OAuth scope.需要连接
Retrieves details of a specific payout identified by a payout ID. To call this endpoint, set `PAYOUTS_READ` for the OAuth scope.
认证
需要 Connected AccountTags
GetShiftSQUAREUP_GET_SHIFTReturns a single `Shift` specified by `id`.需要连接1 scope
Returns a single `Shift` specified by `id`.
认证
需要 Connected AccountScopes
TIMECARDS_READTags
GetTeamMemberWageSQUAREUP_GET_TEAM_MEMBER_WAGEReturns a single `TeamMemberWage` specified by `id`.需要连接1 scope
Returns a single `TeamMemberWage` specified by `id`.
认证
需要 Connected AccountScopes
EMPLOYEES_READTags
GetTerminalActionSQUAREUP_GET_TERMINAL_ACTIONRetrieves a Terminal action request by `action_id`. Terminal action requests are available for 30 days.需要连接1 scope
Retrieves a Terminal action request by `action_id`. Terminal action requests are available for 30 days.
认证
需要 Connected AccountScopes
PAYMENTS_READTags
GetTerminalCheckoutSQUAREUP_GET_TERMINAL_CHECKOUTRetrieves a Terminal checkout request by `checkout_id`. Terminal checkout requests are available for 30 days.需要连接1 scope
Retrieves a Terminal checkout request by `checkout_id`. Terminal checkout requests are available for 30 days.
认证
需要 Connected AccountScopes
PAYMENTS_READTags
GetTerminalRefundSQUAREUP_GET_TERMINAL_REFUNDRetrieves an Interac Terminal refund object by ID. Terminal refund objects are available for 30 days.需要连接1 scope
Retrieves an Interac Terminal refund object by ID. Terminal refund objects are available for 30 days.
认证
需要 Connected AccountScopes
PAYMENTS_READTags
LinkCustomerToGiftCardSQUAREUP_LINK_CUSTOMER_TO_GIFT_CARDLinks a customer to a gift card, which is also referred to as adding a card on file.需要连接1 scope
Links a customer to a gift card, which is also referred to as adding a card on file.
认证
需要 Connected AccountScopes
GIFTCARDS_WRITETags
ListBankAccountsSQUAREUP_LIST_BANK_ACCOUNTSReturns a list of [BankAccount](entity:BankAccount) objects linked to a Square account.需要连接1 scope
Returns a list of [BankAccount](entity:BankAccount) objects linked to a Square account.
认证
需要 Connected AccountScopes
BANK_ACCOUNTS_READTags
ListBookingCustomAttributeDefinitionsSQUAREUP_LIST_BOOKING_CUSTOM_ATTRIBUTE_DEFINITIONSGet all bookings custom attribute definitions. To call this endpoint with buyer-level permissions, set `APPOINTMENTS_READ` for the OAuth scope. To call this endpoint with seller-level permissions, set `APPOINTMENTS_ALL_READ` and `APPOINTMENTS_READ` for the OAuth scope.需要连接1 scope
Get all bookings custom attribute definitions. To call this endpoint with buyer-level permissions, set `APPOINTMENTS_READ` for the OAuth scope. To call this endpoint with seller-level permissions, set `APPOINTMENTS_ALL_READ` and `APPOINTMENTS_READ` for the OAuth scope.
认证
需要 Connected AccountScopes
APPOINTMENTS_READTags
ListBookingCustomAttributesSQUAREUP_LIST_BOOKING_CUSTOM_ATTRIBUTESLists a booking's custom attributes. To call this endpoint with buyer-level permissions, set `APPOINTMENTS_READ` for the OAuth scope. To call this endpoint with seller-level permissions, set `APPOINTMENTS_ALL_READ` and `APPOINTMENTS_READ` for the OAuth scope.需要连接1 scope
Lists a booking's custom attributes. To call this endpoint with buyer-level permissions, set `APPOINTMENTS_READ` for the OAuth scope. To call this endpoint with seller-level permissions, set `APPOINTMENTS_ALL_READ` and `APPOINTMENTS_READ` for the OAuth scope.
认证
需要 Connected AccountScopes
APPOINTMENTS_READTags
ListBookingsSQUAREUP_LIST_BOOKINGSRetrieve a collection of bookings. To call this endpoint with buyer-level permissions, set `APPOINTMENTS_READ` for the OAuth scope. To call this endpoint with seller-level permissions, set `APPOINTMENTS_ALL_READ` and `APPOINTMENTS_READ` for the OAuth scope.需要连接1 scope
Retrieve a collection of bookings. To call this endpoint with buyer-level permissions, set `APPOINTMENTS_READ` for the OAuth scope. To call this endpoint with seller-level permissions, set `APPOINTMENTS_ALL_READ` and `APPOINTMENTS_READ` for the OAuth scope.
认证
需要 Connected AccountScopes
APPOINTMENTS_READTags
ListBreakTypesSQUAREUP_LIST_BREAK_TYPESReturns a paginated list of `BreakType` instances for a business.需要连接1 scope
Returns a paginated list of `BreakType` instances for a business.
认证
需要 Connected AccountScopes
TIMECARDS_SETTINGS_READTags
ListCardsSQUAREUP_LIST_CARDSRetrieves a list of cards owned by the account making the request. A max of 25 cards will be returned.需要连接
Retrieves a list of cards owned by the account making the request. A max of 25 cards will be returned.
认证
需要 Connected AccountTags
ListCashDrawerShiftEventsSQUAREUP_LIST_CASH_DRAWER_SHIFT_EVENTSProvides a paginated list of events for a single cash drawer shift.需要连接1 scope
Provides a paginated list of events for a single cash drawer shift.
认证
需要 Connected AccountScopes
CASH_DRAWER_READTags
ListCashDrawerShiftsSQUAREUP_LIST_CASH_DRAWER_SHIFTSProvides the details for all of the cash drawer shifts for a location in a date range.需要连接1 scope
Provides the details for all of the cash drawer shifts for a location in a date range.
认证
需要 Connected AccountScopes
CASH_DRAWER_READTags
ListCatalogSQUAREUP_LIST_CATALOGReturns a list of all [CatalogObject](entity:CatalogObject)s of the specified types in the catalog. The `types` parameter is specified as a comma-separated list of the [CatalogObjectType](entity:CatalogObjectType) values, for example, "`ITEM`, `ITEM_VARIATION`, `MODIFIER`, `MODIFIER_LIST`, `CATEGORY`, `DISCOUNT`, `TAX`, `IMAGE`". __Important:__ ListCatalog does not return deleted catalog items. To retrieve deleted catalog items, use [SearchCatalogObjects](api-endpoint:Catalog-SearchCatalogObjects) and set the `include_deleted_objects` attribute value to `true`.需要连接1 scope
Returns a list of all [CatalogObject](entity:CatalogObject)s of the specified types in the catalog. The `types` parameter is specified as a comma-separated list of the [CatalogObjectType](entity:CatalogObjectType) values, for example, "`ITEM`, `ITEM_VARIATION`, `MODIFIER`, `MODIFIER_LIST`, `CATEGORY`, `DISCOUNT`, `TAX`, `IMAGE`". __Important:__ ListCatalog does not return deleted catalog items. To retrieve deleted catalog items, use [SearchCatalogObjects](api-endpoint:Catalog-SearchCatalogObjects) and set the `include_deleted_objects` attribute value to `true`.
认证
需要 Connected AccountScopes
ITEMS_READTags
ListChannelsSQUAREUP_LIST_CHANNELSListChannels需要连接1 scope
ListChannels
认证
需要 Connected AccountScopes
CHANNELS_READTags
ListCustomerCustomAttributeDefinitionsSQUAREUP_LIST_CUSTOMER_CUSTOM_ATTRIBUTE_DEFINITIONSLists the customer-related [custom attribute definitions](entity:CustomAttributeDefinition) that belong to a Square seller account. When all response pages are retrieved, the results include all custom attribute definitions that are visible to the requesting application, including those that are created by other applications and set to `VISIBILITY_READ_ONLY` or `VISIBILITY_READ_WRITE_VALUES`. Note that seller-defined custom attributes (also known as custom fields) are always set to `VISIBILITY_READ_WRITE_VALUES`.需要连接1 scope
Lists the customer-related [custom attribute definitions](entity:CustomAttributeDefinition) that belong to a Square seller account. When all response pages are retrieved, the results include all custom attribute definitions that are visible to the requesting application, including those that are created by other applications and set to `VISIBILITY_READ_ONLY` or `VISIBILITY_READ_WRITE_VALUES`. Note that seller-defined custom attributes (also known as custom fields) are always set to `VISIBILITY_READ_WRITE_VALUES`.
认证
需要 Connected AccountScopes
CUSTOMERS_READTags
ListCustomerCustomAttributesSQUAREUP_LIST_CUSTOMER_CUSTOM_ATTRIBUTESLists the [custom attributes](entity:CustomAttribute) associated with a customer profile. You can use the `with_definitions` query parameter to also retrieve custom attribute definitions in the same call. When all response pages are retrieved, the results include all custom attributes that are visible to the requesting application, including those that are owned by other applications and set to `VISIBILITY_READ_ONLY` or `VISIBILITY_READ_WRITE_VALUES`.需要连接1 scope
Lists the [custom attributes](entity:CustomAttribute) associated with a customer profile. You can use the `with_definitions` query parameter to also retrieve custom attribute definitions in the same call. When all response pages are retrieved, the results include all custom attributes that are visible to the requesting application, including those that are owned by other applications and set to `VISIBILITY_READ_ONLY` or `VISIBILITY_READ_WRITE_VALUES`.
认证
需要 Connected AccountScopes
CUSTOMERS_READTags
ListCustomerGroupsSQUAREUP_LIST_CUSTOMER_GROUPSRetrieves the list of customer groups of a business.需要连接1 scope
Retrieves the list of customer groups of a business.
认证
需要 Connected AccountScopes
CUSTOMERS_READTags
ListCustomerSegmentsSQUAREUP_LIST_CUSTOMER_SEGMENTSRetrieves the list of customer segments of a business.需要连接1 scope
Retrieves the list of customer segments of a business.
认证
需要 Connected AccountScopes
CUSTOMERS_READTags
ListCustomersSQUAREUP_LIST_CUSTOMERSLists customer profiles associated with a Square account. Under normal operating conditions, newly created or updated customer profiles become available for the listing operation in well under 30 seconds. Occasionally, propagation of the new or updated profiles can take closer to one minute or longer, especially during network incidents and outages.需要连接1 scope
Lists customer profiles associated with a Square account. Under normal operating conditions, newly created or updated customer profiles become available for the listing operation in well under 30 seconds. Occasionally, propagation of the new or updated profiles can take closer to one minute or longer, especially during network incidents and outages.
认证
需要 Connected AccountScopes
CUSTOMERS_READTags
ListDeviceCodesSQUAREUP_LIST_DEVICE_CODESLists all DeviceCodes associated with the merchant.需要连接1 scope
Lists all DeviceCodes associated with the merchant.
认证
需要 Connected AccountScopes
DEVICE_CREDENTIAL_MANAGEMENTTags
ListDevicesSQUAREUP_LIST_DEVICESList devices associated with the merchant. Currently, only Terminal API devices are supported.需要连接1 scope
List devices associated with the merchant. Currently, only Terminal API devices are supported.
认证
需要 Connected AccountScopes
DEVICES_READTags
ListDisputeEvidenceSQUAREUP_LIST_DISPUTE_EVIDENCEReturns a list of evidence associated with a dispute.需要连接1 scope
Returns a list of evidence associated with a dispute.
认证
需要 Connected AccountScopes
DISPUTES_READTags
ListDisputesSQUAREUP_LIST_DISPUTESReturns a list of disputes associated with a particular account.需要连接1 scope
Returns a list of disputes associated with a particular account.
认证
需要 Connected AccountScopes
DISPUTES_READTags
ListEmployeeWagesSQUAREUP_LIST_EMPLOYEE_WAGESReturns a paginated list of `EmployeeWage` instances for a business.需要连接1 scope
Returns a paginated list of `EmployeeWage` instances for a business.
认证
需要 Connected AccountScopes
EMPLOYEES_READTags
ListEmployeesSQUAREUP_LIST_EMPLOYEESListEmployees需要连接1 scope
ListEmployees
认证
需要 Connected AccountScopes
EMPLOYEES_READTags
ListEventTypesSQUAREUP_LIST_EVENT_TYPESLists all event types that you can subscribe to as webhooks or query using the Events API.需要连接
Lists all event types that you can subscribe to as webhooks or query using the Events API.
认证
需要 Connected AccountTags
ListGiftCardActivitiesSQUAREUP_LIST_GIFT_CARD_ACTIVITIESLists gift card activities. By default, you get gift card activities for all gift cards in the seller's account. You can optionally specify query parameters to filter the list. For example, you can get a list of gift card activities for a gift card, for all gift cards in a specific region, or for activities within a time window.需要连接1 scope
Lists gift card activities. By default, you get gift card activities for all gift cards in the seller's account. You can optionally specify query parameters to filter the list. For example, you can get a list of gift card activities for a gift card, for all gift cards in a specific region, or for activities within a time window.
认证
需要 Connected AccountScopes
GIFTCARDS_READTags
ListGiftCardsSQUAREUP_LIST_GIFT_CARDSLists all gift cards. You can specify optional filters to retrieve a subset of the gift cards. Results are sorted by `created_at` in ascending order.需要连接1 scope
Lists all gift cards. You can specify optional filters to retrieve a subset of the gift cards. Results are sorted by `created_at` in ascending order.
认证
需要 Connected AccountScopes
GIFTCARDS_READTags
ListInvoicesSQUAREUP_LIST_INVOICESReturns a list of invoices for a given location. The response is paginated. If truncated, the response includes a `cursor` that you use in a subsequent request to retrieve the next set of invoices.需要连接1 scope
Returns a list of invoices for a given location. The response is paginated. If truncated, the response includes a `cursor` that you use in a subsequent request to retrieve the next set of invoices.
认证
需要 Connected AccountScopes
INVOICES_READTags
ListJobsSQUAREUP_LIST_JOBSLists jobs in a seller account. Results are sorted by title in ascending order.需要连接1 scope
Lists jobs in a seller account. Results are sorted by title in ascending order.
认证
需要 Connected AccountScopes
EMPLOYEES_READTags
ListLocationBookingProfilesSQUAREUP_LIST_LOCATION_BOOKING_PROFILESLists location booking profiles of a seller.需要连接1 scope
Lists location booking profiles of a seller.
认证
需要 Connected AccountScopes
APPOINTMENTS_BUSINESS_SETTINGS_READTags
ListLocationCustomAttributeDefinitionsSQUAREUP_LIST_LOCATION_CUSTOM_ATTRIBUTE_DEFINITIONSLists the location-related [custom attribute definitions](entity:CustomAttributeDefinition) that belong to a Square seller account. When all response pages are retrieved, the results include all custom attribute definitions that are visible to the requesting application, including those that are created by other applications and set to `VISIBILITY_READ_ONLY` or `VISIBILITY_READ_WRITE_VALUES`.需要连接1 scope
Lists the location-related [custom attribute definitions](entity:CustomAttributeDefinition) that belong to a Square seller account. When all response pages are retrieved, the results include all custom attribute definitions that are visible to the requesting application, including those that are created by other applications and set to `VISIBILITY_READ_ONLY` or `VISIBILITY_READ_WRITE_VALUES`.
认证
需要 Connected AccountScopes
MERCHANT_PROFILE_READTags
ListLocationCustomAttributesSQUAREUP_LIST_LOCATION_CUSTOM_ATTRIBUTESLists the [custom attributes](entity:CustomAttribute) associated with a location. You can use the `with_definitions` query parameter to also retrieve custom attribute definitions in the same call. When all response pages are retrieved, the results include all custom attributes that are visible to the requesting application, including those that are owned by other applications and set to `VISIBILITY_READ_ONLY` or `VISIBILITY_READ_WRITE_VALUES`.需要连接1 scope
Lists the [custom attributes](entity:CustomAttribute) associated with a location. You can use the `with_definitions` query parameter to also retrieve custom attribute definitions in the same call. When all response pages are retrieved, the results include all custom attributes that are visible to the requesting application, including those that are owned by other applications and set to `VISIBILITY_READ_ONLY` or `VISIBILITY_READ_WRITE_VALUES`.
认证
需要 Connected AccountScopes
MERCHANT_PROFILE_READTags
ListLocationsSQUAREUP_LIST_LOCATIONSProvides details about all of the seller's [locations](https://developer.squareup.com/docs/locations-api), including those with an inactive status. Locations are listed alphabetically by `name`.需要连接1 scope
Provides details about all of the seller's [locations](https://developer.squareup.com/docs/locations-api), including those with an inactive status. Locations are listed alphabetically by `name`.
认证
需要 Connected AccountScopes
MERCHANT_PROFILE_READTags
ListLoyaltyProgramsSQUAREUP_LIST_LOYALTY_PROGRAMSReturns a list of loyalty programs in the seller's account. Loyalty programs define how buyers can earn points and redeem points for rewards. Square sellers can have only one loyalty program, which is created and managed from the Seller Dashboard. For more information, see [Loyalty Program Overview](https://developer.squareup.com/docs/loyalty/overview). Replaced with [RetrieveLoyaltyProgram](api-endpoint:Loyalty-RetrieveLoyaltyProgram) when used with the keyword `main`.需要连接1 scope
Returns a list of loyalty programs in the seller's account. Loyalty programs define how buyers can earn points and redeem points for rewards. Square sellers can have only one loyalty program, which is created and managed from the Seller Dashboard. For more information, see [Loyalty Program Overview](https://developer.squareup.com/docs/loyalty/overview). Replaced with [RetrieveLoyaltyProgram](api-endpoint:Loyalty-RetrieveLoyaltyProgram) when used with the keyword `main`.
认证
需要 Connected AccountScopes
LOYALTY_READTags
ListLoyaltyPromotionsSQUAREUP_LIST_LOYALTY_PROMOTIONSLists the loyalty promotions associated with a [loyalty program](entity:LoyaltyProgram). Results are sorted by the `created_at` date in descending order (newest to oldest).需要连接1 scope
Lists the loyalty promotions associated with a [loyalty program](entity:LoyaltyProgram). Results are sorted by the `created_at` date in descending order (newest to oldest).
认证
需要 Connected AccountScopes
LOYALTY_READTags
ListMerchantCustomAttributeDefinitionsSQUAREUP_LIST_MERCHANT_CUSTOM_ATTRIBUTE_DEFINITIONSLists the merchant-related [custom attribute definitions](entity:CustomAttributeDefinition) that belong to a Square seller account. When all response pages are retrieved, the results include all custom attribute definitions that are visible to the requesting application, including those that are created by other applications and set to `VISIBILITY_READ_ONLY` or `VISIBILITY_READ_WRITE_VALUES`.需要连接1 scope
Lists the merchant-related [custom attribute definitions](entity:CustomAttributeDefinition) that belong to a Square seller account. When all response pages are retrieved, the results include all custom attribute definitions that are visible to the requesting application, including those that are created by other applications and set to `VISIBILITY_READ_ONLY` or `VISIBILITY_READ_WRITE_VALUES`.
认证
需要 Connected AccountScopes
MERCHANT_PROFILE_READTags
ListMerchantCustomAttributesSQUAREUP_LIST_MERCHANT_CUSTOM_ATTRIBUTESLists the [custom attributes](entity:CustomAttribute) associated with a merchant. You can use the `with_definitions` query parameter to also retrieve custom attribute definitions in the same call. When all response pages are retrieved, the results include all custom attributes that are visible to the requesting application, including those that are owned by other applications and set to `VISIBILITY_READ_ONLY` or `VISIBILITY_READ_WRITE_VALUES`.需要连接1 scope
Lists the [custom attributes](entity:CustomAttribute) associated with a merchant. You can use the `with_definitions` query parameter to also retrieve custom attribute definitions in the same call. When all response pages are retrieved, the results include all custom attributes that are visible to the requesting application, including those that are owned by other applications and set to `VISIBILITY_READ_ONLY` or `VISIBILITY_READ_WRITE_VALUES`.
认证
需要 Connected AccountScopes
MERCHANT_PROFILE_READTags
ListMerchantsSQUAREUP_LIST_MERCHANTSProvides details about the merchant associated with a given access token. The access token used to connect your application to a Square seller is associated with a single merchant. That means that `ListMerchants` returns a list with a single `Merchant` object. You can specify your personal access token to get your own merchant information or specify an OAuth token to get the information for the merchant that granted your application access. If you know the merchant ID, you can also use the [RetrieveMerchant](api-endpoint:Merchants-RetrieveMerchant) endpoint to retrieve the merchant information.需要连接1 scope
Provides details about the merchant associated with a given access token. The access token used to connect your application to a Square seller is associated with a single merchant. That means that `ListMerchants` returns a list with a single `Merchant` object. You can specify your personal access token to get your own merchant information or specify an OAuth token to get the information for the merchant that granted your application access. If you know the merchant ID, you can also use the [RetrieveMerchant](api-endpoint:Merchants-RetrieveMerchant) endpoint to retrieve the merchant information.
认证
需要 Connected AccountScopes
MERCHANT_PROFILE_READTags
ListOrderCustomAttributeDefinitionsSQUAREUP_LIST_ORDER_CUSTOM_ATTRIBUTE_DEFINITIONSLists the order-related [custom attribute definitions](entity:CustomAttributeDefinition) that belong to a Square seller account. When all response pages are retrieved, the results include all custom attribute definitions that are visible to the requesting application, including those that are created by other applications and set to `VISIBILITY_READ_ONLY` or `VISIBILITY_READ_WRITE_VALUES`. Note that seller-defined custom attributes (also known as custom fields) are always set to `VISIBILITY_READ_WRITE_VALUES`.需要连接1 scope
Lists the order-related [custom attribute definitions](entity:CustomAttributeDefinition) that belong to a Square seller account. When all response pages are retrieved, the results include all custom attribute definitions that are visible to the requesting application, including those that are created by other applications and set to `VISIBILITY_READ_ONLY` or `VISIBILITY_READ_WRITE_VALUES`. Note that seller-defined custom attributes (also known as custom fields) are always set to `VISIBILITY_READ_WRITE_VALUES`.
认证
需要 Connected AccountScopes
ORDERS_READTags
ListOrderCustomAttributesSQUAREUP_LIST_ORDER_CUSTOM_ATTRIBUTESLists the [custom attributes](entity:CustomAttribute) associated with an order. You can use the `with_definitions` query parameter to also retrieve custom attribute definitions in the same call. When all response pages are retrieved, the results include all custom attributes that are visible to the requesting application, including those that are owned by other applications and set to `VISIBILITY_READ_ONLY` or `VISIBILITY_READ_WRITE_VALUES`.需要连接1 scope
Lists the [custom attributes](entity:CustomAttribute) associated with an order. You can use the `with_definitions` query parameter to also retrieve custom attribute definitions in the same call. When all response pages are retrieved, the results include all custom attributes that are visible to the requesting application, including those that are owned by other applications and set to `VISIBILITY_READ_ONLY` or `VISIBILITY_READ_WRITE_VALUES`.
认证
需要 Connected AccountScopes
ORDERS_READTags
ListPaymentLinksSQUAREUP_LIST_PAYMENT_LINKSLists all payment links.需要连接1 scope
Lists all payment links.
认证
需要 Connected AccountScopes
ORDERS_READTags
ListPaymentRefundsSQUAREUP_LIST_PAYMENT_REFUNDSRetrieves a list of refunds for the account making the request. Results are eventually consistent, and new refunds or changes to refunds might take several seconds to appear. The maximum results per page is 100.需要连接1 scope
Retrieves a list of refunds for the account making the request. Results are eventually consistent, and new refunds or changes to refunds might take several seconds to appear. The maximum results per page is 100.
认证
需要 Connected AccountScopes
PAYMENTS_READTags
ListPaymentsSQUAREUP_LIST_PAYMENTSRetrieves a list of payments taken by the account making the request. Results are eventually consistent, and new payments or changes to payments might take several seconds to appear. The maximum results per page is 100.需要连接1 scope
Retrieves a list of payments taken by the account making the request. Results are eventually consistent, and new payments or changes to payments might take several seconds to appear. The maximum results per page is 100.
认证
需要 Connected AccountScopes
PAYMENTS_READTags
ListPayoutEntriesSQUAREUP_LIST_PAYOUT_ENTRIESRetrieves a list of all payout entries for a specific payout. To call this endpoint, set `PAYOUTS_READ` for the OAuth scope.需要连接
Retrieves a list of all payout entries for a specific payout. To call this endpoint, set `PAYOUTS_READ` for the OAuth scope.
认证
需要 Connected AccountTags
ListPayoutsSQUAREUP_LIST_PAYOUTSRetrieves a list of all payouts for the default location. You can filter payouts by location ID, status, time range, and order them in ascending or descending order. To call this endpoint, set `PAYOUTS_READ` for the OAuth scope.需要连接
Retrieves a list of all payouts for the default location. You can filter payouts by location ID, status, time range, and order them in ascending or descending order. To call this endpoint, set `PAYOUTS_READ` for the OAuth scope.
认证
需要 Connected AccountTags
ListSitesSQUAREUP_LIST_SITESLists the Square Online sites that belong to a seller. Sites are listed in descending order by the `created_at` date. __Note:__ Square Online APIs are publicly available as part of an early access program. For more information, see [Early access program for Square Online APIs](https://developer.squareup.com/docs/online-api#early-access-program-for-square-online-apis).需要连接1 scope
Lists the Square Online sites that belong to a seller. Sites are listed in descending order by the `created_at` date. __Note:__ Square Online APIs are publicly available as part of an early access program. For more information, see [Early access program for Square Online APIs](https://developer.squareup.com/docs/online-api#early-access-program-for-square-online-apis).
认证
需要 Connected AccountScopes
ONLINE_STORE_SITE_READTags
ListSubscriptionEventsSQUAREUP_LIST_SUBSCRIPTION_EVENTSLists all [events](https://developer.squareup.com/docs/subscriptions-api/actions-events) for a specific subscription.需要连接1 scope
Lists all [events](https://developer.squareup.com/docs/subscriptions-api/actions-events) for a specific subscription.
认证
需要 Connected AccountScopes
SUBSCRIPTIONS_READTags
ListTeamMemberBookingProfilesSQUAREUP_LIST_TEAM_MEMBER_BOOKING_PROFILESLists booking profiles for team members.需要连接1 scope
Lists booking profiles for team members.
认证
需要 Connected AccountScopes
APPOINTMENTS_BUSINESS_SETTINGS_READTags
ListTeamMemberWagesSQUAREUP_LIST_TEAM_MEMBER_WAGESReturns a paginated list of `TeamMemberWage` instances for a business.需要连接1 scope
Returns a paginated list of `TeamMemberWage` instances for a business.
认证
需要 Connected AccountScopes
EMPLOYEES_READTags
ListTransactionsSQUAREUP_LIST_TRANSACTIONSLists transactions for a particular location. Transactions include payment information from sales and exchanges and refund information from returns and exchanges. Max results per [page](https://developer.squareup.com/docs/working-with-apis/pagination): 50需要连接1 scope
Lists transactions for a particular location. Transactions include payment information from sales and exchanges and refund information from returns and exchanges. Max results per [page](https://developer.squareup.com/docs/working-with-apis/pagination): 50
认证
需要 Connected AccountScopes
PAYMENTS_READTags
ListWebhookEventTypesSQUAREUP_LIST_WEBHOOK_EVENT_TYPESLists all webhook event types that can be subscribed to.需要连接
Lists all webhook event types that can be subscribed to.
认证
需要 Connected AccountTags
ListWebhookSubscriptionsSQUAREUP_LIST_WEBHOOK_SUBSCRIPTIONSLists all webhook subscriptions owned by your application.需要连接
Lists all webhook subscriptions owned by your application.
认证
需要 Connected AccountTags
ListWorkweekConfigsSQUAREUP_LIST_WORKWEEK_CONFIGSReturns a list of `WorkweekConfig` instances for a business.需要连接1 scope
Returns a list of `WorkweekConfig` instances for a business.
认证
需要 Connected AccountScopes
TIMECARDS_SETTINGS_READTags
ObtainTokenSQUAREUP_OBTAIN_TOKENReturns an OAuth access token and refresh token using the `authorization_code` or `refresh_token` grant type. When `grant_type` is `authorization_code`: - With the [code flow](https://developer.squareup.com/docs/oauth-api/overview#code-flow), provide `code`, `client_id`, and `client_secret`. - With the [PKCE flow](https://developer.squareup.com/docs/oauth-api/overview#pkce-flow), provide `code`, `client_id`, and `code_verifier`. When `grant_type` is `refresh_token`: - With the code flow, provide `refresh_token`, `client_id`, and `client_secret`. The response returns the same refresh token provided in the request. - With the PKCE flow, provide `refresh_token` and `client_id`. The response returns a new refresh token. You can use the `scopes` parameter to limit the set of permissions authorized by the access token. You can use the `short_lived` parameter to create an access token that expires in 24 hours. __Important:__ OAuth tokens should be encrypted and stored on a secure server. Application clients should never interact directly with OAuth tokens.需要连接
Returns an OAuth access token and refresh token using the `authorization_code` or `refresh_token` grant type. When `grant_type` is `authorization_code`: - With the [code flow](https://developer.squareup.com/docs/oauth-api/overview#code-flow), provide `code`, `client_id`, and `client_secret`. - With the [PKCE flow](https://developer.squareup.com/docs/oauth-api/overview#pkce-flow), provide `code`, `client_id`, and `code_verifier`. When `grant_type` is `refresh_token`: - With the code flow, provide `refresh_token`, `client_id`, and `client_secret`. The response returns the same refresh token provided in the request. - With the PKCE flow, provide `refresh_token` and `client_id`. The response returns a new refresh token. You can use the `scopes` parameter to limit the set of permissions authorized by the access token. You can use the `short_lived` parameter to create an access token that expires in 24 hours. __Important:__ OAuth tokens should be encrypted and stored on a secure server. Application clients should never interact directly with OAuth tokens.
认证
需要 Connected AccountTags
PauseSubscriptionSQUAREUP_PAUSE_SUBSCRIPTIONSchedules a `PAUSE` action to pause an active subscription.需要连接6 scopes
Schedules a `PAUSE` action to pause an active subscription.
认证
需要 Connected AccountScopes
CUSTOMERS_READPAYMENTS_WRITESUBSCRIPTIONS_WRITEITEMS_READORDERS_WRITEINVOICES_WRITETags
PayOrderSQUAREUP_PAY_ORDERPay for an [order](entity:Order) using one or more approved [payments](entity:Payment) or settle an order with a total of `0`. The total of the `payment_ids` listed in the request must be equal to the order total. Orders with a total amount of `0` can be marked as paid by specifying an empty array of `payment_ids` in the request. To be used with `PayOrder`, a payment must: - Reference the order by specifying the `order_id` when [creating the payment](api-endpoint:Payments-CreatePayment). Any approved payments that reference the same `order_id` not specified in the `payment_ids` is canceled. - Be approved with [delayed capture](https://developer.squareup.com/docs/payments-api/take-payments/card-payments/delayed-capture). Using a delayed capture payment with `PayOrder` completes the approved payment.需要连接2 scopes
Pay for an [order](entity:Order) using one or more approved [payments](entity:Payment) or settle an order with a total of `0`. The total of the `payment_ids` listed in the request must be equal to the order total. Orders with a total amount of `0` can be marked as paid by specifying an empty array of `payment_ids` in the request. To be used with `PayOrder`, a payment must: - Reference the order by specifying the `order_id` when [creating the payment](api-endpoint:Payments-CreatePayment). Any approved payments that reference the same `order_id` not specified in the `payment_ids` is canceled. - Be approved with [delayed capture](https://developer.squareup.com/docs/payments-api/take-payments/card-payments/delayed-capture). Using a delayed capture payment with `PayOrder` completes the approved payment.
认证
需要 Connected AccountScopes
PAYMENTS_WRITEORDERS_WRITETags
PublishInvoiceSQUAREUP_PUBLISH_INVOICEPublishes the specified draft invoice. After an invoice is published, Square follows up based on the invoice configuration. For example, Square sends the invoice to the customer's email address, charges the customer's card on file, or does nothing. Square also makes the invoice available on a Square-hosted invoice page. The invoice `status` also changes from `DRAFT` to a status based on the invoice configuration. For example, the status changes to `UNPAID` if Square emails the invoice or `PARTIALLY_PAID` if Square charges a card on file for a portion of the invoice amount. In addition to the required `ORDERS_WRITE` and `INVOICES_WRITE` permissions, `CUSTOMERS_READ` and `PAYMENTS_WRITE` are required when publishing invoices configured for card-on-file payments.需要连接2 scopes
Publishes the specified draft invoice. After an invoice is published, Square follows up based on the invoice configuration. For example, Square sends the invoice to the customer's email address, charges the customer's card on file, or does nothing. Square also makes the invoice available on a Square-hosted invoice page. The invoice `status` also changes from `DRAFT` to a status based on the invoice configuration. For example, the status changes to `UNPAID` if Square emails the invoice or `PARTIALLY_PAID` if Square charges a card on file for a portion of the invoice amount. In addition to the required `ORDERS_WRITE` and `INVOICES_WRITE` permissions, `CUSTOMERS_READ` and `PAYMENTS_WRITE` are required when publishing invoices configured for card-on-file payments.
认证
需要 Connected AccountScopes
ORDERS_WRITEINVOICES_WRITETags
PublishScheduledShiftSQUAREUP_PUBLISH_SCHEDULED_SHIFTPublishes a scheduled shift. When a scheduled shift is published, Square keeps the `draft_shift_details` field as is and copies it to the `published_shift_details` field.需要连接1 scope
Publishes a scheduled shift. When a scheduled shift is published, Square keeps the `draft_shift_details` field as is and copies it to the `published_shift_details` field.
认证
需要 Connected AccountScopes
TIMECARDS_WRITETags
ReceiveTransferOrderSQUAREUP_RECEIVE_TRANSFER_ORDERRecords receipt of [CatalogItemVariation](entity:CatalogItemVariation)s for a transfer order. This endpoint supports partial receiving - you can receive items in multiple batches. For each line item, you can specify: - Quantity received in good condition (added to destination inventory with [InventoryState](entity:InventoryState) of IN_STOCK) - Quantity damaged during transit/handling (added to destination inventory with [InventoryState](entity:InventoryState) of WASTE) - Quantity canceled (returned to source location's inventory) The order must be in [STARTED](entity:TransferOrderStatus) or [PARTIALLY_RECEIVED](entity:TransferOrderStatus) status. Received quantities are added to the destination [Location](entity:Location)'s inventory according to their condition. Canceled quantities are immediately returned to the source [Location](entity:Location)'s inventory. When all items are either received, damaged, or canceled, the order moves to [COMPLETED](entity:TransferOrderStatus) status. Creates a [transfer_order.updated](webhook:transfer_order.updated) webhook event.需要连接2 scopes
Records receipt of [CatalogItemVariation](entity:CatalogItemVariation)s for a transfer order. This endpoint supports partial receiving - you can receive items in multiple batches. For each line item, you can specify: - Quantity received in good condition (added to destination inventory with [InventoryState](entity:InventoryState) of IN_STOCK) - Quantity damaged during transit/handling (added to destination inventory with [InventoryState](entity:InventoryState) of WASTE) - Quantity canceled (returned to source location's inventory) The order must be in [STARTED](entity:TransferOrderStatus) or [PARTIALLY_RECEIVED](entity:TransferOrderStatus) status. Received quantities are added to the destination [Location](entity:Location)'s inventory according to their condition. Canceled quantities are immediately returned to the source [Location](entity:Location)'s inventory. When all items are either received, damaged, or canceled, the order moves to [COMPLETED](entity:TransferOrderStatus) status. Creates a [transfer_order.updated](webhook:transfer_order.updated) webhook event.
认证
需要 Connected AccountScopes
INVENTORY_READINVENTORY_WRITETags
RedeemLoyaltyRewardSQUAREUP_REDEEM_LOYALTY_REWARDRedeems a loyalty reward. The endpoint sets the reward to the `REDEEMED` terminal state. If you are using your own order processing system (not using the Orders API), you call this endpoint after the buyer paid for the purchase. After the reward reaches the terminal state, it cannot be deleted. In other words, points used for the reward cannot be returned to the account.需要连接1 scope
Redeems a loyalty reward. The endpoint sets the reward to the `REDEEMED` terminal state. If you are using your own order processing system (not using the Orders API), you call this endpoint after the buyer paid for the purchase. After the reward reaches the terminal state, it cannot be deleted. In other words, points used for the reward cannot be returned to the account.
认证
需要 Connected AccountScopes
LOYALTY_WRITETags
RefundPaymentSQUAREUP_REFUND_PAYMENTRefunds a payment. You can refund the entire payment amount or a portion of it. You can use this endpoint to refund a card payment or record a refund of a cash or external payment. For more information, see [Refund Payment](https://developer.squareup.com/docs/payments-api/refund-payments).需要连接1 scope
Refunds a payment. You can refund the entire payment amount or a portion of it. You can use this endpoint to refund a card payment or record a refund of a cash or external payment. For more information, see [Refund Payment](https://developer.squareup.com/docs/payments-api/refund-payments).
认证
需要 Connected AccountScopes
PAYMENTS_WRITETags
RegisterDomainSQUAREUP_REGISTER_DOMAINActivates a domain for use with Apple Pay on the Web and Square. A validation is performed on this domain by Apple to ensure that it is properly set up as an Apple Pay enabled domain. This endpoint provides an easy way for platform developers to bulk activate Apple Pay on the Web with Square for merchants using their platform. Note: You will need to host a valid domain verification file on your domain to support Apple Pay. The current version of this file is always available at https://app.squareup.com/digital-wallets/apple-pay/apple-developer-merchantid-domain-association, and should be hosted at `.well_known/apple-developer-merchantid-domain-association` on your domain. This file is subject to change; we strongly recommend checking for updates regularly and avoiding long-lived caches that might not keep in sync with the correct file version. To learn more about the Web Payments SDK and how to add Apple Pay, see [Take an Apple Pay Payment](https://developer.squareup.com/docs/web-payments/apple-pay).需要连接
Activates a domain for use with Apple Pay on the Web and Square. A validation is performed on this domain by Apple to ensure that it is properly set up as an Apple Pay enabled domain. This endpoint provides an easy way for platform developers to bulk activate Apple Pay on the Web with Square for merchants using their platform. Note: You will need to host a valid domain verification file on your domain to support Apple Pay. The current version of this file is always available at https://app.squareup.com/digital-wallets/apple-pay/apple-developer-merchantid-domain-association, and should be hosted at `.well_known/apple-developer-merchantid-domain-association` on your domain. This file is subject to change; we strongly recommend checking for updates regularly and avoiding long-lived caches that might not keep in sync with the correct file version. To learn more about the Web Payments SDK and how to add Apple Pay, see [Take an Apple Pay Payment](https://developer.squareup.com/docs/web-payments/apple-pay).
认证
需要 Connected AccountTags
RemoveGroupFromCustomerSQUAREUP_REMOVE_GROUP_FROM_CUSTOMERRemoves a group membership from a customer. The customer is identified by the `customer_id` value and the customer group is identified by the `group_id` value.需要连接1 scope
Removes a group membership from a customer. The customer is identified by the `customer_id` value and the customer group is identified by the `group_id` value.
认证
需要 Connected AccountScopes
CUSTOMERS_WRITETags
ResumeSubscriptionSQUAREUP_RESUME_SUBSCRIPTIONSchedules a `RESUME` action to resume a paused or a deactivated subscription.需要连接6 scopes
Schedules a `RESUME` action to resume a paused or a deactivated subscription.
认证
需要 Connected AccountScopes
CUSTOMERS_READPAYMENTS_WRITESUBSCRIPTIONS_WRITEITEMS_READORDERS_WRITEINVOICES_WRITETags
RetrieveBookingSQUAREUP_RETRIEVE_BOOKINGRetrieves a booking. To call this endpoint with buyer-level permissions, set `APPOINTMENTS_READ` for the OAuth scope. To call this endpoint with seller-level permissions, set `APPOINTMENTS_ALL_READ` and `APPOINTMENTS_READ` for the OAuth scope.需要连接1 scope
Retrieves a booking. To call this endpoint with buyer-level permissions, set `APPOINTMENTS_READ` for the OAuth scope. To call this endpoint with seller-level permissions, set `APPOINTMENTS_ALL_READ` and `APPOINTMENTS_READ` for the OAuth scope.
认证
需要 Connected AccountScopes
APPOINTMENTS_READTags
RetrieveBookingCustomAttributeSQUAREUP_RETRIEVE_BOOKING_CUSTOM_ATTRIBUTERetrieves a bookings custom attribute. To call this endpoint with buyer-level permissions, set `APPOINTMENTS_READ` for the OAuth scope. To call this endpoint with seller-level permissions, set `APPOINTMENTS_ALL_READ` and `APPOINTMENTS_READ` for the OAuth scope.需要连接1 scope
Retrieves a bookings custom attribute. To call this endpoint with buyer-level permissions, set `APPOINTMENTS_READ` for the OAuth scope. To call this endpoint with seller-level permissions, set `APPOINTMENTS_ALL_READ` and `APPOINTMENTS_READ` for the OAuth scope.
认证
需要 Connected AccountScopes
APPOINTMENTS_READTags
RetrieveBookingCustomAttributeDefinitionSQUAREUP_RETRIEVE_BOOKING_CUSTOM_ATTRIBUTE_DEFINITIONRetrieves a bookings custom attribute definition. To call this endpoint with buyer-level permissions, set `APPOINTMENTS_READ` for the OAuth scope. To call this endpoint with seller-level permissions, set `APPOINTMENTS_ALL_READ` and `APPOINTMENTS_READ` for the OAuth scope.需要连接1 scope
Retrieves a bookings custom attribute definition. To call this endpoint with buyer-level permissions, set `APPOINTMENTS_READ` for the OAuth scope. To call this endpoint with seller-level permissions, set `APPOINTMENTS_ALL_READ` and `APPOINTMENTS_READ` for the OAuth scope.
认证
需要 Connected AccountScopes
APPOINTMENTS_READTags
RetrieveBusinessBookingProfileSQUAREUP_RETRIEVE_BUSINESS_BOOKING_PROFILERetrieves a seller's booking profile.需要连接1 scope
Retrieves a seller's booking profile.
认证
需要 Connected AccountScopes
APPOINTMENTS_BUSINESS_SETTINGS_READTags
RetrieveCardSQUAREUP_RETRIEVE_CARDRetrieves details for a specific Card.需要连接
Retrieves details for a specific Card.
认证
需要 Connected AccountTags
RetrieveCashDrawerShiftSQUAREUP_RETRIEVE_CASH_DRAWER_SHIFTProvides the summary details for a single cash drawer shift. See [ListCashDrawerShiftEvents](api-endpoint:CashDrawers-ListCashDrawerShiftEvents) for a list of cash drawer shift events.需要连接1 scope
Provides the summary details for a single cash drawer shift. See [ListCashDrawerShiftEvents](api-endpoint:CashDrawers-ListCashDrawerShiftEvents) for a list of cash drawer shift events.
认证
需要 Connected AccountScopes
CASH_DRAWER_READTags
RetrieveCatalogObjectSQUAREUP_RETRIEVE_CATALOG_OBJECTReturns a single [CatalogItem](entity:CatalogItem) as a [CatalogObject](entity:CatalogObject) based on the provided ID. The returned object includes all of the relevant [CatalogItem](entity:CatalogItem) information including: [CatalogItemVariation](entity:CatalogItemVariation) children, references to its [CatalogModifierList](entity:CatalogModifierList) objects, and the ids of any [CatalogTax](entity:CatalogTax) objects that apply to it.需要连接1 scope
Returns a single [CatalogItem](entity:CatalogItem) as a [CatalogObject](entity:CatalogObject) based on the provided ID. The returned object includes all of the relevant [CatalogItem](entity:CatalogItem) information including: [CatalogItemVariation](entity:CatalogItemVariation) children, references to its [CatalogModifierList](entity:CatalogModifierList) objects, and the ids of any [CatalogTax](entity:CatalogTax) objects that apply to it.
认证
需要 Connected AccountScopes
ITEMS_READTags
RetrieveChannelSQUAREUP_RETRIEVE_CHANNELRetrieveChannel需要连接1 scope
RetrieveChannel
认证
需要 Connected AccountScopes
CHANNELS_READTags
RetrieveCustomerSQUAREUP_RETRIEVE_CUSTOMERReturns details for a single customer.需要连接1 scope
Returns details for a single customer.
认证
需要 Connected AccountScopes
CUSTOMERS_READTags
RetrieveCustomerCustomAttributeSQUAREUP_RETRIEVE_CUSTOMER_CUSTOM_ATTRIBUTERetrieves a [custom attribute](entity:CustomAttribute) associated with a customer profile. You can use the `with_definition` query parameter to also retrieve the custom attribute definition in the same call. To retrieve a custom attribute owned by another application, the `visibility` setting must be `VISIBILITY_READ_ONLY` or `VISIBILITY_READ_WRITE_VALUES`. Note that seller-defined custom attributes (also known as custom fields) are always set to `VISIBILITY_READ_WRITE_VALUES`.需要连接1 scope
Retrieves a [custom attribute](entity:CustomAttribute) associated with a customer profile. You can use the `with_definition` query parameter to also retrieve the custom attribute definition in the same call. To retrieve a custom attribute owned by another application, the `visibility` setting must be `VISIBILITY_READ_ONLY` or `VISIBILITY_READ_WRITE_VALUES`. Note that seller-defined custom attributes (also known as custom fields) are always set to `VISIBILITY_READ_WRITE_VALUES`.
认证
需要 Connected AccountScopes
CUSTOMERS_READTags
RetrieveCustomerCustomAttributeDefinitionSQUAREUP_RETRIEVE_CUSTOMER_CUSTOM_ATTRIBUTE_DEFINITIONRetrieves a customer-related [custom attribute definition](entity:CustomAttributeDefinition) from a Square seller account. To retrieve a custom attribute definition created by another application, the `visibility` setting must be `VISIBILITY_READ_ONLY` or `VISIBILITY_READ_WRITE_VALUES`. Note that seller-defined custom attributes (also known as custom fields) are always set to `VISIBILITY_READ_WRITE_VALUES`.需要连接1 scope
Retrieves a customer-related [custom attribute definition](entity:CustomAttributeDefinition) from a Square seller account. To retrieve a custom attribute definition created by another application, the `visibility` setting must be `VISIBILITY_READ_ONLY` or `VISIBILITY_READ_WRITE_VALUES`. Note that seller-defined custom attributes (also known as custom fields) are always set to `VISIBILITY_READ_WRITE_VALUES`.
认证
需要 Connected AccountScopes
CUSTOMERS_READTags
RetrieveCustomerGroupSQUAREUP_RETRIEVE_CUSTOMER_GROUPRetrieves a specific customer group as identified by the `group_id` value.需要连接1 scope
Retrieves a specific customer group as identified by the `group_id` value.
认证
需要 Connected AccountScopes
CUSTOMERS_READTags
RetrieveCustomerSegmentSQUAREUP_RETRIEVE_CUSTOMER_SEGMENTRetrieves a specific customer segment as identified by the `segment_id` value.需要连接1 scope
Retrieves a specific customer segment as identified by the `segment_id` value.
认证
需要 Connected AccountScopes
CUSTOMERS_READTags
RetrieveDisputeSQUAREUP_RETRIEVE_DISPUTEReturns details about a specific dispute.需要连接1 scope
Returns details about a specific dispute.
认证
需要 Connected AccountScopes
DISPUTES_READTags
RetrieveDisputeEvidenceSQUAREUP_RETRIEVE_DISPUTE_EVIDENCEReturns the metadata for the evidence specified in the request URL path. You must maintain a copy of any evidence uploaded if you want to reference it later. Evidence cannot be downloaded after you upload it.需要连接1 scope
Returns the metadata for the evidence specified in the request URL path. You must maintain a copy of any evidence uploaded if you want to reference it later. Evidence cannot be downloaded after you upload it.
认证
需要 Connected AccountScopes
DISPUTES_READTags
RetrieveEmployeeSQUAREUP_RETRIEVE_EMPLOYEERetrieveEmployee需要连接1 scope
RetrieveEmployee
认证
需要 Connected AccountScopes
EMPLOYEES_READTags
RetrieveGiftCardSQUAREUP_RETRIEVE_GIFT_CARDRetrieves a gift card using the gift card ID.需要连接1 scope
Retrieves a gift card using the gift card ID.
认证
需要 Connected AccountScopes
GIFTCARDS_READTags
RetrieveGiftCardFromGANSQUAREUP_RETRIEVE_GIFT_CARD_FROM_GANRetrieves a gift card using the gift card account number (GAN).需要连接1 scope
Retrieves a gift card using the gift card account number (GAN).
认证
需要 Connected AccountScopes
GIFTCARDS_READTags
RetrieveGiftCardFromNonceSQUAREUP_RETRIEVE_GIFT_CARD_FROM_NONCERetrieves a gift card using a secure payment token that represents the gift card.需要连接1 scope
Retrieves a gift card using a secure payment token that represents the gift card.
认证
需要 Connected AccountScopes
GIFTCARDS_READTags
RetrieveInventoryAdjustmentSQUAREUP_RETRIEVE_INVENTORY_ADJUSTMENTReturns the [InventoryAdjustment](entity:InventoryAdjustment) object with the provided `adjustment_id`.需要连接1 scope
Returns the [InventoryAdjustment](entity:InventoryAdjustment) object with the provided `adjustment_id`.
认证
需要 Connected AccountScopes
INVENTORY_READTags
RetrieveInventoryChangesSQUAREUP_RETRIEVE_INVENTORY_CHANGESReturns a set of physical counts and inventory adjustments for the provided [CatalogObject](entity:CatalogObject) at the requested [Location](entity:Location)s. You can achieve the same result by calling [BatchRetrieveInventoryChanges](api-endpoint:Inventory-BatchRetrieveInventoryChanges) and having the `catalog_object_ids` list contain a single element of the `CatalogObject` ID. Results are paginated and sorted in descending order according to their `occurred_at` timestamp (newest first). There are no limits on how far back the caller can page. This endpoint can be used to display recent changes for a specific item. For more sophisticated queries, use a batch endpoint.需要连接1 scope
Returns a set of physical counts and inventory adjustments for the provided [CatalogObject](entity:CatalogObject) at the requested [Location](entity:Location)s. You can achieve the same result by calling [BatchRetrieveInventoryChanges](api-endpoint:Inventory-BatchRetrieveInventoryChanges) and having the `catalog_object_ids` list contain a single element of the `CatalogObject` ID. Results are paginated and sorted in descending order according to their `occurred_at` timestamp (newest first). There are no limits on how far back the caller can page. This endpoint can be used to display recent changes for a specific item. For more sophisticated queries, use a batch endpoint.
认证
需要 Connected AccountScopes
INVENTORY_READTags
RetrieveInventoryCountSQUAREUP_RETRIEVE_INVENTORY_COUNTRetrieves the current calculated stock count for a given [CatalogObject](entity:CatalogObject) at a given set of [Location](entity:Location)s. Responses are paginated and unsorted. For more sophisticated queries, use a batch endpoint.需要连接1 scope
Retrieves the current calculated stock count for a given [CatalogObject](entity:CatalogObject) at a given set of [Location](entity:Location)s. Responses are paginated and unsorted. For more sophisticated queries, use a batch endpoint.
认证
需要 Connected AccountScopes
INVENTORY_READTags
RetrieveInventoryPhysicalCountSQUAREUP_RETRIEVE_INVENTORY_PHYSICAL_COUNTReturns the [InventoryPhysicalCount](entity:InventoryPhysicalCount) object with the provided `physical_count_id`.需要连接1 scope
Returns the [InventoryPhysicalCount](entity:InventoryPhysicalCount) object with the provided `physical_count_id`.
认证
需要 Connected AccountScopes
INVENTORY_READTags
RetrieveInventoryTransferSQUAREUP_RETRIEVE_INVENTORY_TRANSFERReturns the [InventoryTransfer](entity:InventoryTransfer) object with the provided `transfer_id`.需要连接1 scope
Returns the [InventoryTransfer](entity:InventoryTransfer) object with the provided `transfer_id`.
认证
需要 Connected AccountScopes
INVENTORY_READTags
RetrieveJobSQUAREUP_RETRIEVE_JOBRetrieves a specified job.需要连接1 scope
Retrieves a specified job.
认证
需要 Connected AccountScopes
EMPLOYEES_READTags
RetrieveLocationSQUAREUP_RETRIEVE_LOCATIONRetrieves details of a single location. Specify "main" as the location ID to retrieve details of the [main location](https://developer.squareup.com/docs/locations-api#about-the-main-location).需要连接1 scope
Retrieves details of a single location. Specify "main" as the location ID to retrieve details of the [main location](https://developer.squareup.com/docs/locations-api#about-the-main-location).
认证
需要 Connected AccountScopes
MERCHANT_PROFILE_READTags
RetrieveLocationBookingProfileSQUAREUP_RETRIEVE_LOCATION_BOOKING_PROFILERetrieves a seller's location booking profile.需要连接1 scope
Retrieves a seller's location booking profile.
认证
需要 Connected AccountScopes
APPOINTMENTS_BUSINESS_SETTINGS_READTags
RetrieveLocationCustomAttributeSQUAREUP_RETRIEVE_LOCATION_CUSTOM_ATTRIBUTERetrieves a [custom attribute](entity:CustomAttribute) associated with a location. You can use the `with_definition` query parameter to also retrieve the custom attribute definition in the same call. To retrieve a custom attribute owned by another application, the `visibility` setting must be `VISIBILITY_READ_ONLY` or `VISIBILITY_READ_WRITE_VALUES`.需要连接1 scope
Retrieves a [custom attribute](entity:CustomAttribute) associated with a location. You can use the `with_definition` query parameter to also retrieve the custom attribute definition in the same call. To retrieve a custom attribute owned by another application, the `visibility` setting must be `VISIBILITY_READ_ONLY` or `VISIBILITY_READ_WRITE_VALUES`.
认证
需要 Connected AccountScopes
MERCHANT_PROFILE_READTags
RetrieveLocationCustomAttributeDefinitionSQUAREUP_RETRIEVE_LOCATION_CUSTOM_ATTRIBUTE_DEFINITIONRetrieves a location-related [custom attribute definition](entity:CustomAttributeDefinition) from a Square seller account. To retrieve a custom attribute definition created by another application, the `visibility` setting must be `VISIBILITY_READ_ONLY` or `VISIBILITY_READ_WRITE_VALUES`.需要连接1 scope
Retrieves a location-related [custom attribute definition](entity:CustomAttributeDefinition) from a Square seller account. To retrieve a custom attribute definition created by another application, the `visibility` setting must be `VISIBILITY_READ_ONLY` or `VISIBILITY_READ_WRITE_VALUES`.
认证
需要 Connected AccountScopes
MERCHANT_PROFILE_READTags
RetrieveLocationSettingsSQUAREUP_RETRIEVE_LOCATION_SETTINGSRetrieves the location-level settings for a Square-hosted checkout page.需要连接1 scope
Retrieves the location-level settings for a Square-hosted checkout page.
认证
需要 Connected AccountScopes
MERCHANT_PROFILE_READTags
RetrieveLoyaltyAccountSQUAREUP_RETRIEVE_LOYALTY_ACCOUNTRetrieves a loyalty account.需要连接1 scope
Retrieves a loyalty account.
认证
需要 Connected AccountScopes
LOYALTY_READTags
RetrieveLoyaltyProgramSQUAREUP_RETRIEVE_LOYALTY_PROGRAMRetrieves the loyalty program in a seller's account, specified by the program ID or the keyword `main`. Loyalty programs define how buyers can earn points and redeem points for rewards. Square sellers can have only one loyalty program, which is created and managed from the Seller Dashboard. For more information, see [Loyalty Program Overview](https://developer.squareup.com/docs/loyalty/overview).需要连接1 scope
Retrieves the loyalty program in a seller's account, specified by the program ID or the keyword `main`. Loyalty programs define how buyers can earn points and redeem points for rewards. Square sellers can have only one loyalty program, which is created and managed from the Seller Dashboard. For more information, see [Loyalty Program Overview](https://developer.squareup.com/docs/loyalty/overview).
认证
需要 Connected AccountScopes
LOYALTY_READTags
RetrieveLoyaltyPromotionSQUAREUP_RETRIEVE_LOYALTY_PROMOTIONRetrieves a loyalty promotion.需要连接1 scope
Retrieves a loyalty promotion.
认证
需要 Connected AccountScopes
LOYALTY_READTags
RetrieveLoyaltyRewardSQUAREUP_RETRIEVE_LOYALTY_REWARDRetrieves a loyalty reward.需要连接1 scope
Retrieves a loyalty reward.
认证
需要 Connected AccountScopes
LOYALTY_READTags
RetrieveMerchantSQUAREUP_RETRIEVE_MERCHANTRetrieves the `Merchant` object for the given `merchant_id`.需要连接1 scope
Retrieves the `Merchant` object for the given `merchant_id`.
认证
需要 Connected AccountScopes
MERCHANT_PROFILE_READTags
RetrieveMerchantCustomAttributeSQUAREUP_RETRIEVE_MERCHANT_CUSTOM_ATTRIBUTERetrieves a [custom attribute](entity:CustomAttribute) associated with a merchant. You can use the `with_definition` query parameter to also retrieve the custom attribute definition in the same call. To retrieve a custom attribute owned by another application, the `visibility` setting must be `VISIBILITY_READ_ONLY` or `VISIBILITY_READ_WRITE_VALUES`.需要连接1 scope
Retrieves a [custom attribute](entity:CustomAttribute) associated with a merchant. You can use the `with_definition` query parameter to also retrieve the custom attribute definition in the same call. To retrieve a custom attribute owned by another application, the `visibility` setting must be `VISIBILITY_READ_ONLY` or `VISIBILITY_READ_WRITE_VALUES`.
认证
需要 Connected AccountScopes
MERCHANT_PROFILE_READTags
RetrieveMerchantCustomAttributeDefinitionSQUAREUP_RETRIEVE_MERCHANT_CUSTOM_ATTRIBUTE_DEFINITIONRetrieves a merchant-related [custom attribute definition](entity:CustomAttributeDefinition) from a Square seller account. To retrieve a custom attribute definition created by another application, the `visibility` setting must be `VISIBILITY_READ_ONLY` or `VISIBILITY_READ_WRITE_VALUES`.需要连接1 scope
Retrieves a merchant-related [custom attribute definition](entity:CustomAttributeDefinition) from a Square seller account. To retrieve a custom attribute definition created by another application, the `visibility` setting must be `VISIBILITY_READ_ONLY` or `VISIBILITY_READ_WRITE_VALUES`.
认证
需要 Connected AccountScopes
MERCHANT_PROFILE_READTags
RetrieveMerchantSettingsSQUAREUP_RETRIEVE_MERCHANT_SETTINGSRetrieves the merchant-level settings for a Square-hosted checkout page.需要连接2 scopes
Retrieves the merchant-level settings for a Square-hosted checkout page.
认证
需要 Connected AccountScopes
PAYMENT_METHODS_READMERCHANT_PROFILE_READTags
RetrieveOrderSQUAREUP_RETRIEVE_ORDERRetrieves an [Order](entity:Order) by ID.需要连接1 scope
Retrieves an [Order](entity:Order) by ID.
认证
需要 Connected AccountScopes
ORDERS_READTags
RetrieveOrderCustomAttributeSQUAREUP_RETRIEVE_ORDER_CUSTOM_ATTRIBUTERetrieves a [custom attribute](entity:CustomAttribute) associated with an order. You can use the `with_definition` query parameter to also retrieve the custom attribute definition in the same call. To retrieve a custom attribute owned by another application, the `visibility` setting must be `VISIBILITY_READ_ONLY` or `VISIBILITY_READ_WRITE_VALUES`. Note that seller-defined custom attributes also known as custom fields) are always set to `VISIBILITY_READ_WRITE_VALUES`.需要连接1 scope
Retrieves a [custom attribute](entity:CustomAttribute) associated with an order. You can use the `with_definition` query parameter to also retrieve the custom attribute definition in the same call. To retrieve a custom attribute owned by another application, the `visibility` setting must be `VISIBILITY_READ_ONLY` or `VISIBILITY_READ_WRITE_VALUES`. Note that seller-defined custom attributes also known as custom fields) are always set to `VISIBILITY_READ_WRITE_VALUES`.
认证
需要 Connected AccountScopes
ORDERS_READTags
RetrieveOrderCustomAttributeDefinitionSQUAREUP_RETRIEVE_ORDER_CUSTOM_ATTRIBUTE_DEFINITIONRetrieves an order-related [custom attribute definition](entity:CustomAttributeDefinition) from a Square seller account. To retrieve a custom attribute definition created by another application, the `visibility` setting must be `VISIBILITY_READ_ONLY` or `VISIBILITY_READ_WRITE_VALUES`. Note that seller-defined custom attributes (also known as custom fields) are always set to `VISIBILITY_READ_WRITE_VALUES`.需要连接1 scope
Retrieves an order-related [custom attribute definition](entity:CustomAttributeDefinition) from a Square seller account. To retrieve a custom attribute definition created by another application, the `visibility` setting must be `VISIBILITY_READ_ONLY` or `VISIBILITY_READ_WRITE_VALUES`. Note that seller-defined custom attributes (also known as custom fields) are always set to `VISIBILITY_READ_WRITE_VALUES`.
认证
需要 Connected AccountScopes
ORDERS_READTags
RetrievePaymentLinkSQUAREUP_RETRIEVE_PAYMENT_LINKRetrieves a payment link.需要连接1 scope
Retrieves a payment link.
认证
需要 Connected AccountScopes
ORDERS_READTags
RetrieveScheduledShiftSQUAREUP_RETRIEVE_SCHEDULED_SHIFTRetrieves a scheduled shift by ID.需要连接1 scope
Retrieves a scheduled shift by ID.
认证
需要 Connected AccountScopes
TIMECARDS_READTags
RetrieveSnippetSQUAREUP_RETRIEVE_SNIPPETRetrieves your snippet from a Square Online site. A site can contain snippets from multiple snippet applications, but you can retrieve only the snippet that was added by your application. You can call [ListSites](api-endpoint:Sites-ListSites) to get the IDs of the sites that belong to a seller. __Note:__ Square Online APIs are publicly available as part of an early access program. For more information, see [Early access program for Square Online APIs](https://developer.squareup.com/docs/online-api#early-access-program-for-square-online-apis).需要连接1 scope
Retrieves your snippet from a Square Online site. A site can contain snippets from multiple snippet applications, but you can retrieve only the snippet that was added by your application. You can call [ListSites](api-endpoint:Sites-ListSites) to get the IDs of the sites that belong to a seller. __Note:__ Square Online APIs are publicly available as part of an early access program. For more information, see [Early access program for Square Online APIs](https://developer.squareup.com/docs/online-api#early-access-program-for-square-online-apis).
认证
需要 Connected AccountScopes
ONLINE_STORE_SNIPPETS_READTags
RetrieveSubscriptionSQUAREUP_RETRIEVE_SUBSCRIPTIONRetrieves a specific subscription.需要连接1 scope
Retrieves a specific subscription.
认证
需要 Connected AccountScopes
SUBSCRIPTIONS_READTags
RetrieveTeamMemberSQUAREUP_RETRIEVE_TEAM_MEMBERRetrieves a `TeamMember` object for the given `TeamMember.id`. Learn about [Troubleshooting the Team API](https://developer.squareup.com/docs/team/troubleshooting#retrieve-a-team-member).需要连接1 scope
Retrieves a `TeamMember` object for the given `TeamMember.id`. Learn about [Troubleshooting the Team API](https://developer.squareup.com/docs/team/troubleshooting#retrieve-a-team-member).
认证
需要 Connected AccountScopes
EMPLOYEES_READTags
RetrieveTeamMemberBookingProfileSQUAREUP_RETRIEVE_TEAM_MEMBER_BOOKING_PROFILERetrieves a team member's booking profile.需要连接1 scope
Retrieves a team member's booking profile.
认证
需要 Connected AccountScopes
APPOINTMENTS_BUSINESS_SETTINGS_READTags
RetrieveTimecardSQUAREUP_RETRIEVE_TIMECARDReturns a single `Timecard` specified by `id`.需要连接1 scope
Returns a single `Timecard` specified by `id`.
认证
需要 Connected AccountScopes
TIMECARDS_READTags
RetrieveTokenStatusSQUAREUP_RETRIEVE_TOKEN_STATUSReturns information about an [OAuth access token](https://developer.squareup.com/docs/build-basics/access-tokens#get-an-oauth-access-token) or an application’s [personal access token](https://developer.squareup.com/docs/build-basics/access-tokens#get-a-personal-access-token). Add the access token to the Authorization header of the request. __Important:__ The `Authorization` header you provide to this endpoint must have the following format: ``` Authorization: Bearer ACCESS_TOKEN ``` where `ACCESS_TOKEN` is a [valid production authorization credential](https://developer.squareup.com/docs/build-basics/access-tokens). If the access token is expired or not a valid access token, the endpoint returns an `UNAUTHORIZED` error.需要连接
Returns information about an [OAuth access token](https://developer.squareup.com/docs/build-basics/access-tokens#get-an-oauth-access-token) or an application’s [personal access token](https://developer.squareup.com/docs/build-basics/access-tokens#get-a-personal-access-token). Add the access token to the Authorization header of the request. __Important:__ The `Authorization` header you provide to this endpoint must have the following format: ``` Authorization: Bearer ACCESS_TOKEN ``` where `ACCESS_TOKEN` is a [valid production authorization credential](https://developer.squareup.com/docs/build-basics/access-tokens). If the access token is expired or not a valid access token, the endpoint returns an `UNAUTHORIZED` error.
认证
需要 Connected AccountTags
RetrieveTransactionSQUAREUP_RETRIEVE_TRANSACTIONRetrieves details for a single transaction.需要连接1 scope
Retrieves details for a single transaction.
认证
需要 Connected AccountScopes
PAYMENTS_READTags
RetrieveTransferOrderSQUAREUP_RETRIEVE_TRANSFER_ORDERRetrieves a specific [TransferOrder](entity:TransferOrder) by ID. Returns the complete order details including: - Basic information (status, dates, notes) - Line items with ordered and received quantities - Source and destination [Location](entity:Location)s - Tracking information (if available)需要连接1 scope
Retrieves a specific [TransferOrder](entity:TransferOrder) by ID. Returns the complete order details including: - Basic information (status, dates, notes) - Line items with ordered and received quantities - Source and destination [Location](entity:Location)s - Tracking information (if available)
认证
需要 Connected AccountScopes
INVENTORY_READTags
RetrieveVendorSQUAREUP_RETRIEVE_VENDORRetrieves the vendor of a specified [Vendor](entity:Vendor) ID.需要连接1 scope
Retrieves the vendor of a specified [Vendor](entity:Vendor) ID.
认证
需要 Connected AccountScopes
VENDOR_READTags
RetrieveWageSettingSQUAREUP_RETRIEVE_WAGE_SETTINGRetrieves a `WageSetting` object for a team member specified by `TeamMember.id`. For more information, see [Troubleshooting the Team API](https://developer.squareup.com/docs/team/troubleshooting#retrievewagesetting). Square recommends using [RetrieveTeamMember](api-endpoint:Team-RetrieveTeamMember) or [SearchTeamMembers](api-endpoint:Team-SearchTeamMembers) to get this information directly from the `TeamMember.wage_setting` field.需要连接1 scope
Retrieves a `WageSetting` object for a team member specified by `TeamMember.id`. For more information, see [Troubleshooting the Team API](https://developer.squareup.com/docs/team/troubleshooting#retrievewagesetting). Square recommends using [RetrieveTeamMember](api-endpoint:Team-RetrieveTeamMember) or [SearchTeamMembers](api-endpoint:Team-SearchTeamMembers) to get this information directly from the `TeamMember.wage_setting` field.
认证
需要 Connected AccountScopes
EMPLOYEES_READTags
RetrieveWebhookSubscriptionSQUAREUP_RETRIEVE_WEBHOOK_SUBSCRIPTIONRetrieves a webhook subscription identified by its ID.需要连接
Retrieves a webhook subscription identified by its ID.
认证
需要 Connected AccountTags
RevokeTokenSQUAREUP_REVOKE_TOKENRevokes an access token generated with the OAuth flow. If an account has more than one OAuth access token for your application, this endpoint revokes all of them, regardless of which token you specify. __Important:__ The `Authorization` header for this endpoint must have the following format: ``` Authorization: Client APPLICATION_SECRET ``` Replace `APPLICATION_SECRET` with the application secret on the **OAuth** page for your application in the Developer Dashboard.需要连接
Revokes an access token generated with the OAuth flow. If an account has more than one OAuth access token for your application, this endpoint revokes all of them, regardless of which token you specify. __Important:__ The `Authorization` header for this endpoint must have the following format: ``` Authorization: Client APPLICATION_SECRET ``` Replace `APPLICATION_SECRET` with the application secret on the **OAuth** page for your application in the Developer Dashboard.
认证
需要 Connected AccountTags
SearchAvailabilitySQUAREUP_SEARCH_AVAILABILITYSearches for availabilities for booking. To call this endpoint with buyer-level permissions, set `APPOINTMENTS_READ` for the OAuth scope. To call this endpoint with seller-level permissions, set `APPOINTMENTS_ALL_READ` and `APPOINTMENTS_READ` for the OAuth scope.需要连接1 scope
Searches for availabilities for booking. To call this endpoint with buyer-level permissions, set `APPOINTMENTS_READ` for the OAuth scope. To call this endpoint with seller-level permissions, set `APPOINTMENTS_ALL_READ` and `APPOINTMENTS_READ` for the OAuth scope.
认证
需要 Connected AccountScopes
APPOINTMENTS_READTags
SearchCatalogItemsSQUAREUP_SEARCH_CATALOG_ITEMSSearches for catalog items or item variations by matching supported search attribute values, including custom attribute values, against one or more of the specified query filters. This (`SearchCatalogItems`) endpoint differs from the [SearchCatalogObjects](api-endpoint:Catalog-SearchCatalogObjects) endpoint in the following aspects: - `SearchCatalogItems` can only search for items or item variations, whereas `SearchCatalogObjects` can search for any type of catalog objects. - `SearchCatalogItems` supports the custom attribute query filters to return items or item variations that contain custom attribute values, where `SearchCatalogObjects` does not. - `SearchCatalogItems` does not support the `include_deleted_objects` filter to search for deleted items or item variations, whereas `SearchCatalogObjects` does. - The both endpoints use different call conventions, including the query filter formats.需要连接1 scope
Searches for catalog items or item variations by matching supported search attribute values, including custom attribute values, against one or more of the specified query filters. This (`SearchCatalogItems`) endpoint differs from the [SearchCatalogObjects](api-endpoint:Catalog-SearchCatalogObjects) endpoint in the following aspects: - `SearchCatalogItems` can only search for items or item variations, whereas `SearchCatalogObjects` can search for any type of catalog objects. - `SearchCatalogItems` supports the custom attribute query filters to return items or item variations that contain custom attribute values, where `SearchCatalogObjects` does not. - `SearchCatalogItems` does not support the `include_deleted_objects` filter to search for deleted items or item variations, whereas `SearchCatalogObjects` does. - The both endpoints use different call conventions, including the query filter formats.
认证
需要 Connected AccountScopes
ITEMS_READTags
SearchCatalogObjectsSQUAREUP_SEARCH_CATALOG_OBJECTSSearches for [CatalogObject](entity:CatalogObject) of any type by matching supported search attribute values, excluding custom attribute values on items or item variations, against one or more of the specified query filters. This (`SearchCatalogObjects`) endpoint differs from the [SearchCatalogItems](api-endpoint:Catalog-SearchCatalogItems) endpoint in the following aspects: - `SearchCatalogItems` can only search for items or item variations, whereas `SearchCatalogObjects` can search for any type of catalog objects. - `SearchCatalogItems` supports the custom attribute query filters to return items or item variations that contain custom attribute values, where `SearchCatalogObjects` does not. - `SearchCatalogItems` does not support the `include_deleted_objects` filter to search for deleted items or item variations, whereas `SearchCatalogObjects` does. - The both endpoints have different call conventions, including the query filter formats.需要连接1 scope
Searches for [CatalogObject](entity:CatalogObject) of any type by matching supported search attribute values, excluding custom attribute values on items or item variations, against one or more of the specified query filters. This (`SearchCatalogObjects`) endpoint differs from the [SearchCatalogItems](api-endpoint:Catalog-SearchCatalogItems) endpoint in the following aspects: - `SearchCatalogItems` can only search for items or item variations, whereas `SearchCatalogObjects` can search for any type of catalog objects. - `SearchCatalogItems` supports the custom attribute query filters to return items or item variations that contain custom attribute values, where `SearchCatalogObjects` does not. - `SearchCatalogItems` does not support the `include_deleted_objects` filter to search for deleted items or item variations, whereas `SearchCatalogObjects` does. - The both endpoints have different call conventions, including the query filter formats.
认证
需要 Connected AccountScopes
ITEMS_READTags
SearchCustomersSQUAREUP_SEARCH_CUSTOMERSSearches the customer profiles associated with a Square account using one or more supported query filters. Calling `SearchCustomers` without any explicit query filter returns all customer profiles ordered alphabetically based on `given_name` and `family_name`. Under normal operating conditions, newly created or updated customer profiles become available for the search operation in well under 30 seconds. Occasionally, propagation of the new or updated profiles can take closer to one minute or longer, especially during network incidents and outages.需要连接1 scope
Searches the customer profiles associated with a Square account using one or more supported query filters. Calling `SearchCustomers` without any explicit query filter returns all customer profiles ordered alphabetically based on `given_name` and `family_name`. Under normal operating conditions, newly created or updated customer profiles become available for the search operation in well under 30 seconds. Occasionally, propagation of the new or updated profiles can take closer to one minute or longer, especially during network incidents and outages.
认证
需要 Connected AccountScopes
CUSTOMERS_READTags
SearchEventsSQUAREUP_SEARCH_EVENTSSearch for Square API events that occur within a 28-day timeframe.需要连接
Search for Square API events that occur within a 28-day timeframe.
认证
需要 Connected AccountTags
SearchInvoicesSQUAREUP_SEARCH_INVOICESSearches for invoices from a location specified in the filter. You can optionally specify customers in the filter for whom to retrieve invoices. In the current implementation, you can only specify one location and optionally one customer. The response is paginated. If truncated, the response includes a `cursor` that you use in a subsequent request to retrieve the next set of invoices.需要连接1 scope
Searches for invoices from a location specified in the filter. You can optionally specify customers in the filter for whom to retrieve invoices. In the current implementation, you can only specify one location and optionally one customer. The response is paginated. If truncated, the response includes a `cursor` that you use in a subsequent request to retrieve the next set of invoices.
认证
需要 Connected AccountScopes
INVOICES_READTags
SearchLoyaltyAccountsSQUAREUP_SEARCH_LOYALTY_ACCOUNTSSearches for loyalty accounts in a loyalty program. You can search for a loyalty account using the phone number or customer ID associated with the account. To return all loyalty accounts, specify an empty `query` object or omit it entirely. Search results are sorted by `created_at` in ascending order.需要连接1 scope
Searches for loyalty accounts in a loyalty program. You can search for a loyalty account using the phone number or customer ID associated with the account. To return all loyalty accounts, specify an empty `query` object or omit it entirely. Search results are sorted by `created_at` in ascending order.
认证
需要 Connected AccountScopes
LOYALTY_READTags
SearchLoyaltyEventsSQUAREUP_SEARCH_LOYALTY_EVENTSSearches for loyalty events. A Square loyalty program maintains a ledger of events that occur during the lifetime of a buyer's loyalty account. Each change in the point balance (for example, points earned, points redeemed, and points expired) is recorded in the ledger. Using this endpoint, you can search the ledger for events. Search results are sorted by `created_at` in descending order.需要连接1 scope
Searches for loyalty events. A Square loyalty program maintains a ledger of events that occur during the lifetime of a buyer's loyalty account. Each change in the point balance (for example, points earned, points redeemed, and points expired) is recorded in the ledger. Using this endpoint, you can search the ledger for events. Search results are sorted by `created_at` in descending order.
认证
需要 Connected AccountScopes
LOYALTY_READTags
SearchLoyaltyRewardsSQUAREUP_SEARCH_LOYALTY_REWARDSSearches for loyalty rewards. This endpoint accepts a request with no query filters and returns results for all loyalty accounts. If you include a `query` object, `loyalty_account_id` is required and `status` is optional. If you know a reward ID, use the [RetrieveLoyaltyReward](api-endpoint:Loyalty-RetrieveLoyaltyReward) endpoint. Search results are sorted by `updated_at` in descending order.需要连接1 scope
Searches for loyalty rewards. This endpoint accepts a request with no query filters and returns results for all loyalty accounts. If you include a `query` object, `loyalty_account_id` is required and `status` is optional. If you know a reward ID, use the [RetrieveLoyaltyReward](api-endpoint:Loyalty-RetrieveLoyaltyReward) endpoint. Search results are sorted by `updated_at` in descending order.
认证
需要 Connected AccountScopes
LOYALTY_READTags
SearchOrdersSQUAREUP_SEARCH_ORDERSSearch all orders for one or more locations. Orders include all sales, returns, and exchanges regardless of how or when they entered the Square ecosystem (such as Point of Sale, Invoices, and Connect APIs). `SearchOrders` requests need to specify which locations to search and define a [SearchOrdersQuery](entity:SearchOrdersQuery) object that controls how to sort or filter the results. Your `SearchOrdersQuery` can: Set filter criteria. Set the sort order. Determine whether to return results as complete `Order` objects or as [OrderEntry](entity:OrderEntry) objects. Note that details for orders processed with Square Point of Sale while in offline mode might not be transmitted to Square for up to 72 hours. Offline orders have a `created_at` value that reflects the time the order was created, not the time it was subsequently transmitted to Square.需要连接1 scope
Search all orders for one or more locations. Orders include all sales, returns, and exchanges regardless of how or when they entered the Square ecosystem (such as Point of Sale, Invoices, and Connect APIs). `SearchOrders` requests need to specify which locations to search and define a [SearchOrdersQuery](entity:SearchOrdersQuery) object that controls how to sort or filter the results. Your `SearchOrdersQuery` can: Set filter criteria. Set the sort order. Determine whether to return results as complete `Order` objects or as [OrderEntry](entity:OrderEntry) objects. Note that details for orders processed with Square Point of Sale while in offline mode might not be transmitted to Square for up to 72 hours. Offline orders have a `created_at` value that reflects the time the order was created, not the time it was subsequently transmitted to Square.
认证
需要 Connected AccountScopes
ORDERS_READTags
SearchScheduledShiftsSQUAREUP_SEARCH_SCHEDULED_SHIFTSReturns a paginated list of scheduled shifts, with optional filter and sort settings. By default, results are sorted by `start_at` in ascending order.需要连接1 scope
Returns a paginated list of scheduled shifts, with optional filter and sort settings. By default, results are sorted by `start_at` in ascending order.
认证
需要 Connected AccountScopes
TIMECARDS_READTags
SearchShiftsSQUAREUP_SEARCH_SHIFTSReturns a paginated list of `Shift` records for a business. The list to be returned can be filtered by: - Location IDs - Team member IDs - Shift status (`OPEN` or `CLOSED`) - Shift start - Shift end - Workday details The list can be sorted by: - `START_AT` - `END_AT` - `CREATED_AT` - `UPDATED_AT`需要连接1 scope
Returns a paginated list of `Shift` records for a business. The list to be returned can be filtered by: - Location IDs - Team member IDs - Shift status (`OPEN` or `CLOSED`) - Shift start - Shift end - Workday details The list can be sorted by: - `START_AT` - `END_AT` - `CREATED_AT` - `UPDATED_AT`
认证
需要 Connected AccountScopes
TIMECARDS_READTags
SearchSubscriptionsSQUAREUP_SEARCH_SUBSCRIPTIONSSearches for subscriptions. Results are ordered chronologically by subscription creation date. If the request specifies more than one location ID, the endpoint orders the result by location ID, and then by creation date within each location. If no locations are given in the query, all locations are searched. You can also optionally specify `customer_ids` to search by customer. If left unset, all customers associated with the specified locations are returned. If the request specifies customer IDs, the endpoint orders results first by location, within location by customer ID, and within customer by subscription creation date.需要连接1 scope
Searches for subscriptions. Results are ordered chronologically by subscription creation date. If the request specifies more than one location ID, the endpoint orders the result by location ID, and then by creation date within each location. If no locations are given in the query, all locations are searched. You can also optionally specify `customer_ids` to search by customer. If left unset, all customers associated with the specified locations are returned. If the request specifies customer IDs, the endpoint orders results first by location, within location by customer ID, and within customer by subscription creation date.
认证
需要 Connected AccountScopes
SUBSCRIPTIONS_READTags
SearchTeamMembersSQUAREUP_SEARCH_TEAM_MEMBERSReturns a paginated list of `TeamMember` objects for a business. The list can be filtered by location IDs, `ACTIVE` or `INACTIVE` status, or whether the team member is the Square account owner.需要连接1 scope
Returns a paginated list of `TeamMember` objects for a business. The list can be filtered by location IDs, `ACTIVE` or `INACTIVE` status, or whether the team member is the Square account owner.
认证
需要 Connected AccountScopes
EMPLOYEES_READTags
SearchTerminalActionsSQUAREUP_SEARCH_TERMINAL_ACTIONSRetrieves a filtered list of Terminal action requests created by the account making the request. Terminal action requests are available for 30 days.需要连接1 scope
Retrieves a filtered list of Terminal action requests created by the account making the request. Terminal action requests are available for 30 days.
认证
需要 Connected AccountScopes
PAYMENTS_READTags
SearchTerminalCheckoutsSQUAREUP_SEARCH_TERMINAL_CHECKOUTSReturns a filtered list of Terminal checkout requests created by the application making the request. Only Terminal checkout requests created for the merchant scoped to the OAuth token are returned. Terminal checkout requests are available for 30 days.需要连接1 scope
Returns a filtered list of Terminal checkout requests created by the application making the request. Only Terminal checkout requests created for the merchant scoped to the OAuth token are returned. Terminal checkout requests are available for 30 days.
认证
需要 Connected AccountScopes
PAYMENTS_READTags
SearchTerminalRefundsSQUAREUP_SEARCH_TERMINAL_REFUNDSRetrieves a filtered list of Interac Terminal refund requests created by the seller making the request. Terminal refund requests are available for 30 days.需要连接1 scope
Retrieves a filtered list of Interac Terminal refund requests created by the seller making the request. Terminal refund requests are available for 30 days.
认证
需要 Connected AccountScopes
PAYMENTS_READTags
SearchTimecardsSQUAREUP_SEARCH_TIMECARDSReturns a paginated list of `Timecard` records for a business. The list to be returned can be filtered by: - Location IDs - Team member IDs - Timecard status (`OPEN` or `CLOSED`) - Timecard start - Timecard end - Workday details The list can be sorted by: - `START_AT` - `END_AT` - `CREATED_AT` - `UPDATED_AT`需要连接1 scope
Returns a paginated list of `Timecard` records for a business. The list to be returned can be filtered by: - Location IDs - Team member IDs - Timecard status (`OPEN` or `CLOSED`) - Timecard start - Timecard end - Workday details The list can be sorted by: - `START_AT` - `END_AT` - `CREATED_AT` - `UPDATED_AT`
认证
需要 Connected AccountScopes
TIMECARDS_READTags
SearchTransferOrdersSQUAREUP_SEARCH_TRANSFER_ORDERSSearches for transfer orders using filters. Returns a paginated list of matching [TransferOrder](entity:TransferOrder)s sorted by creation date. Common search scenarios: - Find orders for a source [Location](entity:Location) - Find orders for a destination [Location](entity:Location) - Find orders in a particular [TransferOrderStatus](entity:TransferOrderStatus)需要连接1 scope
Searches for transfer orders using filters. Returns a paginated list of matching [TransferOrder](entity:TransferOrder)s sorted by creation date. Common search scenarios: - Find orders for a source [Location](entity:Location) - Find orders for a destination [Location](entity:Location) - Find orders in a particular [TransferOrderStatus](entity:TransferOrderStatus)
认证
需要 Connected AccountScopes
INVENTORY_READTags
SearchVendorsSQUAREUP_SEARCH_VENDORSSearches for vendors using a filter against supported [Vendor](entity:Vendor) properties and a supported sorter.需要连接1 scope
Searches for vendors using a filter against supported [Vendor](entity:Vendor) properties and a supported sorter.
认证
需要 Connected AccountScopes
VENDOR_READTags
StartTransferOrderSQUAREUP_START_TRANSFER_ORDERChanges a [DRAFT](entity:TransferOrderStatus) transfer order to [STARTED](entity:TransferOrderStatus) status. This decrements inventory at the source [Location](entity:Location) and marks it as in-transit. The order must be in [DRAFT](entity:TransferOrderStatus) status and have all required fields populated. Once started, the order can no longer be deleted, but it can be canceled via [CancelTransferOrder](api-endpoint:TransferOrders-CancelTransferOrder). Creates a [transfer_order.updated](webhook:transfer_order.updated) webhook event.需要连接2 scopes
Changes a [DRAFT](entity:TransferOrderStatus) transfer order to [STARTED](entity:TransferOrderStatus) status. This decrements inventory at the source [Location](entity:Location) and marks it as in-transit. The order must be in [DRAFT](entity:TransferOrderStatus) status and have all required fields populated. Once started, the order can no longer be deleted, but it can be canceled via [CancelTransferOrder](api-endpoint:TransferOrders-CancelTransferOrder). Creates a [transfer_order.updated](webhook:transfer_order.updated) webhook event.
认证
需要 Connected AccountScopes
INVENTORY_READINVENTORY_WRITETags
SubmitEvidenceSQUAREUP_SUBMIT_EVIDENCESubmits evidence to the cardholder's bank. The evidence submitted by this endpoint includes evidence uploaded using the [CreateDisputeEvidenceFile](api-endpoint:Disputes-CreateDisputeEvidenceFile) and [CreateDisputeEvidenceText](api-endpoint:Disputes-CreateDisputeEvidenceText) endpoints and evidence automatically provided by Square, when available. Evidence cannot be removed from a dispute after submission.需要连接1 scope
Submits evidence to the cardholder's bank. The evidence submitted by this endpoint includes evidence uploaded using the [CreateDisputeEvidenceFile](api-endpoint:Disputes-CreateDisputeEvidenceFile) and [CreateDisputeEvidenceText](api-endpoint:Disputes-CreateDisputeEvidenceText) endpoints and evidence automatically provided by Square, when available. Evidence cannot be removed from a dispute after submission.
认证
需要 Connected AccountScopes
DISPUTES_WRITETags
SwapPlanSQUAREUP_SWAP_PLANSchedules a `SWAP_PLAN` action to swap a subscription plan variation in an existing subscription. For more information, see [Swap Subscription Plan Variations](https://developer.squareup.com/docs/subscriptions-api/swap-plan-variations).需要连接6 scopes
Schedules a `SWAP_PLAN` action to swap a subscription plan variation in an existing subscription. For more information, see [Swap Subscription Plan Variations](https://developer.squareup.com/docs/subscriptions-api/swap-plan-variations).
认证
需要 Connected AccountScopes
CUSTOMERS_READPAYMENTS_WRITESUBSCRIPTIONS_WRITEITEMS_READORDERS_WRITEINVOICES_WRITETags
TestWebhookSubscriptionSQUAREUP_TEST_WEBHOOK_SUBSCRIPTIONTests a webhook subscription by sending a test event to the notification URL.需要连接
Tests a webhook subscription by sending a test event to the notification URL.
认证
需要 Connected AccountTags
UnlinkCustomerFromGiftCardSQUAREUP_UNLINK_CUSTOMER_FROM_GIFT_CARDUnlinks a customer from a gift card, which is also referred to as removing a card on file.需要连接1 scope
Unlinks a customer from a gift card, which is also referred to as removing a card on file.
认证
需要 Connected AccountScopes
GIFTCARDS_WRITETags
UpdateBookingSQUAREUP_UPDATE_BOOKINGUpdates a booking. To call this endpoint with buyer-level permissions, set `APPOINTMENTS_WRITE` for the OAuth scope. To call this endpoint with seller-level permissions, set `APPOINTMENTS_ALL_WRITE` and `APPOINTMENTS_WRITE` for the OAuth scope. For calls to this endpoint with seller-level permissions to succeed, the seller must have subscribed to *Appointments Plus* or *Appointments Premium*.需要连接1 scope
Updates a booking. To call this endpoint with buyer-level permissions, set `APPOINTMENTS_WRITE` for the OAuth scope. To call this endpoint with seller-level permissions, set `APPOINTMENTS_ALL_WRITE` and `APPOINTMENTS_WRITE` for the OAuth scope. For calls to this endpoint with seller-level permissions to succeed, the seller must have subscribed to *Appointments Plus* or *Appointments Premium*.
认证
需要 Connected AccountScopes
APPOINTMENTS_WRITETags
UpdateBookingCustomAttributeDefinitionSQUAREUP_UPDATE_BOOKING_CUSTOM_ATTRIBUTE_DEFINITIONUpdates a bookings custom attribute definition. To call this endpoint with buyer-level permissions, set `APPOINTMENTS_WRITE` for the OAuth scope. To call this endpoint with seller-level permissions, set `APPOINTMENTS_ALL_WRITE` and `APPOINTMENTS_WRITE` for the OAuth scope. For calls to this endpoint with seller-level permissions to succeed, the seller must have subscribed to *Appointments Plus* or *Appointments Premium*.需要连接1 scope
Updates a bookings custom attribute definition. To call this endpoint with buyer-level permissions, set `APPOINTMENTS_WRITE` for the OAuth scope. To call this endpoint with seller-level permissions, set `APPOINTMENTS_ALL_WRITE` and `APPOINTMENTS_WRITE` for the OAuth scope. For calls to this endpoint with seller-level permissions to succeed, the seller must have subscribed to *Appointments Plus* or *Appointments Premium*.
认证
需要 Connected AccountScopes
APPOINTMENTS_WRITETags
UpdateBreakTypeSQUAREUP_UPDATE_BREAK_TYPEUpdates an existing `BreakType`.需要连接2 scopes
Updates an existing `BreakType`.
认证
需要 Connected AccountScopes
TIMECARDS_SETTINGS_WRITETIMECARDS_SETTINGS_READTags
UpdateCatalogImageSQUAREUP_UPDATE_CATALOG_IMAGEUploads a new image file to replace the existing one in the specified [CatalogImage](entity:CatalogImage) object. This `UpdateCatalogImage` endpoint accepts HTTP multipart/form-data requests with a JSON part and an image file part in JPEG, PJPEG, PNG, or GIF format. The maximum file size is 15MB.需要连接1 scope
Uploads a new image file to replace the existing one in the specified [CatalogImage](entity:CatalogImage) object. This `UpdateCatalogImage` endpoint accepts HTTP multipart/form-data requests with a JSON part and an image file part in JPEG, PJPEG, PNG, or GIF format. The maximum file size is 15MB.
认证
需要 Connected AccountScopes
ITEMS_WRITETags
UpdateCustomerSQUAREUP_UPDATE_CUSTOMERUpdates a customer profile. This endpoint supports sparse updates, so only new or changed fields are required in the request. To add or update a field, specify the new value. To remove a field, specify `null`. To update a customer profile that was created by merging existing profiles, you must use the ID of the newly created profile.需要连接1 scope
Updates a customer profile. This endpoint supports sparse updates, so only new or changed fields are required in the request. To add or update a field, specify the new value. To remove a field, specify `null`. To update a customer profile that was created by merging existing profiles, you must use the ID of the newly created profile.
认证
需要 Connected AccountScopes
CUSTOMERS_WRITETags
UpdateCustomerCustomAttributeDefinitionSQUAREUP_UPDATE_CUSTOMER_CUSTOM_ATTRIBUTE_DEFINITIONUpdates a customer-related [custom attribute definition](entity:CustomAttributeDefinition) for a Square seller account. Use this endpoint to update the following fields: `name`, `description`, `visibility`, or the `schema` for a `Selection` data type. Only the definition owner can update a custom attribute definition. Note that sellers can view all custom attributes in exported customer data, including those set to `VISIBILITY_HIDDEN`.需要连接1 scope
Updates a customer-related [custom attribute definition](entity:CustomAttributeDefinition) for a Square seller account. Use this endpoint to update the following fields: `name`, `description`, `visibility`, or the `schema` for a `Selection` data type. Only the definition owner can update a custom attribute definition. Note that sellers can view all custom attributes in exported customer data, including those set to `VISIBILITY_HIDDEN`.
认证
需要 Connected AccountScopes
CUSTOMERS_WRITETags
UpdateCustomerGroupSQUAREUP_UPDATE_CUSTOMER_GROUPUpdates a customer group as identified by the `group_id` value.需要连接1 scope
Updates a customer group as identified by the `group_id` value.
认证
需要 Connected AccountScopes
CUSTOMERS_WRITETags
UpdateInvoiceSQUAREUP_UPDATE_INVOICEUpdates an invoice. This endpoint supports sparse updates, so you only need to specify the fields you want to change along with the required `version` field. Some restrictions apply to updating invoices. For example, you cannot change the `order_id` or `location_id` field.需要连接2 scopes
Updates an invoice. This endpoint supports sparse updates, so you only need to specify the fields you want to change along with the required `version` field. Some restrictions apply to updating invoices. For example, you cannot change the `order_id` or `location_id` field.
认证
需要 Connected AccountScopes
ORDERS_WRITEINVOICES_WRITETags
UpdateItemModifierListsSQUAREUP_UPDATE_ITEM_MODIFIER_LISTSUpdates the [CatalogModifierList](entity:CatalogModifierList) objects that apply to the targeted [CatalogItem](entity:CatalogItem) without having to perform an upsert on the entire item.需要连接1 scope
Updates the [CatalogModifierList](entity:CatalogModifierList) objects that apply to the targeted [CatalogItem](entity:CatalogItem) without having to perform an upsert on the entire item.
认证
需要 Connected AccountScopes
ITEMS_WRITETags
UpdateItemTaxesSQUAREUP_UPDATE_ITEM_TAXESUpdates the [CatalogTax](entity:CatalogTax) objects that apply to the targeted [CatalogItem](entity:CatalogItem) without having to perform an upsert on the entire item.需要连接1 scope
Updates the [CatalogTax](entity:CatalogTax) objects that apply to the targeted [CatalogItem](entity:CatalogItem) without having to perform an upsert on the entire item.
认证
需要 Connected AccountScopes
ITEMS_WRITETags
UpdateJobSQUAREUP_UPDATE_JOBUpdates the title or tip eligibility of a job. Changes to the title propagate to all `JobAssignment`, `Shift`, and `TeamMemberWage` objects that reference the job ID. Changes to tip eligibility propagate to all `TeamMemberWage` objects that reference the job ID.需要连接1 scope
Updates the title or tip eligibility of a job. Changes to the title propagate to all `JobAssignment`, `Shift`, and `TeamMemberWage` objects that reference the job ID. Changes to tip eligibility propagate to all `TeamMemberWage` objects that reference the job ID.
认证
需要 Connected AccountScopes
EMPLOYEES_WRITETags
UpdateLocationSQUAREUP_UPDATE_LOCATIONUpdates a [location](https://developer.squareup.com/docs/locations-api).需要连接1 scope
Updates a [location](https://developer.squareup.com/docs/locations-api).
认证
需要 Connected AccountScopes
MERCHANT_PROFILE_WRITETags
UpdateLocationCustomAttributeDefinitionSQUAREUP_UPDATE_LOCATION_CUSTOM_ATTRIBUTE_DEFINITIONUpdates a location-related [custom attribute definition](entity:CustomAttributeDefinition) for a Square seller account. Use this endpoint to update the following fields: `name`, `description`, `visibility`, or the `schema` for a `Selection` data type. Only the definition owner can update a custom attribute definition.需要连接1 scope
Updates a location-related [custom attribute definition](entity:CustomAttributeDefinition) for a Square seller account. Use this endpoint to update the following fields: `name`, `description`, `visibility`, or the `schema` for a `Selection` data type. Only the definition owner can update a custom attribute definition.
认证
需要 Connected AccountScopes
MERCHANT_PROFILE_WRITETags
UpdateLocationSettingsSQUAREUP_UPDATE_LOCATION_SETTINGSUpdates the location-level settings for a Square-hosted checkout page.需要连接2 scopes
Updates the location-level settings for a Square-hosted checkout page.
认证
需要 Connected AccountScopes
MERCHANT_PROFILE_WRITEMERCHANT_PROFILE_READTags
UpdateMerchantCustomAttributeDefinitionSQUAREUP_UPDATE_MERCHANT_CUSTOM_ATTRIBUTE_DEFINITIONUpdates a merchant-related [custom attribute definition](entity:CustomAttributeDefinition) for a Square seller account. Use this endpoint to update the following fields: `name`, `description`, `visibility`, or the `schema` for a `Selection` data type. Only the definition owner can update a custom attribute definition.需要连接1 scope
Updates a merchant-related [custom attribute definition](entity:CustomAttributeDefinition) for a Square seller account. Use this endpoint to update the following fields: `name`, `description`, `visibility`, or the `schema` for a `Selection` data type. Only the definition owner can update a custom attribute definition.
认证
需要 Connected AccountScopes
MERCHANT_PROFILE_WRITETags
UpdateMerchantSettingsSQUAREUP_UPDATE_MERCHANT_SETTINGSUpdates the merchant-level settings for a Square-hosted checkout page.需要连接3 scopes
Updates the merchant-level settings for a Square-hosted checkout page.
认证
需要 Connected AccountScopes
MERCHANT_PROFILE_WRITEPAYMENT_METHODS_READMERCHANT_PROFILE_READTags
UpdateOrderSQUAREUP_UPDATE_ORDERUpdates an open [order](entity:Order) by adding, replacing, or deleting fields. Orders with a `COMPLETED` or `CANCELED` state cannot be updated. An `UpdateOrder` request requires the following: - The `order_id` in the endpoint path, identifying the order to update. - The latest `version` of the order to update. - The [sparse order](https://developer.squareup.com/docs/orders-api/manage-orders/update-orders#sparse-order-objects) containing only the fields to update and the version to which the update is being applied. - If deleting fields, the [dot notation paths](https://developer.squareup.com/docs/orders-api/manage-orders/update-orders#identifying-fields-to-delete) identifying the fields to clear. To pay for an order, see [Pay for Orders](https://developer.squareup.com/docs/orders-api/pay-for-orders).需要连接1 scope
Updates an open [order](entity:Order) by adding, replacing, or deleting fields. Orders with a `COMPLETED` or `CANCELED` state cannot be updated. An `UpdateOrder` request requires the following: - The `order_id` in the endpoint path, identifying the order to update. - The latest `version` of the order to update. - The [sparse order](https://developer.squareup.com/docs/orders-api/manage-orders/update-orders#sparse-order-objects) containing only the fields to update and the version to which the update is being applied. - If deleting fields, the [dot notation paths](https://developer.squareup.com/docs/orders-api/manage-orders/update-orders#identifying-fields-to-delete) identifying the fields to clear. To pay for an order, see [Pay for Orders](https://developer.squareup.com/docs/orders-api/pay-for-orders).
认证
需要 Connected AccountScopes
ORDERS_WRITETags
UpdateOrderCustomAttributeDefinitionSQUAREUP_UPDATE_ORDER_CUSTOM_ATTRIBUTE_DEFINITIONUpdates an order-related custom attribute definition for a Square seller account. Only the definition owner can update a custom attribute definition. Note that sellers can view all custom attributes in exported customer data, including those set to `VISIBILITY_HIDDEN`.需要连接1 scope
Updates an order-related custom attribute definition for a Square seller account. Only the definition owner can update a custom attribute definition. Note that sellers can view all custom attributes in exported customer data, including those set to `VISIBILITY_HIDDEN`.
认证
需要 Connected AccountScopes
ORDERS_WRITETags
UpdatePaymentSQUAREUP_UPDATE_PAYMENTUpdates a payment with the APPROVED status. You can update the `amount_money` and `tip_money` using this endpoint.需要连接1 scope
Updates a payment with the APPROVED status. You can update the `amount_money` and `tip_money` using this endpoint.
认证
需要 Connected AccountScopes
PAYMENTS_WRITETags
UpdatePaymentLinkSQUAREUP_UPDATE_PAYMENT_LINKUpdates a payment link. You can update the `payment_link` fields such as `description`, `checkout_options`, and `pre_populated_data`. You cannot update other fields such as the `order_id`, `version`, `URL`, or `timestamp` field.需要连接3 scopes
Updates a payment link. You can update the `payment_link` fields such as `description`, `checkout_options`, and `pre_populated_data`. You cannot update other fields such as the `order_id`, `version`, `URL`, or `timestamp` field.
认证
需要 Connected AccountScopes
PAYMENTS_WRITEORDERS_READORDERS_WRITETags
UpdateScheduledShiftSQUAREUP_UPDATE_SCHEDULED_SHIFTUpdates the draft shift details for a scheduled shift. This endpoint supports sparse updates, so only new, changed, or removed fields are required in the request. You must publish the shift to make updates public. You can make the following updates to `draft_shift_details`: - Change the `location_id`, `job_id`, `start_at`, and `end_at` fields. - Add, change, or clear the `team_member_id` and `notes` fields. To clear these fields, set the value to null. - Change the `is_deleted` field. To delete a scheduled shift, set `is_deleted` to true and then publish the shift.需要连接1 scope
Updates the draft shift details for a scheduled shift. This endpoint supports sparse updates, so only new, changed, or removed fields are required in the request. You must publish the shift to make updates public. You can make the following updates to `draft_shift_details`: - Change the `location_id`, `job_id`, `start_at`, and `end_at` fields. - Add, change, or clear the `team_member_id` and `notes` fields. To clear these fields, set the value to null. - Change the `is_deleted` field. To delete a scheduled shift, set `is_deleted` to true and then publish the shift.
认证
需要 Connected AccountScopes
TIMECARDS_WRITETags
UpdateShiftSQUAREUP_UPDATE_SHIFTUpdates an existing `Shift`. When adding a `Break` to a `Shift`, any earlier `Break` instances in the `Shift` have the `end_at` property set to a valid RFC-3339 datetime string. When closing a `Shift`, all `Break` instances in the `Shift` must be complete with `end_at` set on each `Break`.需要连接2 scopes
Updates an existing `Shift`. When adding a `Break` to a `Shift`, any earlier `Break` instances in the `Shift` have the `end_at` property set to a valid RFC-3339 datetime string. When closing a `Shift`, all `Break` instances in the `Shift` must be complete with `end_at` set on each `Break`.
认证
需要 Connected AccountScopes
TIMECARDS_WRITETIMECARDS_READTags
UpdateSubscriptionSQUAREUP_UPDATE_SUBSCRIPTIONUpdates a subscription by modifying or clearing `subscription` field values. To clear a field, set its value to `null`.需要连接6 scopes
Updates a subscription by modifying or clearing `subscription` field values. To clear a field, set its value to `null`.
认证
需要 Connected AccountScopes
CUSTOMERS_READPAYMENTS_WRITESUBSCRIPTIONS_WRITEITEMS_READORDERS_WRITEINVOICES_WRITETags
UpdateTeamMemberSQUAREUP_UPDATE_TEAM_MEMBERUpdates a single `TeamMember` object. The `TeamMember` object is returned on successful updates. Learn about [Troubleshooting the Team API](https://developer.squareup.com/docs/team/troubleshooting#update-a-team-member).需要连接1 scope
Updates a single `TeamMember` object. The `TeamMember` object is returned on successful updates. Learn about [Troubleshooting the Team API](https://developer.squareup.com/docs/team/troubleshooting#update-a-team-member).
认证
需要 Connected AccountScopes
EMPLOYEES_WRITETags
UpdateTimecardSQUAREUP_UPDATE_TIMECARDUpdates an existing `Timecard`. When adding a `Break` to a `Timecard`, any earlier `Break` instances in the `Timecard` have the `end_at` property set to a valid RFC-3339 datetime string. When closing a `Timecard`, all `Break` instances in the `Timecard` must be complete with `end_at` set on each `Break`.需要连接2 scopes
Updates an existing `Timecard`. When adding a `Break` to a `Timecard`, any earlier `Break` instances in the `Timecard` have the `end_at` property set to a valid RFC-3339 datetime string. When closing a `Timecard`, all `Break` instances in the `Timecard` must be complete with `end_at` set on each `Break`.
认证
需要 Connected AccountScopes
TIMECARDS_WRITETIMECARDS_READTags
UpdateTransferOrderSQUAREUP_UPDATE_TRANSFER_ORDERUpdates an existing transfer order. This endpoint supports sparse updates, allowing you to modify specific fields without affecting others. Creates a [transfer_order.updated](webhook:transfer_order.updated) webhook event.需要连接2 scopes
Updates an existing transfer order. This endpoint supports sparse updates, allowing you to modify specific fields without affecting others. Creates a [transfer_order.updated](webhook:transfer_order.updated) webhook event.
认证
需要 Connected AccountScopes
INVENTORY_READINVENTORY_WRITETags
UpdateVendorSQUAREUP_UPDATE_VENDORUpdates an existing [Vendor](entity:Vendor) object as a supplier to a seller.需要连接1 scope
Updates an existing [Vendor](entity:Vendor) object as a supplier to a seller.
认证
需要 Connected AccountScopes
VENDOR_WRITETags
UpdateWageSettingSQUAREUP_UPDATE_WAGE_SETTINGCreates or updates a `WageSetting` object. The object is created if a `WageSetting` with the specified `team_member_id` doesn't exist. Otherwise, it fully replaces the `WageSetting` object for the team member. The `WageSetting` is returned on a successful update. For more information, see [Troubleshooting the Team API](https://developer.squareup.com/docs/team/troubleshooting#create-or-update-a-wage-setting). Square recommends using [CreateTeamMember](api-endpoint:Team-CreateTeamMember) or [UpdateTeamMember](api-endpoint:Team-UpdateTeamMember) to manage the `TeamMember.wage_setting` field directly.需要连接1 scope
Creates or updates a `WageSetting` object. The object is created if a `WageSetting` with the specified `team_member_id` doesn't exist. Otherwise, it fully replaces the `WageSetting` object for the team member. The `WageSetting` is returned on a successful update. For more information, see [Troubleshooting the Team API](https://developer.squareup.com/docs/team/troubleshooting#create-or-update-a-wage-setting). Square recommends using [CreateTeamMember](api-endpoint:Team-CreateTeamMember) or [UpdateTeamMember](api-endpoint:Team-UpdateTeamMember) to manage the `TeamMember.wage_setting` field directly.
认证
需要 Connected AccountScopes
EMPLOYEES_WRITETags
UpdateWebhookSubscriptionSQUAREUP_UPDATE_WEBHOOK_SUBSCRIPTIONUpdates a webhook subscription.需要连接
Updates a webhook subscription.
认证
需要 Connected AccountTags
UpdateWebhookSubscriptionSignatureKeySQUAREUP_UPDATE_WEBHOOK_SUBSCRIPTION_SIGNATURE_KEYUpdates a webhook subscription by replacing the existing signature key with a new one.需要连接
Updates a webhook subscription by replacing the existing signature key with a new one.
认证
需要 Connected AccountTags
UpdateWorkweekConfigSQUAREUP_UPDATE_WORKWEEK_CONFIGUpdates a `WorkweekConfig`.需要连接2 scopes
Updates a `WorkweekConfig`.
认证
需要 Connected AccountScopes
TIMECARDS_SETTINGS_WRITETIMECARDS_SETTINGS_READTags
UpsertBookingCustomAttributeSQUAREUP_UPSERT_BOOKING_CUSTOM_ATTRIBUTEUpserts a bookings custom attribute. To call this endpoint with buyer-level permissions, set `APPOINTMENTS_WRITE` for the OAuth scope. To call this endpoint with seller-level permissions, set `APPOINTMENTS_ALL_WRITE` and `APPOINTMENTS_WRITE` for the OAuth scope. For calls to this endpoint with seller-level permissions to succeed, the seller must have subscribed to *Appointments Plus* or *Appointments Premium*.需要连接1 scope
Upserts a bookings custom attribute. To call this endpoint with buyer-level permissions, set `APPOINTMENTS_WRITE` for the OAuth scope. To call this endpoint with seller-level permissions, set `APPOINTMENTS_ALL_WRITE` and `APPOINTMENTS_WRITE` for the OAuth scope. For calls to this endpoint with seller-level permissions to succeed, the seller must have subscribed to *Appointments Plus* or *Appointments Premium*.
认证
需要 Connected AccountScopes
APPOINTMENTS_WRITETags
UpsertCatalogObjectSQUAREUP_UPSERT_CATALOG_OBJECTCreates a new or updates the specified [CatalogObject](entity:CatalogObject). To ensure consistency, only one update request is processed at a time per seller account. While one (batch or non-batch) update request is being processed, other (batched and non-batched) update requests are rejected with the `429` error code.需要连接1 scope
Creates a new or updates the specified [CatalogObject](entity:CatalogObject). To ensure consistency, only one update request is processed at a time per seller account. While one (batch or non-batch) update request is being processed, other (batched and non-batched) update requests are rejected with the `429` error code.
认证
需要 Connected AccountScopes
ITEMS_WRITETags
UpsertCustomerCustomAttributeSQUAREUP_UPSERT_CUSTOMER_CUSTOM_ATTRIBUTECreates or updates a [custom attribute](entity:CustomAttribute) for a customer profile. Use this endpoint to set the value of a custom attribute for a specified customer profile. A custom attribute is based on a custom attribute definition in a Square seller account, which is created using the [CreateCustomerCustomAttributeDefinition](api-endpoint:CustomerCustomAttributes-CreateCustomerCustomAttributeDefinition) endpoint. To create or update a custom attribute owned by another application, the `visibility` setting must be `VISIBILITY_READ_WRITE_VALUES`. Note that seller-defined custom attributes (also known as custom fields) are always set to `VISIBILITY_READ_WRITE_VALUES`.需要连接1 scope
Creates or updates a [custom attribute](entity:CustomAttribute) for a customer profile. Use this endpoint to set the value of a custom attribute for a specified customer profile. A custom attribute is based on a custom attribute definition in a Square seller account, which is created using the [CreateCustomerCustomAttributeDefinition](api-endpoint:CustomerCustomAttributes-CreateCustomerCustomAttributeDefinition) endpoint. To create or update a custom attribute owned by another application, the `visibility` setting must be `VISIBILITY_READ_WRITE_VALUES`. Note that seller-defined custom attributes (also known as custom fields) are always set to `VISIBILITY_READ_WRITE_VALUES`.
认证
需要 Connected AccountScopes
CUSTOMERS_WRITETags
UpsertLocationCustomAttributeSQUAREUP_UPSERT_LOCATION_CUSTOM_ATTRIBUTECreates or updates a [custom attribute](entity:CustomAttribute) for a location. Use this endpoint to set the value of a custom attribute for a specified location. A custom attribute is based on a custom attribute definition in a Square seller account, which is created using the [CreateLocationCustomAttributeDefinition](api-endpoint:LocationCustomAttributes-CreateLocationCustomAttributeDefinition) endpoint. To create or update a custom attribute owned by another application, the `visibility` setting must be `VISIBILITY_READ_WRITE_VALUES`.需要连接1 scope
Creates or updates a [custom attribute](entity:CustomAttribute) for a location. Use this endpoint to set the value of a custom attribute for a specified location. A custom attribute is based on a custom attribute definition in a Square seller account, which is created using the [CreateLocationCustomAttributeDefinition](api-endpoint:LocationCustomAttributes-CreateLocationCustomAttributeDefinition) endpoint. To create or update a custom attribute owned by another application, the `visibility` setting must be `VISIBILITY_READ_WRITE_VALUES`.
认证
需要 Connected AccountScopes
MERCHANT_PROFILE_WRITETags
UpsertMerchantCustomAttributeSQUAREUP_UPSERT_MERCHANT_CUSTOM_ATTRIBUTECreates or updates a [custom attribute](entity:CustomAttribute) for a merchant. Use this endpoint to set the value of a custom attribute for a specified merchant. A custom attribute is based on a custom attribute definition in a Square seller account, which is created using the [CreateMerchantCustomAttributeDefinition](api-endpoint:MerchantCustomAttributes-CreateMerchantCustomAttributeDefinition) endpoint. To create or update a custom attribute owned by another application, the `visibility` setting must be `VISIBILITY_READ_WRITE_VALUES`.需要连接1 scope
Creates or updates a [custom attribute](entity:CustomAttribute) for a merchant. Use this endpoint to set the value of a custom attribute for a specified merchant. A custom attribute is based on a custom attribute definition in a Square seller account, which is created using the [CreateMerchantCustomAttributeDefinition](api-endpoint:MerchantCustomAttributes-CreateMerchantCustomAttributeDefinition) endpoint. To create or update a custom attribute owned by another application, the `visibility` setting must be `VISIBILITY_READ_WRITE_VALUES`.
认证
需要 Connected AccountScopes
MERCHANT_PROFILE_WRITETags
UpsertOrderCustomAttributeSQUAREUP_UPSERT_ORDER_CUSTOM_ATTRIBUTECreates or updates a [custom attribute](entity:CustomAttribute) for an order. Use this endpoint to set the value of a custom attribute for a specific order. A custom attribute is based on a custom attribute definition in a Square seller account. (To create a custom attribute definition, use the [CreateOrderCustomAttributeDefinition](api-endpoint:OrderCustomAttributes-CreateOrderCustomAttributeDefinition) endpoint.) To create or update a custom attribute owned by another application, the `visibility` setting must be `VISIBILITY_READ_WRITE_VALUES`. Note that seller-defined custom attributes (also known as custom fields) are always set to `VISIBILITY_READ_WRITE_VALUES`.需要连接1 scope
Creates or updates a [custom attribute](entity:CustomAttribute) for an order. Use this endpoint to set the value of a custom attribute for a specific order. A custom attribute is based on a custom attribute definition in a Square seller account. (To create a custom attribute definition, use the [CreateOrderCustomAttributeDefinition](api-endpoint:OrderCustomAttributes-CreateOrderCustomAttributeDefinition) endpoint.) To create or update a custom attribute owned by another application, the `visibility` setting must be `VISIBILITY_READ_WRITE_VALUES`. Note that seller-defined custom attributes (also known as custom fields) are always set to `VISIBILITY_READ_WRITE_VALUES`.
认证
需要 Connected AccountScopes
ORDERS_WRITETags
UpsertSnippetSQUAREUP_UPSERT_SNIPPETAdds a snippet to a Square Online site or updates the existing snippet on the site. The snippet code is appended to the end of the `head` element on every page of the site, except checkout pages. A snippet application can add one snippet to a given site. You can call [ListSites](api-endpoint:Sites-ListSites) to get the IDs of the sites that belong to a seller. __Note:__ Square Online APIs are publicly available as part of an early access program. For more information, see [Early access program for Square Online APIs](https://developer.squareup.com/docs/online-api#early-access-program-for-square-online-apis).需要连接1 scope
Adds a snippet to a Square Online site or updates the existing snippet on the site. The snippet code is appended to the end of the `head` element on every page of the site, except checkout pages. A snippet application can add one snippet to a given site. You can call [ListSites](api-endpoint:Sites-ListSites) to get the IDs of the sites that belong to a seller. __Note:__ Square Online APIs are publicly available as part of an early access program. For more information, see [Early access program for Square Online APIs](https://developer.squareup.com/docs/online-api#early-access-program-for-square-online-apis).
认证
需要 Connected AccountScopes
ONLINE_STORE_SNIPPETS_WRITETags
V1ListOrdersSQUAREUP_V1_LIST_ORDERSProvides summary information for a merchant's online store orders.需要连接1 scope
Provides summary information for a merchant's online store orders.
认证
需要 Connected AccountScopes
ORDERS_READTags
V1RetrieveOrderSQUAREUP_V1_RETRIEVE_ORDERProvides comprehensive information for a single online store order, including the order's history.需要连接1 scope
Provides comprehensive information for a single online store order, including the order's history.
认证
需要 Connected AccountScopes
ORDERS_READTags
V1UpdateOrderSQUAREUP_V1_UPDATE_ORDERUpdates the details of an online store order. Every update you perform on an order corresponds to one of three actions:需要连接1 scope
Updates the details of an online store order. Every update you perform on an order corresponds to one of three actions:
认证
需要 Connected AccountScopes
ORDERS_WRITETags
VoidTransactionSQUAREUP_VOID_TRANSACTIONCancels a transaction that was created with the [Charge](api-endpoint:Transactions-Charge) endpoint with a `delay_capture` value of `true`. See [Delayed capture transactions](https://developer.squareup.com/docs/payments/transactions/overview#delayed-capture) for more information.需要连接1 scope
Cancels a transaction that was created with the [Charge](api-endpoint:Transactions-Charge) endpoint with a `delay_capture` value of `true`. See [Delayed capture transactions](https://developer.squareup.com/docs/payments/transactions/overview#delayed-capture) for more information.
认证
需要 Connected AccountScopes
PAYMENTS_WRITETags