{
  "info": {
    "_postman_id": "2bbe790b-1888-4f14-b36c-1a67315ec727",
    "name": "Square ApplePay OrderCustomAttributes 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:04:11.000Z",
    "updatedAt": "2026-07-28T03:04:11.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-2bbe790b-1888-4f14-b36c-1a67315ec727"
  },
  "item": [
    {
      "name": "v2",
      "item": [
        {
          "name": "orders",
          "item": [
            {
              "name": "custom-attribute-definitions",
              "item": [
                {
                  "name": "{key}",
                  "item": [
                    {
                      "name": "Square Delete Order Custom Attribute Definition",
                      "id": "767473a6-add5-480c-919c-47f493304d1f",
                      "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/orders/custom-attribute-definitions/:key",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "v2",
                            "orders",
                            "custom-attribute-definitions",
                            ":key"
                          ],
                          "variable": [
                            {
                              "id": "95522e1d-5793-4279-967e-ce37229b4625",
                              "key": "key",
                              "value": "<string>",
                              "description": "(Required) The key of the custom attribute definition to delete."
                            }
                          ]
                        },
                        "description": "Deletes an order-related [custom attribute definition](entity:CustomAttributeDefinition) from a Square seller account.\n\nOnly the definition owner can delete a custom attribute definition."
                      },
                      "response": [
                        {
                          "id": "91108b0d-4060-46f1-9fc4-2ccf634b3b28",
                          "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/orders/custom-attribute-definitions/:key",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "v2",
                                "orders",
                                "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\": \"INVALID_REQUEST_ERROR\",\n      \"code\": \"INVALID_EXPIRATION\",\n      \"detail\": \"<string>\",\n      \"field\": \"<string>\"\n    },\n    {\n      \"category\": \"REFUND_ERROR\",\n      \"code\": \"CUSTOMER_MISSING_EMAIL\",\n      \"detail\": \"<string>\",\n      \"field\": \"<string>\"\n    }\n  ]\n}",
                          "createdAt": "2026-07-28T03:04:11.000Z",
                          "updatedAt": "2026-07-28T03:04:11.000Z",
                          "uid": "35240-91108b0d-4060-46f1-9fc4-2ccf634b3b28"
                        }
                      ],
                      "createdAt": "2026-07-28T03:04:11.000Z",
                      "updatedAt": "2026-07-28T03:04:11.000Z",
                      "uid": "35240-767473a6-add5-480c-919c-47f493304d1f"
                    },
                    {
                      "name": "Square Retrieve Order Custom Attribute Definition",
                      "id": "8ad758ce-733d-4c83-a26d-1cf09a8149d5",
                      "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/orders/custom-attribute-definitions/:key?version=<integer>",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "v2",
                            "orders",
                            "custom-attribute-definitions",
                            ":key"
                          ],
                          "query": [
                            {
                              "description": "To enable [optimistic concurrency](https://developer.squareup.com/docs/build-basics/common-api-patterns/optimistic-concurrency)\ncontrol, include this optional field and specify the current version of the custom attribute.",
                              "key": "version",
                              "value": "<integer>"
                            }
                          ],
                          "variable": [
                            {
                              "id": "fb73478c-b116-4c4d-8ee2-d3138208275f",
                              "key": "key",
                              "value": "<string>",
                              "description": "(Required) The key of the custom attribute definition to retrieve."
                            }
                          ]
                        },
                        "description": "Retrieves an order-related [custom attribute definition](entity:CustomAttributeDefinition) from a Square seller account.\n\nTo retrieve a custom attribute definition created by another application, the `visibility`\nsetting must be `VISIBILITY_READ_ONLY` or `VISIBILITY_READ_WRITE_VALUES`. Note that seller-defined custom attributes\n(also known as custom fields) are always set to `VISIBILITY_READ_WRITE_VALUES`."
                      },
                      "response": [
                        {
                          "id": "076d9116-028d-4e08-b469-e16da2a139d0",
                          "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/orders/custom-attribute-definitions/:key?version=<integer>",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "v2",
                                "orders",
                                "custom-attribute-definitions",
                                ":key"
                              ],
                              "query": [
                                {
                                  "description": "To enable [optimistic concurrency](https://developer.squareup.com/docs/build-basics/common-api-patterns/optimistic-concurrency)\ncontrol, include this optional field and specify the current version of the custom attribute.",
                                  "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:04:11.000Z",
                          "updatedAt": "2026-07-28T03:04:11.000Z",
                          "uid": "35240-076d9116-028d-4e08-b469-e16da2a139d0"
                        }
                      ],
                      "createdAt": "2026-07-28T03:04:11.000Z",
                      "updatedAt": "2026-07-28T03:04:11.000Z",
                      "uid": "35240-8ad758ce-733d-4c83-a26d-1cf09a8149d5"
                    },
                    {
                      "name": "Square Update Order Custom Attribute Definition",
                      "id": "3fced2ae-167c-4fa7-8683-4b040ec9d783",
                      "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\": \"SajyeFbsEAisEzo0Ccg9PQzEYYfg1Z.\",\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/orders/custom-attribute-definitions/:key",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "v2",
                            "orders",
                            "custom-attribute-definitions",
                            ":key"
                          ],
                          "variable": [
                            {
                              "id": "4226b1cd-26a3-429f-8b01-bdeb054e7c3c",
                              "key": "key",
                              "value": "<string>",
                              "description": "(Required) The key of the custom attribute definition to update."
                            }
                          ]
                        },
                        "description": "Updates an order-related custom attribute definition for a Square seller account.\n\nOnly the definition owner can update a custom attribute definition. Note that sellers can view all custom attributes in exported customer data, including those set to `VISIBILITY_HIDDEN`."
                      },
                      "response": [
                        {
                          "id": "09c63b01-4ca3-40d2-9853-ad38fc042068",
                          "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\": \"SajyeFbsEAisEzo0Ccg9PQzEYYfg1Z.\",\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/orders/custom-attribute-definitions/:key",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "v2",
                                "orders",
                                "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:04:11.000Z",
                          "updatedAt": "2026-07-28T03:04:11.000Z",
                          "uid": "35240-09c63b01-4ca3-40d2-9853-ad38fc042068"
                        }
                      ],
                      "createdAt": "2026-07-28T03:04:11.000Z",
                      "updatedAt": "2026-07-28T03:04:11.000Z",
                      "uid": "35240-3fced2ae-167c-4fa7-8683-4b040ec9d783"
                    }
                  ],
                  "id": "88fbf4c1-d5fe-4832-9010-6e6f76911bf7",
                  "createdAt": "2026-07-28T03:04:11.000Z",
                  "updatedAt": "2026-07-28T03:04:11.000Z",
                  "uid": "35240-88fbf4c1-d5fe-4832-9010-6e6f76911bf7"
                },
                {
                  "name": "Square List Order Custom Attribute Definitions",
                  "id": "dd4775fd-01b8-4eff-bb5e-db75e717e3ea",
                  "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/orders/custom-attribute-definitions?visibility_filter=READ&cursor=<string>&limit=<integer>",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "v2",
                        "orders",
                        "custom-attribute-definitions"
                      ],
                      "query": [
                        {
                          "description": "Requests that all of the custom attributes be returned, or only those that are read-only or read-write.",
                          "key": "visibility_filter",
                          "value": "READ"
                        },
                        {
                          "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/working-with-apis/pagination).",
                          "key": "cursor",
                          "value": "<string>"
                        },
                        {
                          "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.\nFor more information, see [Pagination](https://developer.squareup.com/docs/working-with-apis/pagination).",
                          "key": "limit",
                          "value": "<integer>"
                        }
                      ]
                    },
                    "description": "Lists the order-related [custom attribute definitions](entity:CustomAttributeDefinition) that belong to a Square seller account.\n\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`. Note that\nseller-defined custom attributes (also known as custom fields) are always set to `VISIBILITY_READ_WRITE_VALUES`."
                  },
                  "response": [
                    {
                      "id": "7b8f22f7-1cc3-4600-9ed3-5bf9f9c64ee8",
                      "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/orders/custom-attribute-definitions?visibility_filter=READ&cursor=<string>&limit=<integer>",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "v2",
                            "orders",
                            "custom-attribute-definitions"
                          ],
                          "query": [
                            {
                              "description": "Requests that all of the custom attributes be returned, or only those that are read-only or read-write.",
                              "key": "visibility_filter",
                              "value": "READ"
                            },
                            {
                              "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/working-with-apis/pagination).",
                              "key": "cursor",
                              "value": "<string>"
                            },
                            {
                              "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.\nFor more information, see [Pagination](https://developer.squareup.com/docs/working-with-apis/pagination).",
                              "key": "limit",
                              "value": "<integer>"
                            }
                          ]
                        }
                      },
                      "status": "OK",
                      "code": 200,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "null",
                      "createdAt": "2026-07-28T03:04:11.000Z",
                      "updatedAt": "2026-07-28T03:04:11.000Z",
                      "uid": "35240-7b8f22f7-1cc3-4600-9ed3-5bf9f9c64ee8"
                    }
                  ],
                  "createdAt": "2026-07-28T03:04:11.000Z",
                  "updatedAt": "2026-07-28T03:04:11.000Z",
                  "uid": "35240-dd4775fd-01b8-4eff-bb5e-db75e717e3ea"
                },
                {
                  "name": "Square Create Order Custom Attribute Definition",
                  "id": "a484f330-7ee2-4ea1-ace7-dcdcd5a76139",
                  "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/orders/custom-attribute-definitions",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "v2",
                        "orders",
                        "custom-attribute-definitions"
                      ]
                    },
                    "description": "Creates an order-related custom attribute definition.  Use this endpoint to\ndefine a custom attribute that can be associated with orders.\n\nAfter creating a custom attribute definition, you can set the custom attribute for orders\nin the Square seller account."
                  },
                  "response": [
                    {
                      "id": "9da30b66-8e70-41ee-9268-9f8dce086cde",
                      "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/orders/custom-attribute-definitions",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "v2",
                            "orders",
                            "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:04:11.000Z",
                      "updatedAt": "2026-07-28T03:04:11.000Z",
                      "uid": "35240-9da30b66-8e70-41ee-9268-9f8dce086cde"
                    }
                  ],
                  "createdAt": "2026-07-28T03:04:11.000Z",
                  "updatedAt": "2026-07-28T03:04:11.000Z",
                  "uid": "35240-a484f330-7ee2-4ea1-ace7-dcdcd5a76139"
                }
              ],
              "id": "c0c4d3c7-d0e8-4fe9-96dc-1be950b3610c",
              "createdAt": "2026-07-28T03:04:11.000Z",
              "updatedAt": "2026-07-28T03:04:11.000Z",
              "uid": "35240-c0c4d3c7-d0e8-4fe9-96dc-1be950b3610c"
            },
            {
              "name": "custom-attributes",
              "item": [
                {
                  "name": "bulk-delete",
                  "item": [
                    {
                      "name": "Square Bulk Delete Order Custom Attributes",
                      "id": "f43e767a-a180-457e-858a-38b256023cb5",
                      "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    \"officia_c\": {\n      \"order_id\": \"<string>\",\n      \"key\": \"euO:CwrJfQSvquHo28uZsXSWSe-iWZh08SXy2rv2LRyJp5bkBZ7zqa3JA\"\n    }\n  }\n}",
                          "options": {
                            "raw": {
                              "headerFamily": "json",
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "{{baseUrl}}/v2/orders/custom-attributes/bulk-delete",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "v2",
                            "orders",
                            "custom-attributes",
                            "bulk-delete"
                          ]
                        },
                        "description": "Deletes order [custom attributes](entity:CustomAttribute) as a bulk operation.\n\nUse this endpoint to delete one or more custom attributes from one or more orders.\nA custom attribute is based on a custom attribute definition in a Square seller account.  (To create a\ncustom attribute definition, use the [CreateOrderCustomAttributeDefinition](api-endpoint:OrderCustomAttributes-CreateOrderCustomAttributeDefinition) endpoint.)\n\nThis `BulkDeleteOrderCustomAttributes` endpoint accepts a map of 1 to 25 individual delete\nrequests and returns a map of individual delete responses. Each delete request has a unique ID\nand provides an order ID and custom attribute. Each delete response is returned with the ID\nof the corresponding request.\n\nTo delete a custom attribute owned by another application, the `visibility` setting\nmust be `VISIBILITY_READ_WRITE_VALUES`. Note that seller-defined custom attributes\n(also known as custom fields) are always set to `VISIBILITY_READ_WRITE_VALUES`."
                      },
                      "response": [
                        {
                          "id": "bfb4d6d5-ee30-4d25-8be2-7033fbb1120e",
                          "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    \"officia_c\": {\n      \"order_id\": \"<string>\",\n      \"key\": \"euO:CwrJfQSvquHo28uZsXSWSe-iWZh08SXy2rv2LRyJp5bkBZ7zqa3JA\"\n    }\n  }\n}",
                              "options": {
                                "raw": {
                                  "headerFamily": "json",
                                  "language": "json"
                                }
                              }
                            },
                            "url": {
                              "raw": "{{baseUrl}}/v2/orders/custom-attributes/bulk-delete",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "v2",
                                "orders",
                                "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    \"consequat_4\": {\n      \"errors\": [\n        {\n          \"category\": \"AUTHENTICATION_ERROR\",\n          \"code\": \"SANDBOX_NOT_SUPPORTED\",\n          \"detail\": \"<string>\",\n          \"field\": \"<string>\"\n        }\n      ]\n    },\n    \"qui_3\": {\n      \"errors\": [\n        {\n          \"category\": \"AUTHENTICATION_ERROR\",\n          \"code\": \"EXPECTED_JSON_BODY\",\n          \"detail\": \"<string>\",\n          \"field\": \"<string>\"\n        }\n      ]\n    },\n    \"anim0a5\": {\n      \"errors\": [\n        {\n          \"category\": \"AUTHENTICATION_ERROR\",\n          \"code\": \"DELAYED_TRANSACTION_FAILED\",\n          \"detail\": \"<string>\",\n          \"field\": \"<string>\"\n        }\n      ]\n    },\n    \"incididuntfe\": {\n      \"errors\": [\n        {\n          \"category\": \"EXTERNAL_VENDOR_ERROR\",\n          \"code\": \"NO_FIELDS_SET\",\n          \"detail\": \"<string>\",\n          \"field\": \"<string>\"\n        }\n      ]\n    }\n  },\n  \"errors\": [\n    {\n      \"category\": \"AUTHENTICATION_ERROR\",\n      \"code\": \"UNKNOWN_QUERY_PARAMETER\",\n      \"detail\": \"<string>\",\n      \"field\": \"<string>\"\n    }\n  ]\n}",
                          "createdAt": "2026-07-28T03:04:11.000Z",
                          "updatedAt": "2026-07-28T03:04:11.000Z",
                          "uid": "35240-bfb4d6d5-ee30-4d25-8be2-7033fbb1120e"
                        }
                      ],
                      "createdAt": "2026-07-28T03:04:11.000Z",
                      "updatedAt": "2026-07-28T03:04:11.000Z",
                      "uid": "35240-f43e767a-a180-457e-858a-38b256023cb5"
                    }
                  ],
                  "id": "bf822cd3-cd5c-4abe-a1d8-edfff621ada3",
                  "createdAt": "2026-07-28T03:04:11.000Z",
                  "updatedAt": "2026-07-28T03:04:11.000Z",
                  "uid": "35240-bf822cd3-cd5c-4abe-a1d8-edfff621ada3"
                },
                {
                  "name": "bulk-upsert",
                  "item": [
                    {
                      "name": "Square Bulk Upsert Order Custom Attributes",
                      "id": "9545516b-a2d2-4d46-ba61-183ad89f231c",
                      "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    \"magnafa\": {\n      \"custom_attribute\": {\n        \"key\": \"z-vHDh7kXOxYAdJy4teVHgusSEXi0vQi5xQsZ9ExACm3wZo\",\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\": \"--Ee_W9hwTq34o10\",\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      \"order_id\": \"<string>\",\n      \"idempotency_key\": \"<string>\"\n    },\n    \"sint_6\": {\n      \"custom_attribute\": {\n        \"key\": \"znuwPO:0YHVweUApVOKjzoakNav4lO0vBu\",\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\": \"Eso:1LwiNSLqkFf4MVGqSgUZbhesFMkJOxjpTX6pMs\",\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      \"order_id\": \"<string>\",\n      \"idempotency_key\": \"<string>\"\n    }\n  }\n}",
                          "options": {
                            "raw": {
                              "headerFamily": "json",
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "{{baseUrl}}/v2/orders/custom-attributes/bulk-upsert",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "v2",
                            "orders",
                            "custom-attributes",
                            "bulk-upsert"
                          ]
                        },
                        "description": "Creates or updates order [custom attributes](entity:CustomAttribute) as a bulk operation.\n\nUse this endpoint to delete one or more custom attributes from one or more orders.\nA custom attribute is based on a custom attribute definition in a Square seller account.  (To create a\ncustom attribute definition, use the [CreateOrderCustomAttributeDefinition](api-endpoint:OrderCustomAttributes-CreateOrderCustomAttributeDefinition) endpoint.)\n\nThis `BulkUpsertOrderCustomAttributes` 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 an order ID and custom attribute. Each upsert response is returned with the ID\nof the corresponding request.\n\nTo create or update a custom attribute owned by another application, the `visibility` setting\nmust be `VISIBILITY_READ_WRITE_VALUES`. Note that seller-defined custom attributes\n(also known as custom fields) are always set to `VISIBILITY_READ_WRITE_VALUES`."
                      },
                      "response": [
                        {
                          "id": "8ef1ae84-8633-42f5-ab2f-ff7ff32a4f97",
                          "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    \"magnafa\": {\n      \"custom_attribute\": {\n        \"key\": \"z-vHDh7kXOxYAdJy4teVHgusSEXi0vQi5xQsZ9ExACm3wZo\",\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\": \"--Ee_W9hwTq34o10\",\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      \"order_id\": \"<string>\",\n      \"idempotency_key\": \"<string>\"\n    },\n    \"sint_6\": {\n      \"custom_attribute\": {\n        \"key\": \"znuwPO:0YHVweUApVOKjzoakNav4lO0vBu\",\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\": \"Eso:1LwiNSLqkFf4MVGqSgUZbhesFMkJOxjpTX6pMs\",\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      \"order_id\": \"<string>\",\n      \"idempotency_key\": \"<string>\"\n    }\n  }\n}",
                              "options": {
                                "raw": {
                                  "headerFamily": "json",
                                  "language": "json"
                                }
                              }
                            },
                            "url": {
                              "raw": "{{baseUrl}}/v2/orders/custom-attributes/bulk-upsert",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "v2",
                                "orders",
                                "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    \"ad7d\": {\n      \"custom_attribute\": {\n        \"key\": \"ItLtg5fPfN87fcb-QY22win\",\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\": \"peRS_k:HQzJGhRm6mvt5DnmFlay4e8yWDaP1dembM.vRO4spzWmEaBIdC88nacXrt\",\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      \"errors\": [\n        {\n          \"category\": \"REFUND_ERROR\",\n          \"code\": \"INSUFFICIENT_PERMISSIONS\",\n          \"detail\": \"<string>\",\n          \"field\": \"<string>\"\n        }\n      ]\n    },\n    \"consequat_4fb\": {\n      \"custom_attribute\": {\n        \"key\": \"D4ujcE2NYszHp_JR_3FWF3svyOwJ3guy4BmGQ4L5jv6UGTbpH\",\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\": \"tF7VgGrP1CRu10bhZ1bBkVX05XSS-rdxBORqoD3-I11qiQsg5QV5ac\",\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\": \"INVALID_REQUEST_ERROR\",\n          \"code\": \"TOO_MANY_MAP_ENTRIES\",\n          \"detail\": \"<string>\",\n          \"field\": \"<string>\"\n        }\n      ]\n    },\n    \"aliquipf82\": {\n      \"custom_attribute\": {\n        \"key\": \"gMa\",\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\": \"m:jvz96nws2GeuctxJaUkhJ11Q0otIL\",\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\": \"PAYMENT_METHOD_ERROR\",\n          \"code\": \"PAYMENT_LIMIT_EXCEEDED\",\n          \"detail\": \"<string>\",\n          \"field\": \"<string>\"\n        }\n      ]\n    }\n  },\n  \"errors\": [\n    {\n      \"category\": \"INVALID_REQUEST_ERROR\",\n      \"code\": \"BAD_REQUEST\",\n      \"detail\": \"<string>\",\n      \"field\": \"<string>\"\n    }\n  ]\n}",
                          "createdAt": "2026-07-28T03:04:11.000Z",
                          "updatedAt": "2026-07-28T03:04:11.000Z",
                          "uid": "35240-8ef1ae84-8633-42f5-ab2f-ff7ff32a4f97"
                        }
                      ],
                      "createdAt": "2026-07-28T03:04:11.000Z",
                      "updatedAt": "2026-07-28T03:04:11.000Z",
                      "uid": "35240-9545516b-a2d2-4d46-ba61-183ad89f231c"
                    }
                  ],
                  "id": "6eb9fcc5-e02b-44a9-8ae9-8f5a8f6d2351",
                  "createdAt": "2026-07-28T03:04:11.000Z",
                  "updatedAt": "2026-07-28T03:04:11.000Z",
                  "uid": "35240-6eb9fcc5-e02b-44a9-8ae9-8f5a8f6d2351"
                }
              ],
              "id": "4e6bbbbc-f5c9-4ca3-a1a7-9c9f9039b6b2",
              "createdAt": "2026-07-28T03:04:11.000Z",
              "updatedAt": "2026-07-28T03:04:11.000Z",
              "uid": "35240-4e6bbbbc-f5c9-4ca3-a1a7-9c9f9039b6b2"
            },
            {
              "name": "{order_id}",
              "item": [
                {
                  "name": "custom-attributes",
                  "item": [
                    {
                      "name": "{custom_attribute_key}",
                      "item": [
                        {
                          "name": "Square Delete Order Custom Attribute",
                          "id": "a21c49c1-2b21-46ea-b4c3-aa92f6a023fa",
                          "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/orders/:order_id/custom-attributes/:custom_attribute_key",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "v2",
                                "orders",
                                ":order_id",
                                "custom-attributes",
                                ":custom_attribute_key"
                              ],
                              "variable": [
                                {
                                  "id": "ff3b824b-f762-45d4-8507-d411256c76d4",
                                  "key": "order_id",
                                  "value": "<string>",
                                  "description": "(Required) The ID of the target [order](entity:Order)."
                                },
                                {
                                  "id": "b31d9cba-fbdf-4cef-9797-0b89e3f0ad0c",
                                  "key": "custom_attribute_key",
                                  "value": "<string>",
                                  "description": "(Required) The key of the custom attribute to delete.  This key must match the key of an\nexisting custom attribute definition."
                                }
                              ]
                            },
                            "description": "Deletes a [custom attribute](entity:CustomAttribute) associated with a customer profile.\n\nTo delete a custom attribute owned by another application, the `visibility` setting must be\n`VISIBILITY_READ_WRITE_VALUES`. Note that seller-defined custom attributes\n(also known as custom fields) are always set to `VISIBILITY_READ_WRITE_VALUES`."
                          },
                          "response": [
                            {
                              "id": "fa4f0e19-ab9e-4d09-971f-16cf90b4a8c9",
                              "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/orders/:order_id/custom-attributes/:custom_attribute_key",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "v2",
                                    "orders",
                                    ":order_id",
                                    "custom-attributes",
                                    ":custom_attribute_key"
                                  ],
                                  "variable": [
                                    {
                                      "key": "order_id"
                                    },
                                    {
                                      "key": "custom_attribute_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\": \"VALUE_TOO_HIGH\",\n      \"detail\": \"<string>\",\n      \"field\": \"<string>\"\n    },\n    {\n      \"category\": \"AUTHENTICATION_ERROR\",\n      \"code\": \"TOO_MANY_MAP_ENTRIES\",\n      \"detail\": \"<string>\",\n      \"field\": \"<string>\"\n    }\n  ]\n}",
                              "createdAt": "2026-07-28T03:04:11.000Z",
                              "updatedAt": "2026-07-28T03:04:11.000Z",
                              "uid": "35240-fa4f0e19-ab9e-4d09-971f-16cf90b4a8c9"
                            }
                          ],
                          "createdAt": "2026-07-28T03:04:11.000Z",
                          "updatedAt": "2026-07-28T03:04:11.000Z",
                          "uid": "35240-a21c49c1-2b21-46ea-b4c3-aa92f6a023fa"
                        },
                        {
                          "name": "Square Retrieve Order Custom Attribute",
                          "id": "6021bd0b-d010-439a-a61b-628b0d632b5a",
                          "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/orders/:order_id/custom-attributes/:custom_attribute_key?version=<integer>&with_definition=false",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "v2",
                                "orders",
                                ":order_id",
                                "custom-attributes",
                                ":custom_attribute_key"
                              ],
                              "query": [
                                {
                                  "description": "To enable [optimistic concurrency](https://developer.squareup.com/docs/build-basics/common-api-patterns/optimistic-concurrency)\ncontrol, include this optional field and specify the current version of the custom attribute.",
                                  "key": "version",
                                  "value": "<integer>"
                                },
                                {
                                  "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 attribute, \ninformation about the data type, or other definition details. The default value is `false`.",
                                  "key": "with_definition",
                                  "value": "false"
                                }
                              ],
                              "variable": [
                                {
                                  "id": "4acf192e-d77e-4ee4-856f-51f132b8fa82",
                                  "key": "order_id",
                                  "value": "<string>",
                                  "description": "(Required) The ID of the target [order](entity:Order)."
                                },
                                {
                                  "id": "d9d84538-e2f7-4dc9-bdc9-b872e9033aeb",
                                  "key": "custom_attribute_key",
                                  "value": "<string>",
                                  "description": "(Required) The key of the custom attribute to retrieve.  This key must match the key of an\nexisting custom attribute definition."
                                }
                              ]
                            },
                            "description": "Retrieves a [custom attribute](entity:CustomAttribute) associated with an order.\n\nYou can use the `with_definition` query parameter to also retrieve the custom attribute definition\nin the same call.\n\nTo retrieve a custom attribute owned by another application, the `visibility` setting must be\n`VISIBILITY_READ_ONLY` or `VISIBILITY_READ_WRITE_VALUES`. Note that seller-defined custom attributes\nalso known as custom fields) are always set to `VISIBILITY_READ_WRITE_VALUES`."
                          },
                          "response": [
                            {
                              "id": "ca82f7af-423d-46d8-9490-d91012faf39d",
                              "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/orders/:order_id/custom-attributes/:custom_attribute_key?version=<integer>&with_definition=false",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "v2",
                                    "orders",
                                    ":order_id",
                                    "custom-attributes",
                                    ":custom_attribute_key"
                                  ],
                                  "query": [
                                    {
                                      "description": "To enable [optimistic concurrency](https://developer.squareup.com/docs/build-basics/common-api-patterns/optimistic-concurrency)\ncontrol, include this optional field and specify the current version of the custom attribute.",
                                      "key": "version",
                                      "value": "<integer>"
                                    },
                                    {
                                      "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 attribute, \ninformation about the data type, or other definition details. The default value is `false`.",
                                      "key": "with_definition",
                                      "value": "false"
                                    }
                                  ],
                                  "variable": [
                                    {
                                      "key": "order_id"
                                    },
                                    {
                                      "key": "custom_attribute_key"
                                    }
                                  ]
                                }
                              },
                              "status": "OK",
                              "code": 200,
                              "_postman_previewlanguage": "json",
                              "header": [
                                {
                                  "key": "Content-Type",
                                  "value": "application/json"
                                }
                              ],
                              "cookie": [],
                              "responseTime": null,
                              "body": "{\n  \"custom_attribute\": {\n    \"key\": \"V79-n.2IdeYS.O48CyXd\",\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\": \"7jzIhM2pZ2hWVMo\",\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\": \"PAN_FAILURE\",\n      \"detail\": \"<string>\",\n      \"field\": \"<string>\"\n    },\n    {\n      \"category\": \"PAYMENT_METHOD_ERROR\",\n      \"code\": \"DELAYED_TRANSACTION_CAPTURED\",\n      \"detail\": \"<string>\",\n      \"field\": \"<string>\"\n    }\n  ]\n}",
                              "createdAt": "2026-07-28T03:04:11.000Z",
                              "updatedAt": "2026-07-28T03:04:11.000Z",
                              "uid": "35240-ca82f7af-423d-46d8-9490-d91012faf39d"
                            }
                          ],
                          "createdAt": "2026-07-28T03:04:11.000Z",
                          "updatedAt": "2026-07-28T03:04:11.000Z",
                          "uid": "35240-6021bd0b-d010-439a-a61b-628b0d632b5a"
                        },
                        {
                          "name": "Square Upsert Order Custom Attribute",
                          "id": "f576a054-d36e-48c8-ae8d-3c54ffe60009",
                          "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\": \"SLtTX3YVzAXrfhkttx9\",\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\": \"2MUW1U1AvgK5tbgzEUD\",\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  \"idempotency_key\": \"<string>\"\n}",
                              "options": {
                                "raw": {
                                  "headerFamily": "json",
                                  "language": "json"
                                }
                              }
                            },
                            "url": {
                              "raw": "{{baseUrl}}/v2/orders/:order_id/custom-attributes/:custom_attribute_key",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "v2",
                                "orders",
                                ":order_id",
                                "custom-attributes",
                                ":custom_attribute_key"
                              ],
                              "variable": [
                                {
                                  "id": "b2fe2349-b73b-4df9-bc5a-5138315c6b3b",
                                  "key": "order_id",
                                  "value": "<string>",
                                  "description": "(Required) The ID of the target [order](entity:Order)."
                                },
                                {
                                  "id": "d09299a2-6225-4609-a12d-dc07ed57bef4",
                                  "key": "custom_attribute_key",
                                  "value": "<string>",
                                  "description": "(Required) The key of the custom attribute to create or update.  This key must match the key \nof an existing custom attribute definition."
                                }
                              ]
                            },
                            "description": "Creates or updates a [custom attribute](entity:CustomAttribute) for an order.\n\nUse this endpoint to set the value of a custom attribute for a specific order.\nA custom attribute is based on a custom attribute definition in a Square seller account. (To create a\ncustom attribute definition, use the [CreateOrderCustomAttributeDefinition](api-endpoint:OrderCustomAttributes-CreateOrderCustomAttributeDefinition) endpoint.)\n\nTo create or update a custom attribute owned by another application, the `visibility` setting\nmust be `VISIBILITY_READ_WRITE_VALUES`. Note that seller-defined custom attributes\n(also known as custom fields) are always set to `VISIBILITY_READ_WRITE_VALUES`."
                          },
                          "response": [
                            {
                              "id": "0a7eb24d-6556-4c4a-ba77-72b96a49c59a",
                              "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\": \"SLtTX3YVzAXrfhkttx9\",\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\": \"2MUW1U1AvgK5tbgzEUD\",\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  \"idempotency_key\": \"<string>\"\n}",
                                  "options": {
                                    "raw": {
                                      "headerFamily": "json",
                                      "language": "json"
                                    }
                                  }
                                },
                                "url": {
                                  "raw": "{{baseUrl}}/v2/orders/:order_id/custom-attributes/:custom_attribute_key",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "v2",
                                    "orders",
                                    ":order_id",
                                    "custom-attributes",
                                    ":custom_attribute_key"
                                  ],
                                  "variable": [
                                    {
                                      "key": "order_id"
                                    },
                                    {
                                      "key": "custom_attribute_key"
                                    }
                                  ]
                                }
                              },
                              "status": "OK",
                              "code": 200,
                              "_postman_previewlanguage": "json",
                              "header": [
                                {
                                  "key": "Content-Type",
                                  "value": "application/json"
                                }
                              ],
                              "cookie": [],
                              "responseTime": null,
                              "body": "{\n  \"custom_attribute\": {\n    \"key\": \"cQY6tNo:omEZJotGjpk\",\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\": \"r-U0GcY\",\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\": \"AUTHENTICATION_ERROR\",\n      \"code\": \"TEMPORARY_ERROR\",\n      \"detail\": \"<string>\",\n      \"field\": \"<string>\"\n    },\n    {\n      \"category\": \"REFUND_ERROR\",\n      \"code\": \"CARD_EXPIRED\",\n      \"detail\": \"<string>\",\n      \"field\": \"<string>\"\n    }\n  ]\n}",
                              "createdAt": "2026-07-28T03:04:11.000Z",
                              "updatedAt": "2026-07-28T03:04:11.000Z",
                              "uid": "35240-0a7eb24d-6556-4c4a-ba77-72b96a49c59a"
                            }
                          ],
                          "createdAt": "2026-07-28T03:04:11.000Z",
                          "updatedAt": "2026-07-28T03:04:11.000Z",
                          "uid": "35240-f576a054-d36e-48c8-ae8d-3c54ffe60009"
                        }
                      ],
                      "id": "89b2f8af-1f70-429f-8f7a-1d6afa1b4d44",
                      "createdAt": "2026-07-28T03:04:11.000Z",
                      "updatedAt": "2026-07-28T03:04:11.000Z",
                      "uid": "35240-89b2f8af-1f70-429f-8f7a-1d6afa1b4d44"
                    },
                    {
                      "name": "Square List Order Custom Attributes",
                      "id": "2a9d72a5-05d8-46a6-812f-4a8d74123e50",
                      "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/orders/:order_id/custom-attributes?visibility_filter=READ&cursor=<string>&limit=<integer>&with_definitions=false",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "v2",
                            "orders",
                            ":order_id",
                            "custom-attributes"
                          ],
                          "query": [
                            {
                              "description": "Requests that all of the custom attributes be returned, or only those that are read-only or read-write.",
                              "key": "visibility_filter",
                              "value": "READ"
                            },
                            {
                              "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/working-with-apis/pagination).",
                              "key": "cursor",
                              "value": "<string>"
                            },
                            {
                              "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.\nFor more information, see [Pagination](https://developer.squareup.com/docs/working-with-apis/pagination).",
                              "key": "limit",
                              "value": "<integer>"
                            },
                            {
                              "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 attribute, \ninformation about the data type, or other definition details. The default value is `false`.",
                              "key": "with_definitions",
                              "value": "false"
                            }
                          ],
                          "variable": [
                            {
                              "id": "c1a12477-a9bb-4e5c-8bb6-7959f206eef6",
                              "key": "order_id",
                              "value": "<string>",
                              "description": "(Required) The ID of the target [order](entity:Order)."
                            }
                          ]
                        },
                        "description": "Lists the [custom attributes](entity:CustomAttribute) associated with an order.\n\nYou can use the `with_definitions` query parameter to also retrieve custom attribute definitions\nin the same call.\n\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": "6af3f17c-55c3-4de6-91a3-3c2a3b9ce735",
                          "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/orders/:order_id/custom-attributes?visibility_filter=READ&cursor=<string>&limit=<integer>&with_definitions=false",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "v2",
                                "orders",
                                ":order_id",
                                "custom-attributes"
                              ],
                              "query": [
                                {
                                  "description": "Requests that all of the custom attributes be returned, or only those that are read-only or read-write.",
                                  "key": "visibility_filter",
                                  "value": "READ"
                                },
                                {
                                  "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/working-with-apis/pagination).",
                                  "key": "cursor",
                                  "value": "<string>"
                                },
                                {
                                  "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.\nFor more information, see [Pagination](https://developer.squareup.com/docs/working-with-apis/pagination).",
                                  "key": "limit",
                                  "value": "<integer>"
                                },
                                {
                                  "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 attribute, \ninformation about the data type, or other definition details. The default value is `false`.",
                                  "key": "with_definitions",
                                  "value": "false"
                                }
                              ],
                              "variable": [
                                {
                                  "key": "order_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\": \"hFZS6x77:mcqEITHflNXYe6RIP01I4Px5je1GNdX0--JK\",\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\": \"Y63I2XbsA_d8i6gyDDA_fCg_bw2V561kdYsyrJ\",\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\": \"dWWWNseFlGBICGpdbypuHgNr_\",\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\": \"68mCFzpZq6eIPFuAydmH-9dV9y\",\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\": \"RATE_LIMIT_ERROR\",\n      \"code\": \"REQUEST_TIMEOUT\",\n      \"detail\": \"<string>\",\n      \"field\": \"<string>\"\n    },\n    {\n      \"category\": \"EXTERNAL_VENDOR_ERROR\",\n      \"code\": \"ACCESS_TOKEN_REVOKED\",\n      \"detail\": \"<string>\",\n      \"field\": \"<string>\"\n    }\n  ]\n}",
                          "createdAt": "2026-07-28T03:04:11.000Z",
                          "updatedAt": "2026-07-28T03:04:11.000Z",
                          "uid": "35240-6af3f17c-55c3-4de6-91a3-3c2a3b9ce735"
                        }
                      ],
                      "createdAt": "2026-07-28T03:04:11.000Z",
                      "updatedAt": "2026-07-28T03:04:11.000Z",
                      "uid": "35240-2a9d72a5-05d8-46a6-812f-4a8d74123e50"
                    }
                  ],
                  "id": "c4bde126-cd21-47dd-8bc6-a537f4556de4",
                  "createdAt": "2026-07-28T03:04:11.000Z",
                  "updatedAt": "2026-07-28T03:04:11.000Z",
                  "uid": "35240-c4bde126-cd21-47dd-8bc6-a537f4556de4"
                }
              ],
              "id": "97b6fba0-04bf-4dc2-9d61-33831d74088f",
              "createdAt": "2026-07-28T03:04:11.000Z",
              "updatedAt": "2026-07-28T03:04:11.000Z",
              "uid": "35240-97b6fba0-04bf-4dc2-9d61-33831d74088f"
            }
          ],
          "id": "42a04d4f-fb44-478a-bb8a-845ed74acef7",
          "createdAt": "2026-07-28T03:04:11.000Z",
          "updatedAt": "2026-07-28T03:04:11.000Z",
          "uid": "35240-42a04d4f-fb44-478a-bb8a-845ed74acef7"
        }
      ],
      "id": "1e3e766e-d27c-4ac2-923a-a5a8d65d786c",
      "createdAt": "2026-07-28T03:04:11.000Z",
      "updatedAt": "2026-07-28T03:04:11.000Z",
      "uid": "35240-1e3e766e-d27c-4ac2-923a-a5a8d65d786c"
    }
  ],
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://connect.squareup.com"
    }
  ]
}