{
  "info": {
    "_postman_id": "552d715f-7641-48a3-8b84-4f41303583a2",
    "name": "Square ApplePay LocationCustomAttributes API",
    "description": "Supercharge Square for sellers of every size. Our entire connected commerce platform  from elegant hardware to a rich suite of Square APIs  is yours to build with. Whether youre developing an app or composing a bespoke solution, this is the place to make it happen. \n\nContact Support:\n Name: Square Developer Platform\n Email: developers@squareup.com",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "createdAt": "2026-07-28T03:03:59.000Z",
    "updatedAt": "2026-07-28T03:03:59.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-552d715f-7641-48a3-8b84-4f41303583a2"
  },
  "item": [
    {
      "name": "v2",
      "item": [
        {
          "name": "locations",
          "item": [
            {
              "name": "custom-attribute-definitions",
              "item": [
                {
                  "name": "{key}",
                  "item": [
                    {
                      "name": "Square Delete Location Custom Attribute Definition",
                      "id": "1d3713cc-8775-49fb-b9c3-9442e3ea19ca",
                      "protocolProfileBehavior": {
                        "disableBodyPruning": true
                      },
                      "request": {
                        "auth": {
                          "type": "oauth2",
                          "oauth2": [
                            {
                              "key": "scope",
                              "value": "ADDON_CONFIGURATIONS_READ ADDON_CONFIGURATIONS_WRITE APPOINTMENTS_ALL_READ APPOINTMENTS_ALL_WRITE APPOINTMENTS_BUSINESS_SETTINGS_READ APPOINTMENTS_READ APPOINTMENTS_WRITE BANK_ACCOUNTS_READ CASH_DRAWER_READ CHANNELS_CREATE CHANNELS_READ CHANNELS_UPDATE CUSTOMERS_READ CUSTOMERS_WRITE DEVICES_READ DEVICE_CREDENTIAL_MANAGEMENT DISPUTES_READ DISPUTES_WRITE EMPLOYEES_READ EMPLOYEES_WRITE GIFTCARDS_READ GIFTCARDS_WRITE INVENTORY_READ INVENTORY_WRITE INVOICES_READ INVOICES_WRITE ITEMS_READ ITEMS_WRITE LOYALTY_READ LOYALTY_WRITE MERCHANT_PROFILE_READ MERCHANT_PROFILE_WRITE ONLINE_STORE_SITE_READ ONLINE_STORE_SNIPPETS_READ ONLINE_STORE_SNIPPETS_WRITE ORDERS_READ ORDERS_WRITE PAYMENTS_READ PAYMENTS_WRITE PAYMENTS_WRITE_ADDITIONAL_RECIPIENTS PAYMENTS_WRITE_IN_PERSON PAYMENTS_WRITE_SHARED_ONFILE PAYOUTS_READ PERMISSION_SETS_READ PERMISSION_SETS_WRITE RESERVATIONS_READ RESERVATIONS_WRITE RESTAURANT_CHECKS_READ SETTLEMENTS_READ SUBSCRIPTIONS_READ SUBSCRIPTIONS_WRITE TIMECARDS_READ TIMECARDS_SETTINGS_READ TIMECARDS_SETTINGS_WRITE TIMECARDS_WRITE VENDOR_READ VENDOR_WRITE",
                              "type": "string"
                            },
                            {
                              "key": "accessTokenUrl",
                              "value": "https://connect.squareup.com/oauth2/token",
                              "type": "string"
                            },
                            {
                              "key": "authUrl",
                              "value": "https://connect.squareup.com/oauth2/authorize",
                              "type": "string"
                            },
                            {
                              "key": "grant_type",
                              "value": "authorization_code",
                              "type": "string"
                            }
                          ]
                        },
                        "method": "DELETE",
                        "header": [
                          {
                            "key": "Accept",
                            "value": "application/json"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/v2/locations/custom-attribute-definitions/:key",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "v2",
                            "locations",
                            "custom-attribute-definitions",
                            ":key"
                          ],
                          "variable": [
                            {
                              "id": "386c1467-a57b-48b1-9b94-95c6028bef53",
                              "key": "key",
                              "value": "<string>",
                              "description": "(Required) The key of the custom attribute definition to delete."
                            }
                          ]
                        },
                        "description": "Deletes a location-related [custom attribute definition](entity:CustomAttributeDefinition) from a Square seller account.\nDeleting a custom attribute definition also deletes the corresponding custom attribute from\nall locations.\nOnly the definition owner can delete a custom attribute definition."
                      },
                      "response": [
                        {
                          "id": "b66d6061-9a63-42fc-b90c-442b03ec83b4",
                          "name": "Success",
                          "originalRequest": {
                            "method": "DELETE",
                            "header": [
                              {
                                "key": "Accept",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: oauth2",
                                "key": "Authorization",
                                "value": "<token>"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/v2/locations/custom-attribute-definitions/:key",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "v2",
                                "locations",
                                "custom-attribute-definitions",
                                ":key"
                              ],
                              "variable": [
                                {
                                  "key": "key"
                                }
                              ]
                            }
                          },
                          "status": "OK",
                          "code": 200,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"errors\": [\n    {\n      \"category\": \"PAYMENT_METHOD_ERROR\",\n      \"code\": \"VALUE_TOO_HIGH\",\n      \"detail\": \"<string>\",\n      \"field\": \"<string>\"\n    },\n    {\n      \"category\": \"AUTHENTICATION_ERROR\",\n      \"code\": \"EXPECTED_FLOAT\",\n      \"detail\": \"<string>\",\n      \"field\": \"<string>\"\n    }\n  ]\n}",
                          "createdAt": "2026-07-28T03:03:59.000Z",
                          "updatedAt": "2026-07-28T03:03:59.000Z",
                          "uid": "35240-b66d6061-9a63-42fc-b90c-442b03ec83b4"
                        }
                      ],
                      "createdAt": "2026-07-28T03:03:59.000Z",
                      "updatedAt": "2026-07-28T03:03:59.000Z",
                      "uid": "35240-1d3713cc-8775-49fb-b9c3-9442e3ea19ca"
                    },
                    {
                      "name": "Square Retrieve Location Custom Attribute Definition",
                      "id": "055b0bed-3d1f-4082-975f-90f17e8db9df",
                      "protocolProfileBehavior": {
                        "disableBodyPruning": true
                      },
                      "request": {
                        "auth": {
                          "type": "oauth2",
                          "oauth2": [
                            {
                              "key": "scope",
                              "value": "ADDON_CONFIGURATIONS_READ ADDON_CONFIGURATIONS_WRITE APPOINTMENTS_ALL_READ APPOINTMENTS_ALL_WRITE APPOINTMENTS_BUSINESS_SETTINGS_READ APPOINTMENTS_READ APPOINTMENTS_WRITE BANK_ACCOUNTS_READ CASH_DRAWER_READ CHANNELS_CREATE CHANNELS_READ CHANNELS_UPDATE CUSTOMERS_READ CUSTOMERS_WRITE DEVICES_READ DEVICE_CREDENTIAL_MANAGEMENT DISPUTES_READ DISPUTES_WRITE EMPLOYEES_READ EMPLOYEES_WRITE GIFTCARDS_READ GIFTCARDS_WRITE INVENTORY_READ INVENTORY_WRITE INVOICES_READ INVOICES_WRITE ITEMS_READ ITEMS_WRITE LOYALTY_READ LOYALTY_WRITE MERCHANT_PROFILE_READ MERCHANT_PROFILE_WRITE ONLINE_STORE_SITE_READ ONLINE_STORE_SNIPPETS_READ ONLINE_STORE_SNIPPETS_WRITE ORDERS_READ ORDERS_WRITE PAYMENTS_READ PAYMENTS_WRITE PAYMENTS_WRITE_ADDITIONAL_RECIPIENTS PAYMENTS_WRITE_IN_PERSON PAYMENTS_WRITE_SHARED_ONFILE PAYOUTS_READ PERMISSION_SETS_READ PERMISSION_SETS_WRITE RESERVATIONS_READ RESERVATIONS_WRITE RESTAURANT_CHECKS_READ SETTLEMENTS_READ SUBSCRIPTIONS_READ SUBSCRIPTIONS_WRITE TIMECARDS_READ TIMECARDS_SETTINGS_READ TIMECARDS_SETTINGS_WRITE TIMECARDS_WRITE VENDOR_READ VENDOR_WRITE",
                              "type": "string"
                            },
                            {
                              "key": "accessTokenUrl",
                              "value": "https://connect.squareup.com/oauth2/token",
                              "type": "string"
                            },
                            {
                              "key": "authUrl",
                              "value": "https://connect.squareup.com/oauth2/authorize",
                              "type": "string"
                            },
                            {
                              "key": "grant_type",
                              "value": "authorization_code",
                              "type": "string"
                            }
                          ]
                        },
                        "method": "GET",
                        "header": [
                          {
                            "key": "Accept",
                            "value": "application/json"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/v2/locations/custom-attribute-definitions/:key?version=<integer>",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "v2",
                            "locations",
                            "custom-attribute-definitions",
                            ":key"
                          ],
                          "query": [
                            {
                              "description": "The current version of the custom attribute definition, which is used for strongly consistent\nreads to guarantee that you receive the most up-to-date data. When included in the request,\nSquare returns the specified version or a higher version if one exists. If the specified version\nis higher than the current version, Square returns a `BAD_REQUEST` error.",
                              "key": "version",
                              "value": "<integer>"
                            }
                          ],
                          "variable": [
                            {
                              "id": "0b23b405-d7b3-46d2-a46d-808b9b89bf24",
                              "key": "key",
                              "value": "<string>",
                              "description": "(Required) The key of the custom attribute definition to retrieve. If the requesting application\nis not the definition owner, you must use the qualified key."
                            }
                          ]
                        },
                        "description": "Retrieves a location-related [custom attribute definition](entity:CustomAttributeDefinition) from a Square seller account.\nTo retrieve a custom attribute definition created by another application, the `visibility`\nsetting must be `VISIBILITY_READ_ONLY` or `VISIBILITY_READ_WRITE_VALUES`."
                      },
                      "response": [
                        {
                          "id": "31905f5c-99ac-4514-9e2b-228aed1f1d03",
                          "name": "Success",
                          "originalRequest": {
                            "method": "GET",
                            "header": [
                              {
                                "key": "Accept",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: oauth2",
                                "key": "Authorization",
                                "value": "<token>"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/v2/locations/custom-attribute-definitions/:key?version=<integer>",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "v2",
                                "locations",
                                "custom-attribute-definitions",
                                ":key"
                              ],
                              "query": [
                                {
                                  "description": "The current version of the custom attribute definition, which is used for strongly consistent\nreads to guarantee that you receive the most up-to-date data. When included in the request,\nSquare returns the specified version or a higher version if one exists. If the specified version\nis higher than the current version, Square returns a `BAD_REQUEST` error.",
                                  "key": "version",
                                  "value": "<integer>"
                                }
                              ],
                              "variable": [
                                {
                                  "key": "key"
                                }
                              ]
                            }
                          },
                          "status": "OK",
                          "code": 200,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "null",
                          "createdAt": "2026-07-28T03:03:59.000Z",
                          "updatedAt": "2026-07-28T03:03:59.000Z",
                          "uid": "35240-31905f5c-99ac-4514-9e2b-228aed1f1d03"
                        }
                      ],
                      "createdAt": "2026-07-28T03:03:59.000Z",
                      "updatedAt": "2026-07-28T03:03:59.000Z",
                      "uid": "35240-055b0bed-3d1f-4082-975f-90f17e8db9df"
                    },
                    {
                      "name": "Square Update Location Custom Attribute Definition",
                      "id": "0fd2a03b-c067-4ce7-ae2e-303852eb0fa8",
                      "protocolProfileBehavior": {
                        "disableBodyPruning": true
                      },
                      "request": {
                        "auth": {
                          "type": "oauth2",
                          "oauth2": [
                            {
                              "key": "scope",
                              "value": "ADDON_CONFIGURATIONS_READ ADDON_CONFIGURATIONS_WRITE APPOINTMENTS_ALL_READ APPOINTMENTS_ALL_WRITE APPOINTMENTS_BUSINESS_SETTINGS_READ APPOINTMENTS_READ APPOINTMENTS_WRITE BANK_ACCOUNTS_READ CASH_DRAWER_READ CHANNELS_CREATE CHANNELS_READ CHANNELS_UPDATE CUSTOMERS_READ CUSTOMERS_WRITE DEVICES_READ DEVICE_CREDENTIAL_MANAGEMENT DISPUTES_READ DISPUTES_WRITE EMPLOYEES_READ EMPLOYEES_WRITE GIFTCARDS_READ GIFTCARDS_WRITE INVENTORY_READ INVENTORY_WRITE INVOICES_READ INVOICES_WRITE ITEMS_READ ITEMS_WRITE LOYALTY_READ LOYALTY_WRITE MERCHANT_PROFILE_READ MERCHANT_PROFILE_WRITE ONLINE_STORE_SITE_READ ONLINE_STORE_SNIPPETS_READ ONLINE_STORE_SNIPPETS_WRITE ORDERS_READ ORDERS_WRITE PAYMENTS_READ PAYMENTS_WRITE PAYMENTS_WRITE_ADDITIONAL_RECIPIENTS PAYMENTS_WRITE_IN_PERSON PAYMENTS_WRITE_SHARED_ONFILE PAYOUTS_READ PERMISSION_SETS_READ PERMISSION_SETS_WRITE RESERVATIONS_READ RESERVATIONS_WRITE RESTAURANT_CHECKS_READ SETTLEMENTS_READ SUBSCRIPTIONS_READ SUBSCRIPTIONS_WRITE TIMECARDS_READ TIMECARDS_SETTINGS_READ TIMECARDS_SETTINGS_WRITE TIMECARDS_WRITE VENDOR_READ VENDOR_WRITE",
                              "type": "string"
                            },
                            {
                              "key": "accessTokenUrl",
                              "value": "https://connect.squareup.com/oauth2/token",
                              "type": "string"
                            },
                            {
                              "key": "authUrl",
                              "value": "https://connect.squareup.com/oauth2/authorize",
                              "type": "string"
                            },
                            {
                              "key": "grant_type",
                              "value": "authorization_code",
                              "type": "string"
                            }
                          ]
                        },
                        "method": "PUT",
                        "header": [
                          {
                            "key": "Content-Type",
                            "value": "application/json"
                          },
                          {
                            "key": "Accept",
                            "value": "application/json"
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "{\n  \"custom_attribute_definition\": {\n    \"key\": \"GnVr_Dqr:NFm-XY15dlosct82DuUjJbiAnVHT6dtLyL_YErZRe6vkoNoW9OtHV97cMH\",\n    \"schema\": {},\n    \"name\": \"<string>\",\n    \"description\": \"<string>\",\n    \"visibility\": \"VISIBILITY_HIDDEN\",\n    \"version\": \"<integer>\",\n    \"updated_at\": \"<string>\",\n    \"created_at\": \"<string>\"\n  },\n  \"idempotency_key\": \"<string>\"\n}",
                          "options": {
                            "raw": {
                              "headerFamily": "json",
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "{{baseUrl}}/v2/locations/custom-attribute-definitions/:key",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "v2",
                            "locations",
                            "custom-attribute-definitions",
                            ":key"
                          ],
                          "variable": [
                            {
                              "id": "8409b2b9-ad98-4448-9365-e7b9022663b4",
                              "key": "key",
                              "value": "<string>",
                              "description": "(Required) The key of the custom attribute definition to update."
                            }
                          ]
                        },
                        "description": "Updates a location-related [custom attribute definition](entity:CustomAttributeDefinition) for a Square seller account.\nUse this endpoint to update the following fields: `name`, `description`, `visibility`, or the\n`schema` for a `Selection` data type.\nOnly the definition owner can update a custom attribute definition."
                      },
                      "response": [
                        {
                          "id": "cb0b1242-2b77-4f21-ba15-857c59030609",
                          "name": "Success",
                          "originalRequest": {
                            "method": "PUT",
                            "header": [
                              {
                                "key": "Content-Type",
                                "value": "application/json"
                              },
                              {
                                "key": "Accept",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: oauth2",
                                "key": "Authorization",
                                "value": "<token>"
                              }
                            ],
                            "body": {
                              "mode": "raw",
                              "raw": "{\n  \"custom_attribute_definition\": {\n    \"key\": \"GnVr_Dqr:NFm-XY15dlosct82DuUjJbiAnVHT6dtLyL_YErZRe6vkoNoW9OtHV97cMH\",\n    \"schema\": {},\n    \"name\": \"<string>\",\n    \"description\": \"<string>\",\n    \"visibility\": \"VISIBILITY_HIDDEN\",\n    \"version\": \"<integer>\",\n    \"updated_at\": \"<string>\",\n    \"created_at\": \"<string>\"\n  },\n  \"idempotency_key\": \"<string>\"\n}",
                              "options": {
                                "raw": {
                                  "headerFamily": "json",
                                  "language": "json"
                                }
                              }
                            },
                            "url": {
                              "raw": "{{baseUrl}}/v2/locations/custom-attribute-definitions/:key",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "v2",
                                "locations",
                                "custom-attribute-definitions",
                                ":key"
                              ],
                              "variable": [
                                {
                                  "key": "key"
                                }
                              ]
                            }
                          },
                          "status": "OK",
                          "code": 200,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "null",
                          "createdAt": "2026-07-28T03:03:59.000Z",
                          "updatedAt": "2026-07-28T03:03:59.000Z",
                          "uid": "35240-cb0b1242-2b77-4f21-ba15-857c59030609"
                        }
                      ],
                      "createdAt": "2026-07-28T03:03:59.000Z",
                      "updatedAt": "2026-07-28T03:03:59.000Z",
                      "uid": "35240-0fd2a03b-c067-4ce7-ae2e-303852eb0fa8"
                    }
                  ],
                  "id": "0a6f9d00-4e8d-486d-afc6-6f92399579ff",
                  "createdAt": "2026-07-28T03:03:59.000Z",
                  "updatedAt": "2026-07-28T03:03:59.000Z",
                  "uid": "35240-0a6f9d00-4e8d-486d-afc6-6f92399579ff"
                },
                {
                  "name": "Square List Location Custom Attribute Definitions",
                  "id": "6b4c313c-92c6-42ac-a6ba-4b2e4f7cf7aa",
                  "protocolProfileBehavior": {
                    "disableBodyPruning": true
                  },
                  "request": {
                    "auth": {
                      "type": "oauth2",
                      "oauth2": [
                        {
                          "key": "scope",
                          "value": "ADDON_CONFIGURATIONS_READ ADDON_CONFIGURATIONS_WRITE APPOINTMENTS_ALL_READ APPOINTMENTS_ALL_WRITE APPOINTMENTS_BUSINESS_SETTINGS_READ APPOINTMENTS_READ APPOINTMENTS_WRITE BANK_ACCOUNTS_READ CASH_DRAWER_READ CHANNELS_CREATE CHANNELS_READ CHANNELS_UPDATE CUSTOMERS_READ CUSTOMERS_WRITE DEVICES_READ DEVICE_CREDENTIAL_MANAGEMENT DISPUTES_READ DISPUTES_WRITE EMPLOYEES_READ EMPLOYEES_WRITE GIFTCARDS_READ GIFTCARDS_WRITE INVENTORY_READ INVENTORY_WRITE INVOICES_READ INVOICES_WRITE ITEMS_READ ITEMS_WRITE LOYALTY_READ LOYALTY_WRITE MERCHANT_PROFILE_READ MERCHANT_PROFILE_WRITE ONLINE_STORE_SITE_READ ONLINE_STORE_SNIPPETS_READ ONLINE_STORE_SNIPPETS_WRITE ORDERS_READ ORDERS_WRITE PAYMENTS_READ PAYMENTS_WRITE PAYMENTS_WRITE_ADDITIONAL_RECIPIENTS PAYMENTS_WRITE_IN_PERSON PAYMENTS_WRITE_SHARED_ONFILE PAYOUTS_READ PERMISSION_SETS_READ PERMISSION_SETS_WRITE RESERVATIONS_READ RESERVATIONS_WRITE RESTAURANT_CHECKS_READ SETTLEMENTS_READ SUBSCRIPTIONS_READ SUBSCRIPTIONS_WRITE TIMECARDS_READ TIMECARDS_SETTINGS_READ TIMECARDS_SETTINGS_WRITE TIMECARDS_WRITE VENDOR_READ VENDOR_WRITE",
                          "type": "string"
                        },
                        {
                          "key": "accessTokenUrl",
                          "value": "https://connect.squareup.com/oauth2/token",
                          "type": "string"
                        },
                        {
                          "key": "authUrl",
                          "value": "https://connect.squareup.com/oauth2/authorize",
                          "type": "string"
                        },
                        {
                          "key": "grant_type",
                          "value": "authorization_code",
                          "type": "string"
                        }
                      ]
                    },
                    "method": "GET",
                    "header": [
                      {
                        "key": "Accept",
                        "value": "application/json"
                      }
                    ],
                    "url": {
                      "raw": "{{baseUrl}}/v2/locations/custom-attribute-definitions?visibility_filter=ALL&limit=<integer>&cursor=<string>",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "v2",
                        "locations",
                        "custom-attribute-definitions"
                      ],
                      "query": [
                        {
                          "description": "Filters the `CustomAttributeDefinition` results by their `visibility` values.",
                          "key": "visibility_filter",
                          "value": "ALL"
                        },
                        {
                          "description": "The maximum number of results to return in a single paged response. This limit is advisory.\nThe response might contain more or fewer results. The minimum value is 1 and the maximum value is 100.\nThe default value is 20. For more information, see [Pagination](https://developer.squareup.com/docs/build-basics/common-api-patterns/pagination).",
                          "key": "limit",
                          "value": "<integer>"
                        },
                        {
                          "description": "The cursor returned in the paged response from the previous call to this endpoint.\nProvide this cursor to retrieve the next page of results for your original request.\nFor more information, see [Pagination](https://developer.squareup.com/docs/build-basics/common-api-patterns/pagination).",
                          "key": "cursor",
                          "value": "<string>"
                        }
                      ]
                    },
                    "description": "Lists the location-related [custom attribute definitions](entity:CustomAttributeDefinition) that belong to a Square seller account.\nWhen all response pages are retrieved, the results include all custom attribute definitions\nthat are visible to the requesting application, including those that are created by other\napplications and set to `VISIBILITY_READ_ONLY` or `VISIBILITY_READ_WRITE_VALUES`."
                  },
                  "response": [
                    {
                      "id": "d0a667b5-62c7-449f-9e73-f16d7659c2cd",
                      "name": "Success",
                      "originalRequest": {
                        "method": "GET",
                        "header": [
                          {
                            "key": "Accept",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: oauth2",
                            "key": "Authorization",
                            "value": "<token>"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/v2/locations/custom-attribute-definitions?visibility_filter=ALL&limit=<integer>&cursor=<string>",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "v2",
                            "locations",
                            "custom-attribute-definitions"
                          ],
                          "query": [
                            {
                              "description": "Filters the `CustomAttributeDefinition` results by their `visibility` values.",
                              "key": "visibility_filter",
                              "value": "ALL"
                            },
                            {
                              "description": "The maximum number of results to return in a single paged response. This limit is advisory.\nThe response might contain more or fewer results. The minimum value is 1 and the maximum value is 100.\nThe default value is 20. For more information, see [Pagination](https://developer.squareup.com/docs/build-basics/common-api-patterns/pagination).",
                              "key": "limit",
                              "value": "<integer>"
                            },
                            {
                              "description": "The cursor returned in the paged response from the previous call to this endpoint.\nProvide this cursor to retrieve the next page of results for your original request.\nFor more information, see [Pagination](https://developer.squareup.com/docs/build-basics/common-api-patterns/pagination).",
                              "key": "cursor",
                              "value": "<string>"
                            }
                          ]
                        }
                      },
                      "status": "OK",
                      "code": 200,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "null",
                      "createdAt": "2026-07-28T03:03:59.000Z",
                      "updatedAt": "2026-07-28T03:03:59.000Z",
                      "uid": "35240-d0a667b5-62c7-449f-9e73-f16d7659c2cd"
                    }
                  ],
                  "createdAt": "2026-07-28T03:03:59.000Z",
                  "updatedAt": "2026-07-28T03:03:59.000Z",
                  "uid": "35240-6b4c313c-92c6-42ac-a6ba-4b2e4f7cf7aa"
                },
                {
                  "name": "Square Create Location Custom Attribute Definition",
                  "id": "0259bbd0-2419-4017-a3e4-445073e3af01",
                  "protocolProfileBehavior": {
                    "disableBodyPruning": true
                  },
                  "request": {
                    "auth": {
                      "type": "oauth2",
                      "oauth2": [
                        {
                          "key": "scope",
                          "value": "ADDON_CONFIGURATIONS_READ ADDON_CONFIGURATIONS_WRITE APPOINTMENTS_ALL_READ APPOINTMENTS_ALL_WRITE APPOINTMENTS_BUSINESS_SETTINGS_READ APPOINTMENTS_READ APPOINTMENTS_WRITE BANK_ACCOUNTS_READ CASH_DRAWER_READ CHANNELS_CREATE CHANNELS_READ CHANNELS_UPDATE CUSTOMERS_READ CUSTOMERS_WRITE DEVICES_READ DEVICE_CREDENTIAL_MANAGEMENT DISPUTES_READ DISPUTES_WRITE EMPLOYEES_READ EMPLOYEES_WRITE GIFTCARDS_READ GIFTCARDS_WRITE INVENTORY_READ INVENTORY_WRITE INVOICES_READ INVOICES_WRITE ITEMS_READ ITEMS_WRITE LOYALTY_READ LOYALTY_WRITE MERCHANT_PROFILE_READ MERCHANT_PROFILE_WRITE ONLINE_STORE_SITE_READ ONLINE_STORE_SNIPPETS_READ ONLINE_STORE_SNIPPETS_WRITE ORDERS_READ ORDERS_WRITE PAYMENTS_READ PAYMENTS_WRITE PAYMENTS_WRITE_ADDITIONAL_RECIPIENTS PAYMENTS_WRITE_IN_PERSON PAYMENTS_WRITE_SHARED_ONFILE PAYOUTS_READ PERMISSION_SETS_READ PERMISSION_SETS_WRITE RESERVATIONS_READ RESERVATIONS_WRITE RESTAURANT_CHECKS_READ SETTLEMENTS_READ SUBSCRIPTIONS_READ SUBSCRIPTIONS_WRITE TIMECARDS_READ TIMECARDS_SETTINGS_READ TIMECARDS_SETTINGS_WRITE TIMECARDS_WRITE VENDOR_READ VENDOR_WRITE",
                          "type": "string"
                        },
                        {
                          "key": "accessTokenUrl",
                          "value": "https://connect.squareup.com/oauth2/token",
                          "type": "string"
                        },
                        {
                          "key": "authUrl",
                          "value": "https://connect.squareup.com/oauth2/authorize",
                          "type": "string"
                        },
                        {
                          "key": "grant_type",
                          "value": "authorization_code",
                          "type": "string"
                        }
                      ]
                    },
                    "method": "POST",
                    "header": [
                      {
                        "key": "Content-Type",
                        "value": "application/json"
                      },
                      {
                        "key": "Accept",
                        "value": "application/json"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "null",
                      "options": {
                        "raw": {
                          "headerFamily": "json",
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "{{baseUrl}}/v2/locations/custom-attribute-definitions",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "v2",
                        "locations",
                        "custom-attribute-definitions"
                      ]
                    },
                    "description": "Creates a location-related [custom attribute definition](entity:CustomAttributeDefinition) for a Square seller account.\nUse this endpoint to define a custom attribute that can be associated with locations.\nA custom attribute definition specifies the `key`, `visibility`, `schema`, and other properties\nfor a custom attribute. After the definition is created, you can call\n[UpsertLocationCustomAttribute](api-endpoint:LocationCustomAttributes-UpsertLocationCustomAttribute) or\n[BulkUpsertLocationCustomAttributes](api-endpoint:LocationCustomAttributes-BulkUpsertLocationCustomAttributes)\nto set the custom attribute for locations."
                  },
                  "response": [
                    {
                      "id": "cef27f72-096e-47ef-be3e-a6d557fe249b",
                      "name": "Success",
                      "originalRequest": {
                        "method": "POST",
                        "header": [
                          {
                            "key": "Content-Type",
                            "value": "application/json"
                          },
                          {
                            "key": "Accept",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: oauth2",
                            "key": "Authorization",
                            "value": "<token>"
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "null",
                          "options": {
                            "raw": {
                              "headerFamily": "json",
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "{{baseUrl}}/v2/locations/custom-attribute-definitions",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "v2",
                            "locations",
                            "custom-attribute-definitions"
                          ]
                        }
                      },
                      "status": "OK",
                      "code": 200,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "null",
                      "createdAt": "2026-07-28T03:03:59.000Z",
                      "updatedAt": "2026-07-28T03:03:59.000Z",
                      "uid": "35240-cef27f72-096e-47ef-be3e-a6d557fe249b"
                    }
                  ],
                  "createdAt": "2026-07-28T03:03:59.000Z",
                  "updatedAt": "2026-07-28T03:03:59.000Z",
                  "uid": "35240-0259bbd0-2419-4017-a3e4-445073e3af01"
                }
              ],
              "id": "38c8cf26-105d-4263-898b-eceaff5767bd",
              "createdAt": "2026-07-28T03:03:59.000Z",
              "updatedAt": "2026-07-28T03:03:59.000Z",
              "uid": "35240-38c8cf26-105d-4263-898b-eceaff5767bd"
            },
            {
              "name": "custom-attributes",
              "item": [
                {
                  "name": "bulk-delete",
                  "item": [
                    {
                      "name": "Square Bulk Delete Location Custom Attributes",
                      "id": "0b4772f4-0675-4d3e-a906-f003d5bb20b2",
                      "protocolProfileBehavior": {
                        "disableBodyPruning": true
                      },
                      "request": {
                        "auth": {
                          "type": "oauth2",
                          "oauth2": [
                            {
                              "key": "scope",
                              "value": "ADDON_CONFIGURATIONS_READ ADDON_CONFIGURATIONS_WRITE APPOINTMENTS_ALL_READ APPOINTMENTS_ALL_WRITE APPOINTMENTS_BUSINESS_SETTINGS_READ APPOINTMENTS_READ APPOINTMENTS_WRITE BANK_ACCOUNTS_READ CASH_DRAWER_READ CHANNELS_CREATE CHANNELS_READ CHANNELS_UPDATE CUSTOMERS_READ CUSTOMERS_WRITE DEVICES_READ DEVICE_CREDENTIAL_MANAGEMENT DISPUTES_READ DISPUTES_WRITE EMPLOYEES_READ EMPLOYEES_WRITE GIFTCARDS_READ GIFTCARDS_WRITE INVENTORY_READ INVENTORY_WRITE INVOICES_READ INVOICES_WRITE ITEMS_READ ITEMS_WRITE LOYALTY_READ LOYALTY_WRITE MERCHANT_PROFILE_READ MERCHANT_PROFILE_WRITE ONLINE_STORE_SITE_READ ONLINE_STORE_SNIPPETS_READ ONLINE_STORE_SNIPPETS_WRITE ORDERS_READ ORDERS_WRITE PAYMENTS_READ PAYMENTS_WRITE PAYMENTS_WRITE_ADDITIONAL_RECIPIENTS PAYMENTS_WRITE_IN_PERSON PAYMENTS_WRITE_SHARED_ONFILE PAYOUTS_READ PERMISSION_SETS_READ PERMISSION_SETS_WRITE RESERVATIONS_READ RESERVATIONS_WRITE RESTAURANT_CHECKS_READ SETTLEMENTS_READ SUBSCRIPTIONS_READ SUBSCRIPTIONS_WRITE TIMECARDS_READ TIMECARDS_SETTINGS_READ TIMECARDS_SETTINGS_WRITE TIMECARDS_WRITE VENDOR_READ VENDOR_WRITE",
                              "type": "string"
                            },
                            {
                              "key": "accessTokenUrl",
                              "value": "https://connect.squareup.com/oauth2/token",
                              "type": "string"
                            },
                            {
                              "key": "authUrl",
                              "value": "https://connect.squareup.com/oauth2/authorize",
                              "type": "string"
                            },
                            {
                              "key": "grant_type",
                              "value": "authorization_code",
                              "type": "string"
                            }
                          ]
                        },
                        "method": "POST",
                        "header": [
                          {
                            "key": "Content-Type",
                            "value": "application/json"
                          },
                          {
                            "key": "Accept",
                            "value": "application/json"
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "{\n  \"values\": {\n    \"in_9\": {\n      \"key\": \"Sir11Eu6YuQON7Q6eEw-1Q5hELl3ankWgwRojXOp2qD7-x_3HcQGGMT8SIQ4\"\n    },\n    \"pariatur_c_\": {\n      \"key\": \"TwmYBY2uQb1jCxmDTtr-TU\"\n    },\n    \"reprehenderit3_\": {\n      \"key\": \"Q-:dOaA0fSVeiarL\"\n    }\n  }\n}",
                          "options": {
                            "raw": {
                              "headerFamily": "json",
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "{{baseUrl}}/v2/locations/custom-attributes/bulk-delete",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "v2",
                            "locations",
                            "custom-attributes",
                            "bulk-delete"
                          ]
                        },
                        "description": "Deletes [custom attributes](entity:CustomAttribute) for locations as a bulk operation.\nTo delete a custom attribute owned by another application, the `visibility` setting must be\n`VISIBILITY_READ_WRITE_VALUES`."
                      },
                      "response": [
                        {
                          "id": "729a41c9-374f-4016-8efb-e71f770509de",
                          "name": "Success",
                          "originalRequest": {
                            "method": "POST",
                            "header": [
                              {
                                "key": "Content-Type",
                                "value": "application/json"
                              },
                              {
                                "key": "Accept",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: oauth2",
                                "key": "Authorization",
                                "value": "<token>"
                              }
                            ],
                            "body": {
                              "mode": "raw",
                              "raw": "{\n  \"values\": {\n    \"in_9\": {\n      \"key\": \"Sir11Eu6YuQON7Q6eEw-1Q5hELl3ankWgwRojXOp2qD7-x_3HcQGGMT8SIQ4\"\n    },\n    \"pariatur_c_\": {\n      \"key\": \"TwmYBY2uQb1jCxmDTtr-TU\"\n    },\n    \"reprehenderit3_\": {\n      \"key\": \"Q-:dOaA0fSVeiarL\"\n    }\n  }\n}",
                              "options": {
                                "raw": {
                                  "headerFamily": "json",
                                  "language": "json"
                                }
                              }
                            },
                            "url": {
                              "raw": "{{baseUrl}}/v2/locations/custom-attributes/bulk-delete",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "v2",
                                "locations",
                                "custom-attributes",
                                "bulk-delete"
                              ]
                            }
                          },
                          "status": "OK",
                          "code": 200,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"values\": {\n    \"adipisicing0bf\": {\n      \"location_id\": \"<string>\",\n      \"errors\": [\n        {\n          \"category\": \"MERCHANT_SUBSCRIPTION_ERROR\",\n          \"code\": \"CONFLICT\",\n          \"detail\": \"<string>\",\n          \"field\": \"<string>\"\n        }\n      ]\n    }\n  },\n  \"errors\": [\n    {\n      \"category\": \"REFUND_ERROR\",\n      \"code\": \"EXPECTED_OBJECT\",\n      \"detail\": \"<string>\",\n      \"field\": \"<string>\"\n    }\n  ]\n}",
                          "createdAt": "2026-07-28T03:03:59.000Z",
                          "updatedAt": "2026-07-28T03:03:59.000Z",
                          "uid": "35240-729a41c9-374f-4016-8efb-e71f770509de"
                        }
                      ],
                      "createdAt": "2026-07-28T03:03:59.000Z",
                      "updatedAt": "2026-07-28T03:03:59.000Z",
                      "uid": "35240-0b4772f4-0675-4d3e-a906-f003d5bb20b2"
                    }
                  ],
                  "id": "020e9ff3-fc1b-4e9b-9712-584095e5e71c",
                  "createdAt": "2026-07-28T03:03:59.000Z",
                  "updatedAt": "2026-07-28T03:03:59.000Z",
                  "uid": "35240-020e9ff3-fc1b-4e9b-9712-584095e5e71c"
                },
                {
                  "name": "bulk-upsert",
                  "item": [
                    {
                      "name": "Square Bulk Upsert Location Custom Attributes",
                      "id": "6c7be761-a204-4012-b796-1fed590e89aa",
                      "protocolProfileBehavior": {
                        "disableBodyPruning": true
                      },
                      "request": {
                        "auth": {
                          "type": "oauth2",
                          "oauth2": [
                            {
                              "key": "scope",
                              "value": "ADDON_CONFIGURATIONS_READ ADDON_CONFIGURATIONS_WRITE APPOINTMENTS_ALL_READ APPOINTMENTS_ALL_WRITE APPOINTMENTS_BUSINESS_SETTINGS_READ APPOINTMENTS_READ APPOINTMENTS_WRITE BANK_ACCOUNTS_READ CASH_DRAWER_READ CHANNELS_CREATE CHANNELS_READ CHANNELS_UPDATE CUSTOMERS_READ CUSTOMERS_WRITE DEVICES_READ DEVICE_CREDENTIAL_MANAGEMENT DISPUTES_READ DISPUTES_WRITE EMPLOYEES_READ EMPLOYEES_WRITE GIFTCARDS_READ GIFTCARDS_WRITE INVENTORY_READ INVENTORY_WRITE INVOICES_READ INVOICES_WRITE ITEMS_READ ITEMS_WRITE LOYALTY_READ LOYALTY_WRITE MERCHANT_PROFILE_READ MERCHANT_PROFILE_WRITE ONLINE_STORE_SITE_READ ONLINE_STORE_SNIPPETS_READ ONLINE_STORE_SNIPPETS_WRITE ORDERS_READ ORDERS_WRITE PAYMENTS_READ PAYMENTS_WRITE PAYMENTS_WRITE_ADDITIONAL_RECIPIENTS PAYMENTS_WRITE_IN_PERSON PAYMENTS_WRITE_SHARED_ONFILE PAYOUTS_READ PERMISSION_SETS_READ PERMISSION_SETS_WRITE RESERVATIONS_READ RESERVATIONS_WRITE RESTAURANT_CHECKS_READ SETTLEMENTS_READ SUBSCRIPTIONS_READ SUBSCRIPTIONS_WRITE TIMECARDS_READ TIMECARDS_SETTINGS_READ TIMECARDS_SETTINGS_WRITE TIMECARDS_WRITE VENDOR_READ VENDOR_WRITE",
                              "type": "string"
                            },
                            {
                              "key": "accessTokenUrl",
                              "value": "https://connect.squareup.com/oauth2/token",
                              "type": "string"
                            },
                            {
                              "key": "authUrl",
                              "value": "https://connect.squareup.com/oauth2/authorize",
                              "type": "string"
                            },
                            {
                              "key": "grant_type",
                              "value": "authorization_code",
                              "type": "string"
                            }
                          ]
                        },
                        "method": "POST",
                        "header": [
                          {
                            "key": "Content-Type",
                            "value": "application/json"
                          },
                          {
                            "key": "Accept",
                            "value": "application/json"
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "{\n  \"values\": {\n    \"do_0e\": {\n      \"location_id\": \"<string>\",\n      \"custom_attribute\": {\n        \"key\": \"8pPYW:x9XonVjjXeEI\",\n        \"value\": {\n          \"description\": \"The value assigned to the custom attribute. It is validated against the custom\\nattribute definition's schema on write operations. For more information about custom\\nattribute values,\\nsee [Custom Attributes Overview](https://developer.squareup.com/docs/devtools/customattributes/overview).\",\n          \"nullable\": true\n        },\n        \"version\": \"<integer>\",\n        \"visibility\": \"VISIBILITY_READ_WRITE_VALUES\",\n        \"definition\": {\n          \"key\": \"2-BjFsJ_-M:3RESmF8aBz.Rd36tWF7sAx\",\n          \"schema\": {},\n          \"name\": \"<string>\",\n          \"description\": \"<string>\",\n          \"visibility\": \"VISIBILITY_READ_ONLY\",\n          \"version\": \"<integer>\",\n          \"updated_at\": \"<string>\",\n          \"created_at\": \"<string>\"\n        },\n        \"updated_at\": \"<string>\",\n        \"created_at\": \"<string>\"\n      },\n      \"idempotency_key\": \"<string>\"\n    },\n    \"officia__4a\": {\n      \"location_id\": \"<string>\",\n      \"custom_attribute\": {\n        \"key\": \"NbrYYVwQ6Lo9M6K37cXK3LKYGITc3S\",\n        \"value\": {\n          \"description\": \"The value assigned to the custom attribute. It is validated against the custom\\nattribute definition's schema on write operations. For more information about custom\\nattribute values,\\nsee [Custom Attributes Overview](https://developer.squareup.com/docs/devtools/customattributes/overview).\",\n          \"nullable\": true\n        },\n        \"version\": \"<integer>\",\n        \"visibility\": \"VISIBILITY_READ_WRITE_VALUES\",\n        \"definition\": {\n          \"key\": \"ZnrPb5TXpgMCeAvc3jrMSW55kpgC3dPP3iwRK\",\n          \"schema\": {},\n          \"name\": \"<string>\",\n          \"description\": \"<string>\",\n          \"visibility\": \"VISIBILITY_READ_WRITE_VALUES\",\n          \"version\": \"<integer>\",\n          \"updated_at\": \"<string>\",\n          \"created_at\": \"<string>\"\n        },\n        \"updated_at\": \"<string>\",\n        \"created_at\": \"<string>\"\n      },\n      \"idempotency_key\": \"<string>\"\n    }\n  }\n}",
                          "options": {
                            "raw": {
                              "headerFamily": "json",
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "{{baseUrl}}/v2/locations/custom-attributes/bulk-upsert",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "v2",
                            "locations",
                            "custom-attributes",
                            "bulk-upsert"
                          ]
                        },
                        "description": "Creates or updates [custom attributes](entity:CustomAttribute) for locations as a bulk operation.\nUse this endpoint to set the value of one or more custom attributes for one or more locations.\nA custom attribute is based on a custom attribute definition in a Square seller account, which is\ncreated using the [CreateLocationCustomAttributeDefinition](api-endpoint:LocationCustomAttributes-CreateLocationCustomAttributeDefinition) endpoint.\nThis `BulkUpsertLocationCustomAttributes` endpoint accepts a map of 1 to 25 individual upsert\nrequests and returns a map of individual upsert responses. Each upsert request has a unique ID\nand provides a location ID and custom attribute. Each upsert response is returned with the ID\nof the corresponding request.\nTo create or update a custom attribute owned by another application, the `visibility` setting\nmust be `VISIBILITY_READ_WRITE_VALUES`."
                      },
                      "response": [
                        {
                          "id": "345d03e8-9198-4212-8a36-cd15e6906388",
                          "name": "Success",
                          "originalRequest": {
                            "method": "POST",
                            "header": [
                              {
                                "key": "Content-Type",
                                "value": "application/json"
                              },
                              {
                                "key": "Accept",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: oauth2",
                                "key": "Authorization",
                                "value": "<token>"
                              }
                            ],
                            "body": {
                              "mode": "raw",
                              "raw": "{\n  \"values\": {\n    \"do_0e\": {\n      \"location_id\": \"<string>\",\n      \"custom_attribute\": {\n        \"key\": \"8pPYW:x9XonVjjXeEI\",\n        \"value\": {\n          \"description\": \"The value assigned to the custom attribute. It is validated against the custom\\nattribute definition's schema on write operations. For more information about custom\\nattribute values,\\nsee [Custom Attributes Overview](https://developer.squareup.com/docs/devtools/customattributes/overview).\",\n          \"nullable\": true\n        },\n        \"version\": \"<integer>\",\n        \"visibility\": \"VISIBILITY_READ_WRITE_VALUES\",\n        \"definition\": {\n          \"key\": \"2-BjFsJ_-M:3RESmF8aBz.Rd36tWF7sAx\",\n          \"schema\": {},\n          \"name\": \"<string>\",\n          \"description\": \"<string>\",\n          \"visibility\": \"VISIBILITY_READ_ONLY\",\n          \"version\": \"<integer>\",\n          \"updated_at\": \"<string>\",\n          \"created_at\": \"<string>\"\n        },\n        \"updated_at\": \"<string>\",\n        \"created_at\": \"<string>\"\n      },\n      \"idempotency_key\": \"<string>\"\n    },\n    \"officia__4a\": {\n      \"location_id\": \"<string>\",\n      \"custom_attribute\": {\n        \"key\": \"NbrYYVwQ6Lo9M6K37cXK3LKYGITc3S\",\n        \"value\": {\n          \"description\": \"The value assigned to the custom attribute. It is validated against the custom\\nattribute definition's schema on write operations. For more information about custom\\nattribute values,\\nsee [Custom Attributes Overview](https://developer.squareup.com/docs/devtools/customattributes/overview).\",\n          \"nullable\": true\n        },\n        \"version\": \"<integer>\",\n        \"visibility\": \"VISIBILITY_READ_WRITE_VALUES\",\n        \"definition\": {\n          \"key\": \"ZnrPb5TXpgMCeAvc3jrMSW55kpgC3dPP3iwRK\",\n          \"schema\": {},\n          \"name\": \"<string>\",\n          \"description\": \"<string>\",\n          \"visibility\": \"VISIBILITY_READ_WRITE_VALUES\",\n          \"version\": \"<integer>\",\n          \"updated_at\": \"<string>\",\n          \"created_at\": \"<string>\"\n        },\n        \"updated_at\": \"<string>\",\n        \"created_at\": \"<string>\"\n      },\n      \"idempotency_key\": \"<string>\"\n    }\n  }\n}",
                              "options": {
                                "raw": {
                                  "headerFamily": "json",
                                  "language": "json"
                                }
                              }
                            },
                            "url": {
                              "raw": "{{baseUrl}}/v2/locations/custom-attributes/bulk-upsert",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "v2",
                                "locations",
                                "custom-attributes",
                                "bulk-upsert"
                              ]
                            }
                          },
                          "status": "OK",
                          "code": 200,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"values\": {\n    \"ullamco5c8\": {\n      \"location_id\": \"<string>\",\n      \"custom_attribute\": {\n        \"key\": \"Ytdf3F9cvhy72vyZTu\",\n        \"value\": {\n          \"description\": \"The value assigned to the custom attribute. It is validated against the custom\\nattribute definition's schema on write operations. For more information about custom\\nattribute values,\\nsee [Custom Attributes Overview](https://developer.squareup.com/docs/devtools/customattributes/overview).\",\n          \"nullable\": true\n        },\n        \"version\": \"<integer>\",\n        \"visibility\": \"VISIBILITY_READ_ONLY\",\n        \"definition\": {\n          \"key\": \"34xlHedpRx:hbkH-EEMIIp5U_3dSBpuuF7EbKdgwVkYCewL1ByolwpNX\",\n          \"schema\": {},\n          \"name\": \"<string>\",\n          \"description\": \"<string>\",\n          \"visibility\": \"VISIBILITY_HIDDEN\",\n          \"version\": \"<integer>\",\n          \"updated_at\": \"<string>\",\n          \"created_at\": \"<string>\"\n        },\n        \"updated_at\": \"<string>\",\n        \"created_at\": \"<string>\"\n      },\n      \"errors\": [\n        {\n          \"category\": \"API_ERROR\",\n          \"code\": \"EXPECTED_FLOAT\",\n          \"detail\": \"<string>\",\n          \"field\": \"<string>\"\n        }\n      ]\n    }\n  },\n  \"errors\": [\n    {\n      \"category\": \"MERCHANT_SUBSCRIPTION_ERROR\",\n      \"code\": \"NOT_IMPLEMENTED\",\n      \"detail\": \"<string>\",\n      \"field\": \"<string>\"\n    }\n  ]\n}",
                          "createdAt": "2026-07-28T03:03:59.000Z",
                          "updatedAt": "2026-07-28T03:03:59.000Z",
                          "uid": "35240-345d03e8-9198-4212-8a36-cd15e6906388"
                        }
                      ],
                      "createdAt": "2026-07-28T03:03:59.000Z",
                      "updatedAt": "2026-07-28T03:03:59.000Z",
                      "uid": "35240-6c7be761-a204-4012-b796-1fed590e89aa"
                    }
                  ],
                  "id": "18c8b67b-7d03-4b3e-bcbc-970ae6f70dbb",
                  "createdAt": "2026-07-28T03:03:59.000Z",
                  "updatedAt": "2026-07-28T03:03:59.000Z",
                  "uid": "35240-18c8b67b-7d03-4b3e-bcbc-970ae6f70dbb"
                }
              ],
              "id": "a7797101-d67a-4ae1-8619-3baca2ee5188",
              "createdAt": "2026-07-28T03:03:59.000Z",
              "updatedAt": "2026-07-28T03:03:59.000Z",
              "uid": "35240-a7797101-d67a-4ae1-8619-3baca2ee5188"
            },
            {
              "name": "{location_id}",
              "item": [
                {
                  "name": "custom-attributes",
                  "item": [
                    {
                      "name": "{key}",
                      "item": [
                        {
                          "name": "Square Delete Location Custom Attribute",
                          "id": "a48ed2f4-3634-411d-b830-96a55d6b056b",
                          "protocolProfileBehavior": {
                            "disableBodyPruning": true
                          },
                          "request": {
                            "auth": {
                              "type": "oauth2",
                              "oauth2": [
                                {
                                  "key": "scope",
                                  "value": "ADDON_CONFIGURATIONS_READ ADDON_CONFIGURATIONS_WRITE APPOINTMENTS_ALL_READ APPOINTMENTS_ALL_WRITE APPOINTMENTS_BUSINESS_SETTINGS_READ APPOINTMENTS_READ APPOINTMENTS_WRITE BANK_ACCOUNTS_READ CASH_DRAWER_READ CHANNELS_CREATE CHANNELS_READ CHANNELS_UPDATE CUSTOMERS_READ CUSTOMERS_WRITE DEVICES_READ DEVICE_CREDENTIAL_MANAGEMENT DISPUTES_READ DISPUTES_WRITE EMPLOYEES_READ EMPLOYEES_WRITE GIFTCARDS_READ GIFTCARDS_WRITE INVENTORY_READ INVENTORY_WRITE INVOICES_READ INVOICES_WRITE ITEMS_READ ITEMS_WRITE LOYALTY_READ LOYALTY_WRITE MERCHANT_PROFILE_READ MERCHANT_PROFILE_WRITE ONLINE_STORE_SITE_READ ONLINE_STORE_SNIPPETS_READ ONLINE_STORE_SNIPPETS_WRITE ORDERS_READ ORDERS_WRITE PAYMENTS_READ PAYMENTS_WRITE PAYMENTS_WRITE_ADDITIONAL_RECIPIENTS PAYMENTS_WRITE_IN_PERSON PAYMENTS_WRITE_SHARED_ONFILE PAYOUTS_READ PERMISSION_SETS_READ PERMISSION_SETS_WRITE RESERVATIONS_READ RESERVATIONS_WRITE RESTAURANT_CHECKS_READ SETTLEMENTS_READ SUBSCRIPTIONS_READ SUBSCRIPTIONS_WRITE TIMECARDS_READ TIMECARDS_SETTINGS_READ TIMECARDS_SETTINGS_WRITE TIMECARDS_WRITE VENDOR_READ VENDOR_WRITE",
                                  "type": "string"
                                },
                                {
                                  "key": "accessTokenUrl",
                                  "value": "https://connect.squareup.com/oauth2/token",
                                  "type": "string"
                                },
                                {
                                  "key": "authUrl",
                                  "value": "https://connect.squareup.com/oauth2/authorize",
                                  "type": "string"
                                },
                                {
                                  "key": "grant_type",
                                  "value": "authorization_code",
                                  "type": "string"
                                }
                              ]
                            },
                            "method": "DELETE",
                            "header": [
                              {
                                "key": "Accept",
                                "value": "application/json"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/v2/locations/:location_id/custom-attributes/:key",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "v2",
                                "locations",
                                ":location_id",
                                "custom-attributes",
                                ":key"
                              ],
                              "variable": [
                                {
                                  "id": "54ee0b1a-b9e7-49c4-92e4-757cb621f12a",
                                  "key": "location_id",
                                  "value": "<string>",
                                  "description": "(Required) The ID of the target [location](entity:Location)."
                                },
                                {
                                  "id": "bc4436f6-2847-4049-b5c4-44e77950a8b7",
                                  "key": "key",
                                  "value": "<string>",
                                  "description": "(Required) The key of the custom attribute to delete. This key must match the `key` of a custom\nattribute definition in the Square seller account. If the requesting application is not the\ndefinition owner, you must use the qualified key."
                                }
                              ]
                            },
                            "description": "Deletes a [custom attribute](entity:CustomAttribute) associated with a location.\nTo delete a custom attribute owned by another application, the `visibility` setting must be\n`VISIBILITY_READ_WRITE_VALUES`."
                          },
                          "response": [
                            {
                              "id": "00143aa7-d0b5-4c6a-b077-d59210451e7c",
                              "name": "Success",
                              "originalRequest": {
                                "method": "DELETE",
                                "header": [
                                  {
                                    "key": "Accept",
                                    "value": "application/json"
                                  },
                                  {
                                    "description": "Added as a part of security scheme: oauth2",
                                    "key": "Authorization",
                                    "value": "<token>"
                                  }
                                ],
                                "url": {
                                  "raw": "{{baseUrl}}/v2/locations/:location_id/custom-attributes/:key",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "v2",
                                    "locations",
                                    ":location_id",
                                    "custom-attributes",
                                    ":key"
                                  ],
                                  "variable": [
                                    {
                                      "key": "location_id"
                                    },
                                    {
                                      "key": "key"
                                    }
                                  ]
                                }
                              },
                              "status": "OK",
                              "code": 200,
                              "_postman_previewlanguage": "json",
                              "header": [
                                {
                                  "key": "Content-Type",
                                  "value": "application/json"
                                }
                              ],
                              "cookie": [],
                              "responseTime": null,
                              "body": "{\n  \"errors\": [\n    {\n      \"category\": \"MERCHANT_SUBSCRIPTION_ERROR\",\n      \"code\": \"ACCOUNT_UNUSABLE\",\n      \"detail\": \"<string>\",\n      \"field\": \"<string>\"\n    },\n    {\n      \"category\": \"MERCHANT_SUBSCRIPTION_ERROR\",\n      \"code\": \"CARD_TOKEN_EXPIRED\",\n      \"detail\": \"<string>\",\n      \"field\": \"<string>\"\n    }\n  ]\n}",
                              "createdAt": "2026-07-28T03:03:59.000Z",
                              "updatedAt": "2026-07-28T03:03:59.000Z",
                              "uid": "35240-00143aa7-d0b5-4c6a-b077-d59210451e7c"
                            }
                          ],
                          "createdAt": "2026-07-28T03:03:59.000Z",
                          "updatedAt": "2026-07-28T03:03:59.000Z",
                          "uid": "35240-a48ed2f4-3634-411d-b830-96a55d6b056b"
                        },
                        {
                          "name": "Square Retrieve Location Custom Attribute",
                          "id": "da9183c1-c745-41e2-b3e6-f67c8e72f326",
                          "protocolProfileBehavior": {
                            "disableBodyPruning": true
                          },
                          "request": {
                            "auth": {
                              "type": "oauth2",
                              "oauth2": [
                                {
                                  "key": "scope",
                                  "value": "ADDON_CONFIGURATIONS_READ ADDON_CONFIGURATIONS_WRITE APPOINTMENTS_ALL_READ APPOINTMENTS_ALL_WRITE APPOINTMENTS_BUSINESS_SETTINGS_READ APPOINTMENTS_READ APPOINTMENTS_WRITE BANK_ACCOUNTS_READ CASH_DRAWER_READ CHANNELS_CREATE CHANNELS_READ CHANNELS_UPDATE CUSTOMERS_READ CUSTOMERS_WRITE DEVICES_READ DEVICE_CREDENTIAL_MANAGEMENT DISPUTES_READ DISPUTES_WRITE EMPLOYEES_READ EMPLOYEES_WRITE GIFTCARDS_READ GIFTCARDS_WRITE INVENTORY_READ INVENTORY_WRITE INVOICES_READ INVOICES_WRITE ITEMS_READ ITEMS_WRITE LOYALTY_READ LOYALTY_WRITE MERCHANT_PROFILE_READ MERCHANT_PROFILE_WRITE ONLINE_STORE_SITE_READ ONLINE_STORE_SNIPPETS_READ ONLINE_STORE_SNIPPETS_WRITE ORDERS_READ ORDERS_WRITE PAYMENTS_READ PAYMENTS_WRITE PAYMENTS_WRITE_ADDITIONAL_RECIPIENTS PAYMENTS_WRITE_IN_PERSON PAYMENTS_WRITE_SHARED_ONFILE PAYOUTS_READ PERMISSION_SETS_READ PERMISSION_SETS_WRITE RESERVATIONS_READ RESERVATIONS_WRITE RESTAURANT_CHECKS_READ SETTLEMENTS_READ SUBSCRIPTIONS_READ SUBSCRIPTIONS_WRITE TIMECARDS_READ TIMECARDS_SETTINGS_READ TIMECARDS_SETTINGS_WRITE TIMECARDS_WRITE VENDOR_READ VENDOR_WRITE",
                                  "type": "string"
                                },
                                {
                                  "key": "accessTokenUrl",
                                  "value": "https://connect.squareup.com/oauth2/token",
                                  "type": "string"
                                },
                                {
                                  "key": "authUrl",
                                  "value": "https://connect.squareup.com/oauth2/authorize",
                                  "type": "string"
                                },
                                {
                                  "key": "grant_type",
                                  "value": "authorization_code",
                                  "type": "string"
                                }
                              ]
                            },
                            "method": "GET",
                            "header": [
                              {
                                "key": "Accept",
                                "value": "application/json"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/v2/locations/:location_id/custom-attributes/:key?with_definition=false&version=<integer>",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "v2",
                                "locations",
                                ":location_id",
                                "custom-attributes",
                                ":key"
                              ],
                              "query": [
                                {
                                  "description": "Indicates whether to return the [custom attribute definition](entity:CustomAttributeDefinition) in the `definition` field of\nthe custom attribute. Set this parameter to `true` to get the name and description of the custom\nattribute, information about the data type, or other definition details. The default value is `false`.",
                                  "key": "with_definition",
                                  "value": "false"
                                },
                                {
                                  "description": "The current version of the custom attribute, which is used for strongly consistent reads to\nguarantee that you receive the most up-to-date data. When included in the request, Square\nreturns the specified version or a higher version if one exists. If the specified version is\nhigher than the current version, Square returns a `BAD_REQUEST` error.",
                                  "key": "version",
                                  "value": "<integer>"
                                }
                              ],
                              "variable": [
                                {
                                  "id": "97d9a411-af23-4da2-abea-c262e3c8b20c",
                                  "key": "location_id",
                                  "value": "<string>",
                                  "description": "(Required) The ID of the target [location](entity:Location)."
                                },
                                {
                                  "id": "5b396108-4bb4-47d0-a139-5ebe0909eae2",
                                  "key": "key",
                                  "value": "<string>",
                                  "description": "(Required) The key of the custom attribute to retrieve. This key must match the `key` of a custom\nattribute definition in the Square seller account. If the requesting application is not the\ndefinition owner, you must use the qualified key."
                                }
                              ]
                            },
                            "description": "Retrieves a [custom attribute](entity:CustomAttribute) associated with a location.\nYou can use the `with_definition` query parameter to also retrieve the custom attribute definition\nin the same call.\nTo retrieve a custom attribute owned by another application, the `visibility` setting must be\n`VISIBILITY_READ_ONLY` or `VISIBILITY_READ_WRITE_VALUES`."
                          },
                          "response": [
                            {
                              "id": "8b6c9a48-a3d8-4e7d-88b7-9db00afd7e03",
                              "name": "Success",
                              "originalRequest": {
                                "method": "GET",
                                "header": [
                                  {
                                    "key": "Accept",
                                    "value": "application/json"
                                  },
                                  {
                                    "description": "Added as a part of security scheme: oauth2",
                                    "key": "Authorization",
                                    "value": "<token>"
                                  }
                                ],
                                "url": {
                                  "raw": "{{baseUrl}}/v2/locations/:location_id/custom-attributes/:key?with_definition=false&version=<integer>",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "v2",
                                    "locations",
                                    ":location_id",
                                    "custom-attributes",
                                    ":key"
                                  ],
                                  "query": [
                                    {
                                      "description": "Indicates whether to return the [custom attribute definition](entity:CustomAttributeDefinition) in the `definition` field of\nthe custom attribute. Set this parameter to `true` to get the name and description of the custom\nattribute, information about the data type, or other definition details. The default value is `false`.",
                                      "key": "with_definition",
                                      "value": "false"
                                    },
                                    {
                                      "description": "The current version of the custom attribute, which is used for strongly consistent reads to\nguarantee that you receive the most up-to-date data. When included in the request, Square\nreturns the specified version or a higher version if one exists. If the specified version is\nhigher than the current version, Square returns a `BAD_REQUEST` error.",
                                      "key": "version",
                                      "value": "<integer>"
                                    }
                                  ],
                                  "variable": [
                                    {
                                      "key": "location_id"
                                    },
                                    {
                                      "key": "key"
                                    }
                                  ]
                                }
                              },
                              "status": "OK",
                              "code": 200,
                              "_postman_previewlanguage": "json",
                              "header": [
                                {
                                  "key": "Content-Type",
                                  "value": "application/json"
                                }
                              ],
                              "cookie": [],
                              "responseTime": null,
                              "body": "{\n  \"custom_attribute\": {\n    \"key\": \"ZkJ0QhJJ69:DYXDlUa5kKstS_QMXkNGH-6o6EPQ8e_dZtOcwvPGQvQmuHa\",\n    \"value\": {\n      \"description\": \"The value assigned to the custom attribute. It is validated against the custom\\nattribute definition's schema on write operations. For more information about custom\\nattribute values,\\nsee [Custom Attributes Overview](https://developer.squareup.com/docs/devtools/customattributes/overview).\",\n      \"nullable\": true\n    },\n    \"version\": \"<integer>\",\n    \"visibility\": \"VISIBILITY_READ_ONLY\",\n    \"definition\": {\n      \"key\": \"-d:L\",\n      \"schema\": {},\n      \"name\": \"<string>\",\n      \"description\": \"<string>\",\n      \"visibility\": \"VISIBILITY_READ_WRITE_VALUES\",\n      \"version\": \"<integer>\",\n      \"updated_at\": \"<string>\",\n      \"created_at\": \"<string>\"\n    },\n    \"updated_at\": \"<string>\",\n    \"created_at\": \"<string>\"\n  },\n  \"errors\": [\n    {\n      \"category\": \"API_ERROR\",\n      \"code\": \"RATE_LIMITED\",\n      \"detail\": \"<string>\",\n      \"field\": \"<string>\"\n    },\n    {\n      \"category\": \"EXTERNAL_VENDOR_ERROR\",\n      \"code\": \"AMOUNT_TOO_HIGH\",\n      \"detail\": \"<string>\",\n      \"field\": \"<string>\"\n    }\n  ]\n}",
                              "createdAt": "2026-07-28T03:03:59.000Z",
                              "updatedAt": "2026-07-28T03:03:59.000Z",
                              "uid": "35240-8b6c9a48-a3d8-4e7d-88b7-9db00afd7e03"
                            }
                          ],
                          "createdAt": "2026-07-28T03:03:59.000Z",
                          "updatedAt": "2026-07-28T03:03:59.000Z",
                          "uid": "35240-da9183c1-c745-41e2-b3e6-f67c8e72f326"
                        },
                        {
                          "name": "Square Upsert Location Custom Attribute",
                          "id": "04db8168-2f8f-480e-a8ba-19014aacc6a5",
                          "protocolProfileBehavior": {
                            "disableBodyPruning": true
                          },
                          "request": {
                            "auth": {
                              "type": "oauth2",
                              "oauth2": [
                                {
                                  "key": "scope",
                                  "value": "ADDON_CONFIGURATIONS_READ ADDON_CONFIGURATIONS_WRITE APPOINTMENTS_ALL_READ APPOINTMENTS_ALL_WRITE APPOINTMENTS_BUSINESS_SETTINGS_READ APPOINTMENTS_READ APPOINTMENTS_WRITE BANK_ACCOUNTS_READ CASH_DRAWER_READ CHANNELS_CREATE CHANNELS_READ CHANNELS_UPDATE CUSTOMERS_READ CUSTOMERS_WRITE DEVICES_READ DEVICE_CREDENTIAL_MANAGEMENT DISPUTES_READ DISPUTES_WRITE EMPLOYEES_READ EMPLOYEES_WRITE GIFTCARDS_READ GIFTCARDS_WRITE INVENTORY_READ INVENTORY_WRITE INVOICES_READ INVOICES_WRITE ITEMS_READ ITEMS_WRITE LOYALTY_READ LOYALTY_WRITE MERCHANT_PROFILE_READ MERCHANT_PROFILE_WRITE ONLINE_STORE_SITE_READ ONLINE_STORE_SNIPPETS_READ ONLINE_STORE_SNIPPETS_WRITE ORDERS_READ ORDERS_WRITE PAYMENTS_READ PAYMENTS_WRITE PAYMENTS_WRITE_ADDITIONAL_RECIPIENTS PAYMENTS_WRITE_IN_PERSON PAYMENTS_WRITE_SHARED_ONFILE PAYOUTS_READ PERMISSION_SETS_READ PERMISSION_SETS_WRITE RESERVATIONS_READ RESERVATIONS_WRITE RESTAURANT_CHECKS_READ SETTLEMENTS_READ SUBSCRIPTIONS_READ SUBSCRIPTIONS_WRITE TIMECARDS_READ TIMECARDS_SETTINGS_READ TIMECARDS_SETTINGS_WRITE TIMECARDS_WRITE VENDOR_READ VENDOR_WRITE",
                                  "type": "string"
                                },
                                {
                                  "key": "accessTokenUrl",
                                  "value": "https://connect.squareup.com/oauth2/token",
                                  "type": "string"
                                },
                                {
                                  "key": "authUrl",
                                  "value": "https://connect.squareup.com/oauth2/authorize",
                                  "type": "string"
                                },
                                {
                                  "key": "grant_type",
                                  "value": "authorization_code",
                                  "type": "string"
                                }
                              ]
                            },
                            "method": "POST",
                            "header": [
                              {
                                "key": "Content-Type",
                                "value": "application/json"
                              },
                              {
                                "key": "Accept",
                                "value": "application/json"
                              }
                            ],
                            "body": {
                              "mode": "raw",
                              "raw": "{\n  \"custom_attribute\": {\n    \"key\": \"Rnl2E2:12yNBF4NMA9su\",\n    \"value\": {\n      \"description\": \"The value assigned to the custom attribute. It is validated against the custom\\nattribute definition's schema on write operations. For more information about custom\\nattribute values,\\nsee [Custom Attributes Overview](https://developer.squareup.com/docs/devtools/customattributes/overview).\",\n      \"nullable\": true\n    },\n    \"version\": \"<integer>\",\n    \"visibility\": \"VISIBILITY_READ_WRITE_VALUES\",\n    \"definition\": {\n      \"key\": \"shMp:cb31frQ.\",\n      \"schema\": {},\n      \"name\": \"<string>\",\n      \"description\": \"<string>\",\n      \"visibility\": \"VISIBILITY_READ_WRITE_VALUES\",\n      \"version\": \"<integer>\",\n      \"updated_at\": \"<string>\",\n      \"created_at\": \"<string>\"\n    },\n    \"updated_at\": \"<string>\",\n    \"created_at\": \"<string>\"\n  },\n  \"idempotency_key\": \"<string>\"\n}",
                              "options": {
                                "raw": {
                                  "headerFamily": "json",
                                  "language": "json"
                                }
                              }
                            },
                            "url": {
                              "raw": "{{baseUrl}}/v2/locations/:location_id/custom-attributes/:key",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "v2",
                                "locations",
                                ":location_id",
                                "custom-attributes",
                                ":key"
                              ],
                              "variable": [
                                {
                                  "id": "3a5608e6-a78a-422f-ae62-59e857d0c907",
                                  "key": "location_id",
                                  "value": "<string>",
                                  "description": "(Required) The ID of the target [location](entity:Location)."
                                },
                                {
                                  "id": "1da906f5-e913-4737-9bcb-50cd81f816e7",
                                  "key": "key",
                                  "value": "<string>",
                                  "description": "(Required) The key of the custom attribute to create or update. This key must match the `key` of a\ncustom attribute definition in the Square seller account. If the requesting application is not\nthe definition owner, you must use the qualified key."
                                }
                              ]
                            },
                            "description": "Creates or updates a [custom attribute](entity:CustomAttribute) for a location.\nUse this endpoint to set the value of a custom attribute for a specified location.\nA custom attribute is based on a custom attribute definition in a Square seller account, which\nis created using the [CreateLocationCustomAttributeDefinition](api-endpoint:LocationCustomAttributes-CreateLocationCustomAttributeDefinition) endpoint.\nTo create or update a custom attribute owned by another application, the `visibility` setting\nmust be `VISIBILITY_READ_WRITE_VALUES`."
                          },
                          "response": [
                            {
                              "id": "18675b14-b1e0-4522-b904-e0f3f2460f35",
                              "name": "Success",
                              "originalRequest": {
                                "method": "POST",
                                "header": [
                                  {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                  },
                                  {
                                    "key": "Accept",
                                    "value": "application/json"
                                  },
                                  {
                                    "description": "Added as a part of security scheme: oauth2",
                                    "key": "Authorization",
                                    "value": "<token>"
                                  }
                                ],
                                "body": {
                                  "mode": "raw",
                                  "raw": "{\n  \"custom_attribute\": {\n    \"key\": \"Rnl2E2:12yNBF4NMA9su\",\n    \"value\": {\n      \"description\": \"The value assigned to the custom attribute. It is validated against the custom\\nattribute definition's schema on write operations. For more information about custom\\nattribute values,\\nsee [Custom Attributes Overview](https://developer.squareup.com/docs/devtools/customattributes/overview).\",\n      \"nullable\": true\n    },\n    \"version\": \"<integer>\",\n    \"visibility\": \"VISIBILITY_READ_WRITE_VALUES\",\n    \"definition\": {\n      \"key\": \"shMp:cb31frQ.\",\n      \"schema\": {},\n      \"name\": \"<string>\",\n      \"description\": \"<string>\",\n      \"visibility\": \"VISIBILITY_READ_WRITE_VALUES\",\n      \"version\": \"<integer>\",\n      \"updated_at\": \"<string>\",\n      \"created_at\": \"<string>\"\n    },\n    \"updated_at\": \"<string>\",\n    \"created_at\": \"<string>\"\n  },\n  \"idempotency_key\": \"<string>\"\n}",
                                  "options": {
                                    "raw": {
                                      "headerFamily": "json",
                                      "language": "json"
                                    }
                                  }
                                },
                                "url": {
                                  "raw": "{{baseUrl}}/v2/locations/:location_id/custom-attributes/:key",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "v2",
                                    "locations",
                                    ":location_id",
                                    "custom-attributes",
                                    ":key"
                                  ],
                                  "variable": [
                                    {
                                      "key": "location_id"
                                    },
                                    {
                                      "key": "key"
                                    }
                                  ]
                                }
                              },
                              "status": "OK",
                              "code": 200,
                              "_postman_previewlanguage": "json",
                              "header": [
                                {
                                  "key": "Content-Type",
                                  "value": "application/json"
                                }
                              ],
                              "cookie": [],
                              "responseTime": null,
                              "body": "{\n  \"custom_attribute\": {\n    \"key\": \"Vr:9PTCxI9mc4h9EBZT9RqYKC\",\n    \"value\": {\n      \"description\": \"The value assigned to the custom attribute. It is validated against the custom\\nattribute definition's schema on write operations. For more information about custom\\nattribute values,\\nsee [Custom Attributes Overview](https://developer.squareup.com/docs/devtools/customattributes/overview).\",\n      \"nullable\": true\n    },\n    \"version\": \"<integer>\",\n    \"visibility\": \"VISIBILITY_READ_ONLY\",\n    \"definition\": {\n      \"key\": \".sSBxX\",\n      \"schema\": {},\n      \"name\": \"<string>\",\n      \"description\": \"<string>\",\n      \"visibility\": \"VISIBILITY_HIDDEN\",\n      \"version\": \"<integer>\",\n      \"updated_at\": \"<string>\",\n      \"created_at\": \"<string>\"\n    },\n    \"updated_at\": \"<string>\",\n    \"created_at\": \"<string>\"\n  },\n  \"errors\": [\n    {\n      \"category\": \"EXTERNAL_VENDOR_ERROR\",\n      \"code\": \"INSUFFICIENT_PERMISSIONS_FOR_REFUND\",\n      \"detail\": \"<string>\",\n      \"field\": \"<string>\"\n    },\n    {\n      \"category\": \"API_ERROR\",\n      \"code\": \"INVALID_TIME\",\n      \"detail\": \"<string>\",\n      \"field\": \"<string>\"\n    }\n  ]\n}",
                              "createdAt": "2026-07-28T03:03:59.000Z",
                              "updatedAt": "2026-07-28T03:03:59.000Z",
                              "uid": "35240-18675b14-b1e0-4522-b904-e0f3f2460f35"
                            }
                          ],
                          "createdAt": "2026-07-28T03:03:59.000Z",
                          "updatedAt": "2026-07-28T03:03:59.000Z",
                          "uid": "35240-04db8168-2f8f-480e-a8ba-19014aacc6a5"
                        }
                      ],
                      "id": "cba904e4-7261-4572-81bc-daa41eb5611d",
                      "createdAt": "2026-07-28T03:03:59.000Z",
                      "updatedAt": "2026-07-28T03:03:59.000Z",
                      "uid": "35240-cba904e4-7261-4572-81bc-daa41eb5611d"
                    },
                    {
                      "name": "Square List Location Custom Attributes",
                      "id": "1e5ee1d8-2fd2-4da1-b567-ed2a4c9c5f13",
                      "protocolProfileBehavior": {
                        "disableBodyPruning": true
                      },
                      "request": {
                        "auth": {
                          "type": "oauth2",
                          "oauth2": [
                            {
                              "key": "scope",
                              "value": "ADDON_CONFIGURATIONS_READ ADDON_CONFIGURATIONS_WRITE APPOINTMENTS_ALL_READ APPOINTMENTS_ALL_WRITE APPOINTMENTS_BUSINESS_SETTINGS_READ APPOINTMENTS_READ APPOINTMENTS_WRITE BANK_ACCOUNTS_READ CASH_DRAWER_READ CHANNELS_CREATE CHANNELS_READ CHANNELS_UPDATE CUSTOMERS_READ CUSTOMERS_WRITE DEVICES_READ DEVICE_CREDENTIAL_MANAGEMENT DISPUTES_READ DISPUTES_WRITE EMPLOYEES_READ EMPLOYEES_WRITE GIFTCARDS_READ GIFTCARDS_WRITE INVENTORY_READ INVENTORY_WRITE INVOICES_READ INVOICES_WRITE ITEMS_READ ITEMS_WRITE LOYALTY_READ LOYALTY_WRITE MERCHANT_PROFILE_READ MERCHANT_PROFILE_WRITE ONLINE_STORE_SITE_READ ONLINE_STORE_SNIPPETS_READ ONLINE_STORE_SNIPPETS_WRITE ORDERS_READ ORDERS_WRITE PAYMENTS_READ PAYMENTS_WRITE PAYMENTS_WRITE_ADDITIONAL_RECIPIENTS PAYMENTS_WRITE_IN_PERSON PAYMENTS_WRITE_SHARED_ONFILE PAYOUTS_READ PERMISSION_SETS_READ PERMISSION_SETS_WRITE RESERVATIONS_READ RESERVATIONS_WRITE RESTAURANT_CHECKS_READ SETTLEMENTS_READ SUBSCRIPTIONS_READ SUBSCRIPTIONS_WRITE TIMECARDS_READ TIMECARDS_SETTINGS_READ TIMECARDS_SETTINGS_WRITE TIMECARDS_WRITE VENDOR_READ VENDOR_WRITE",
                              "type": "string"
                            },
                            {
                              "key": "accessTokenUrl",
                              "value": "https://connect.squareup.com/oauth2/token",
                              "type": "string"
                            },
                            {
                              "key": "authUrl",
                              "value": "https://connect.squareup.com/oauth2/authorize",
                              "type": "string"
                            },
                            {
                              "key": "grant_type",
                              "value": "authorization_code",
                              "type": "string"
                            }
                          ]
                        },
                        "method": "GET",
                        "header": [
                          {
                            "key": "Accept",
                            "value": "application/json"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/v2/locations/:location_id/custom-attributes?visibility_filter=ALL&limit=<integer>&cursor=<string>&with_definitions=false",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "v2",
                            "locations",
                            ":location_id",
                            "custom-attributes"
                          ],
                          "query": [
                            {
                              "description": "Filters the `CustomAttributeDefinition` results by their `visibility` values.",
                              "key": "visibility_filter",
                              "value": "ALL"
                            },
                            {
                              "description": "The maximum number of results to return in a single paged response. This limit is advisory.\nThe response might contain more or fewer results. The minimum value is 1 and the maximum value is 100.\nThe default value is 20. For more information, see [Pagination](https://developer.squareup.com/docs/build-basics/common-api-patterns/pagination).",
                              "key": "limit",
                              "value": "<integer>"
                            },
                            {
                              "description": "The cursor returned in the paged response from the previous call to this endpoint.\nProvide this cursor to retrieve the next page of results for your original request. For more\ninformation, see [Pagination](https://developer.squareup.com/docs/build-basics/common-api-patterns/pagination).",
                              "key": "cursor",
                              "value": "<string>"
                            },
                            {
                              "description": "Indicates whether to return the [custom attribute definition](entity:CustomAttributeDefinition) in the `definition` field of each\ncustom attribute. Set this parameter to `true` to get the name and description of each custom\nattribute, information about the data type, or other definition details. The default value is `false`.",
                              "key": "with_definitions",
                              "value": "false"
                            }
                          ],
                          "variable": [
                            {
                              "id": "17e2175e-63cc-451c-babe-9df8bd23ccba",
                              "key": "location_id",
                              "value": "<string>",
                              "description": "(Required) The ID of the target [location](entity:Location)."
                            }
                          ]
                        },
                        "description": "Lists the [custom attributes](entity:CustomAttribute) associated with a location.\nYou can use the `with_definitions` query parameter to also retrieve custom attribute definitions\nin the same call.\nWhen all response pages are retrieved, the results include all custom attributes that are\nvisible to the requesting application, including those that are owned by other applications\nand set to `VISIBILITY_READ_ONLY` or `VISIBILITY_READ_WRITE_VALUES`."
                      },
                      "response": [
                        {
                          "id": "d8fb22a3-276a-41d2-8a57-64294671ae96",
                          "name": "Success",
                          "originalRequest": {
                            "method": "GET",
                            "header": [
                              {
                                "key": "Accept",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: oauth2",
                                "key": "Authorization",
                                "value": "<token>"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/v2/locations/:location_id/custom-attributes?visibility_filter=ALL&limit=<integer>&cursor=<string>&with_definitions=false",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "v2",
                                "locations",
                                ":location_id",
                                "custom-attributes"
                              ],
                              "query": [
                                {
                                  "description": "Filters the `CustomAttributeDefinition` results by their `visibility` values.",
                                  "key": "visibility_filter",
                                  "value": "ALL"
                                },
                                {
                                  "description": "The maximum number of results to return in a single paged response. This limit is advisory.\nThe response might contain more or fewer results. The minimum value is 1 and the maximum value is 100.\nThe default value is 20. For more information, see [Pagination](https://developer.squareup.com/docs/build-basics/common-api-patterns/pagination).",
                                  "key": "limit",
                                  "value": "<integer>"
                                },
                                {
                                  "description": "The cursor returned in the paged response from the previous call to this endpoint.\nProvide this cursor to retrieve the next page of results for your original request. For more\ninformation, see [Pagination](https://developer.squareup.com/docs/build-basics/common-api-patterns/pagination).",
                                  "key": "cursor",
                                  "value": "<string>"
                                },
                                {
                                  "description": "Indicates whether to return the [custom attribute definition](entity:CustomAttributeDefinition) in the `definition` field of each\ncustom attribute. Set this parameter to `true` to get the name and description of each custom\nattribute, information about the data type, or other definition details. The default value is `false`.",
                                  "key": "with_definitions",
                                  "value": "false"
                                }
                              ],
                              "variable": [
                                {
                                  "key": "location_id"
                                }
                              ]
                            }
                          },
                          "status": "OK",
                          "code": 200,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"custom_attributes\": [\n    {\n      \"key\": \"x6-qP1H4:PKcWXCHqjp3UcO8-W\",\n      \"value\": {\n        \"description\": \"The value assigned to the custom attribute. It is validated against the custom\\nattribute definition's schema on write operations. For more information about custom\\nattribute values,\\nsee [Custom Attributes Overview](https://developer.squareup.com/docs/devtools/customattributes/overview).\",\n        \"nullable\": true\n      },\n      \"version\": \"<integer>\",\n      \"visibility\": \"VISIBILITY_READ_WRITE_VALUES\",\n      \"definition\": {\n        \"key\": \"TooT.:aJ8tmVghzq.x49jOirx\",\n        \"schema\": {},\n        \"name\": \"<string>\",\n        \"description\": \"<string>\",\n        \"visibility\": \"VISIBILITY_READ_ONLY\",\n        \"version\": \"<integer>\",\n        \"updated_at\": \"<string>\",\n        \"created_at\": \"<string>\"\n      },\n      \"updated_at\": \"<string>\",\n      \"created_at\": \"<string>\"\n    },\n    {\n      \"key\": \"K2RhUx370F:kV3zg0-yjbULiG4LktIEcs86Bj..78.n8zIi\",\n      \"value\": {\n        \"description\": \"The value assigned to the custom attribute. It is validated against the custom\\nattribute definition's schema on write operations. For more information about custom\\nattribute values,\\nsee [Custom Attributes Overview](https://developer.squareup.com/docs/devtools/customattributes/overview).\",\n        \"nullable\": true\n      },\n      \"version\": \"<integer>\",\n      \"visibility\": \"VISIBILITY_HIDDEN\",\n      \"definition\": {\n        \"key\": \"Qt-uK7Cq:WlPXrxkWWpvDDk3L3MHTJdXCfMLYkIKfMKxbp.4cX2R-d\",\n        \"schema\": {},\n        \"name\": \"<string>\",\n        \"description\": \"<string>\",\n        \"visibility\": \"VISIBILITY_READ_WRITE_VALUES\",\n        \"version\": \"<integer>\",\n        \"updated_at\": \"<string>\",\n        \"created_at\": \"<string>\"\n      },\n      \"updated_at\": \"<string>\",\n      \"created_at\": \"<string>\"\n    }\n  ],\n  \"cursor\": \"<string>\",\n  \"errors\": [\n    {\n      \"category\": \"PAYMENT_METHOD_ERROR\",\n      \"code\": \"CARD_NOT_SUPPORTED\",\n      \"detail\": \"<string>\",\n      \"field\": \"<string>\"\n    },\n    {\n      \"category\": \"API_ERROR\",\n      \"code\": \"NOT_FOUND\",\n      \"detail\": \"<string>\",\n      \"field\": \"<string>\"\n    }\n  ]\n}",
                          "createdAt": "2026-07-28T03:03:59.000Z",
                          "updatedAt": "2026-07-28T03:03:59.000Z",
                          "uid": "35240-d8fb22a3-276a-41d2-8a57-64294671ae96"
                        }
                      ],
                      "createdAt": "2026-07-28T03:03:59.000Z",
                      "updatedAt": "2026-07-28T03:03:59.000Z",
                      "uid": "35240-1e5ee1d8-2fd2-4da1-b567-ed2a4c9c5f13"
                    }
                  ],
                  "id": "2662dbbd-1de0-4873-ac65-94eb4ea0f28a",
                  "createdAt": "2026-07-28T03:03:59.000Z",
                  "updatedAt": "2026-07-28T03:03:59.000Z",
                  "uid": "35240-2662dbbd-1de0-4873-ac65-94eb4ea0f28a"
                }
              ],
              "id": "823f2c9c-6d50-41ce-8c11-df49795103ad",
              "createdAt": "2026-07-28T03:03:59.000Z",
              "updatedAt": "2026-07-28T03:03:59.000Z",
              "uid": "35240-823f2c9c-6d50-41ce-8c11-df49795103ad"
            }
          ],
          "id": "a0c1e623-af66-42d8-a2e1-00079f8aa5d7",
          "createdAt": "2026-07-28T03:03:59.000Z",
          "updatedAt": "2026-07-28T03:03:59.000Z",
          "uid": "35240-a0c1e623-af66-42d8-a2e1-00079f8aa5d7"
        }
      ],
      "id": "c45ceb56-884f-4d64-88f1-748fafc64a57",
      "createdAt": "2026-07-28T03:03:59.000Z",
      "updatedAt": "2026-07-28T03:03:59.000Z",
      "uid": "35240-c45ceb56-884f-4d64-88f1-748fafc64a57"
    }
  ],
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://connect.squareup.com"
    }
  ]
}