Square · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Square Customer Custom Attributes API

11 actions 11 updates phrasing extends openapi/square-customercustomattributes-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for Square's API. It is a proposal applied on top of the contract, not a document Square publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 11

$.info
$.paths['/v2/customers/custom-attribute-definitions'].get
$.paths['/v2/customers/custom-attribute-definitions'].post
$.paths['/v2/customers/custom-attribute-definitions/{key}'].get
$.paths['/v2/customers/custom-attribute-definitions/{key}'].put
$.paths['/v2/customers/custom-attribute-definitions/{key}'].delete
$.paths['/v2/customers/custom-attributes/bulk-upsert'].post
$.paths['/v2/customers/{customer_id}/custom-attributes'].get
$.paths['/v2/customers/{customer_id}/custom-attributes/{key}'].get
$.paths['/v2/customers/{customer_id}/custom-attributes/{key}'].post
$.paths['/v2/customers/{customer_id}/custom-attributes/{key}'].delete

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for Square Customer Custom Attributes API
  version: 1.0.0
extends: openapi/square-customercustomattributes-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-09-26'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 10
- target: $.paths['/v2/customers/custom-attribute-definitions'].get
  update:
    x-apievangelist-phrasing:
      intent: List customer custom attribute definitions
      effect: read
      questions:
      - What custom fields have been defined for customer profiles?
      - Can I page through all customer attribute definitions in my account?
      instructions:
      - text: List customer custom attribute definitions.
      - text: Show customer attribute definitions, {limit} per page.
        slots:
          limit: query.limit
      method: generated
      generated: '2026-09-26'
- target: $.paths['/v2/customers/custom-attribute-definitions'].post
  update:
    x-apievangelist-phrasing:
      intent: Define a new customer custom attribute
      effect: write
      questions:
      - How do I add a custom field like favorite drink to customer profiles?
      - Can I set the data type and visibility of a new customer attribute?
      instructions:
      - text: Create customer custom attribute definition {custom_attribute_definition}.
        slots:
          custom_attribute_definition: requestBody.custom_attribute_definition
      - text: Define a new customer profile field using {custom_attribute_definition}.
        slots:
          custom_attribute_definition: requestBody.custom_attribute_definition
      method: generated
      generated: '2026-09-26'
- target: $.paths['/v2/customers/custom-attribute-definitions/{key}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a customer custom attribute definition
      effect: read
      questions:
      - What schema does a customer custom attribute definition use?
      - Can I read a specific version of a customer attribute definition?
      instructions:
      - text: Get customer custom attribute definition {key}.
        slots:
          key: path.key
      - text: Show customer attribute definition {key} at version {version}.
        slots:
          key: path.key
          version: query.version
      method: generated
      generated: '2026-09-26'
- target: $.paths['/v2/customers/custom-attribute-definitions/{key}'].put
  update:
    x-apievangelist-phrasing:
      intent: Update a customer custom attribute definition
      effect: write
      questions:
      - Can I change the name or visibility of a customer attribute definition?
      - Which parts of a customer custom attribute definition are editable?
      instructions:
      - text: Update customer custom attribute definition {key} with {custom_attribute_definition}.
        slots:
          key: path.key
          custom_attribute_definition: requestBody.custom_attribute_definition
      - text: Rename customer attribute definition {key} per {custom_attribute_definition}.
        slots:
          key: path.key
          custom_attribute_definition: requestBody.custom_attribute_definition
      method: generated
      generated: '2026-09-26'
- target: $.paths['/v2/customers/custom-attribute-definitions/{key}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a customer custom attribute definition
      effect: destructive
      questions:
      - Will deleting a customer attribute definition wipe its values from all profiles?
      - How do I retire a custom field from customer profiles?
      instructions:
      - text: Delete customer custom attribute definition {key}.
        slots:
          key: path.key
      - text: Remove customer attribute definition {key} and its values on every profile.
        slots:
          key: path.key
      method: generated
      generated: '2026-09-26'
- target: $.paths['/v2/customers/custom-attributes/bulk-upsert'].post
  update:
    x-apievangelist-phrasing:
      intent: Set custom attributes on many customers
      effect: write
      questions:
      - Can I set custom field values on many customer profiles in one request?
      - Is there a bulk way to fill a custom attribute across customers?
      instructions:
      - text: Bulk upsert customer custom attributes {values}.
        slots:
          values: requestBody.values
      - text: Write the customer attribute values in {values} across those profiles.
        slots:
          values: requestBody.values
      method: generated
      generated: '2026-09-26'
- target: $.paths['/v2/customers/{customer_id}/custom-attributes'].get
  update:
    x-apievangelist-phrasing:
      intent: List a customer's custom attributes
      effect: read
      questions:
      - Which custom attribute values are stored on a customer profile?
      - Can I get a customer's attributes with their definitions included?
      instructions:
      - text: List custom attributes for customer {customer_id}.
        slots:
          customer_id: path.customer_id
      - text: List customer {customer_id}'s custom attributes with definitions {with_definitions}.
        slots:
          customer_id: path.customer_id
          with_definitions: query.with_definitions
      method: generated
      generated: '2026-09-26'
- target: $.paths['/v2/customers/{customer_id}/custom-attributes/{key}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get one customer custom attribute
      effect: read
      questions:
      - What value does a customer have for one particular custom field?
      - Can I read a single customer attribute along with its definition?
      instructions:
      - text: Get custom attribute {key} for customer {customer_id}.
        slots:
          key: path.key
          customer_id: path.customer_id
      - text: Read customer {customer_id}'s value for attribute {key}.
        slots:
          customer_id: path.customer_id
          key: path.key
      method: generated
      generated: '2026-09-26'
- target: $.paths['/v2/customers/{customer_id}/custom-attributes/{key}'].post
  update:
    x-apievangelist-phrasing:
      intent: Set one custom attribute on a customer
      effect: write
      questions:
      - How do I set a custom field value on a single customer profile?
      - Does setting a customer attribute replace the previous value?
      instructions:
      - text: Set attribute {key} on customer {customer_id} to {custom_attribute}.
        slots:
          key: path.key
          customer_id: path.customer_id
          custom_attribute: requestBody.custom_attribute
      - text: Upsert customer {customer_id}'s custom attribute {key} with {custom_attribute}.
        slots:
          customer_id: path.customer_id
          key: path.key
          custom_attribute: requestBody.custom_attribute
      method: generated
      generated: '2026-09-26'
- target: $.paths['/v2/customers/{customer_id}/custom-attributes/{key}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete one custom attribute from a customer
      effect: destructive
      questions:
      - Can I clear one custom field value from a customer profile?
      - Why might deleting a customer attribute owned by another app fail?
      instructions:
      - text: Delete custom attribute {key} from customer {customer_id}.
        slots:
          key: path.key
          customer_id: path.customer_id
      - text: Clear customer {customer_id}'s value for attribute {key}.
        slots:
          customer_id: path.customer_id
          key: path.key
      method: generated
      generated: '2026-09-26'

Work with this as data

Every overlay here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for openapi overlays

4 MCP tools reach this
  • find_overlaysBrowse and filter every overlay in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/square-customercustomattributes-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.