Skip to content

Square: Merchants schemas

3 Square schemas with complete fields and constraints.

← Merchants operations · All schemas

List Merchants — response body

FieldTypePresenceDescription and constraints
$objectRootThe response object returned by the [ListMerchant](api-endpoint:Merchants-ListMerchants) endpoint.
cursorJSONOptional
cursor (anyOf 1)integerAlternativeIf the response is truncated, the cursor to use in next request to fetch next set of objects.
cursor (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
errorsarrayOptionalInformation on errors encountered during the request.
errors[]ModelEach itemExpand Get Shift — response body — errors item
merchantarrayOptionalThe requested `Merchant` entities.
merchant[]ModelEach itemExpand Retrieve Merchant — response body — merchant

Referenced models: Get Shift — response body — errors item, Retrieve Merchant — response body — merchant

Retrieve Merchant — response body

FieldTypePresenceDescription and constraints
$objectRootThe response object returned by the [RetrieveMerchant](api-endpoint:Merchants-RetrieveMerchant) endpoint.
errorsarrayOptionalInformation on errors encountered during the request.
errors[]ModelEach itemExpand Get Shift — response body — errors item
merchantModelOptionalExpand Retrieve Merchant — response body — merchant
The requested `Merchant` object.

Referenced models: Get Shift — response body — errors item, Retrieve Merchant — response body — merchant

Retrieve Merchant — response body — merchant

FieldTypePresenceDescription and constraints
$objectRootRepresents a business that sells with Square.
business_nameJSONOptional
business_name (anyOf 1)stringAlternativeThe name of the merchant's overall business.
business_name (anyOf 2)nullAlternative
countryModelRequired within parentExpand Create Location — response body — location country
The country code associated with the merchant, in the two-letter format of ISO 3166. For example, `US` or `JP`.
See [Country](#type-country) for possible values
created_atstringOptionalThe time when the merchant was created, in RFC 3339 format.
For more information, see [Working with Dates](https://developer.squareup.com/docs/build-basics/working-with-dates).
Read only: true
currencyJSONOptional
currency (anyOf 1)ModelAlternativeExpand Create Location — response body — location currency
The currency associated with the merchant, in ISO 4217 format. For example, the currency code for US dollars is `USD`.
See [Currency](#type-currency) for possible values
currency (anyOf 2)nullAlternative
idstringOptionalThe Square-issued ID of the merchant.
language_codeJSONOptional
language_code (anyOf 1)stringAlternativeThe code indicating the [language preferences](https://developer.squareup.com/docs/build-basics/general-considerations/language-preferences) of the merchant, in [BCP 47 format](https://tools.ietf.org/html/bcp47#appendix-A). For example, `en-US` or `fr-CA`.
language_code (anyOf 2)nullAlternative
main_location_idJSONOptional
main_location_id (anyOf 1)stringAlternativeThe ID of the [main `Location`](https://developer.squareup.com/docs/locations-api#about-the-main-location) for this merchant.
main_location_id (anyOf 2)nullAlternative
statusJSONOptional
status (anyOf 1)stringAlternativeThe merchant's status.
See [MerchantStatus](#type-merchantstatus) for possible values
Known values: ACTIVE, INACTIVE
status (anyOf 2)nullAlternative

Referenced models: Create Location — response body — location country, Create Location — response body — location currency

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand how our website, product, and documentation are used.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

Advertising

Shares visits and sign-ups with Meta, Reddit, and X so we can measure which of our ads work.

You can change these choices at any time from Cookie settings.