Skip to content

Square: Locations schemas

19 Square schemas with complete fields and constraints.

← Locations operations · All schemas

Create Location — request body — body

FieldTypePresenceDescription and constraints
$objectRootThe request object for the [CreateLocation](api-endpoint:Locations-CreateLocation) endpoint.
locationModelOptionalExpand Create Location — request body — body location
The initial values of the location being created. The `name` field is required and must be unique within a seller account.
All other fields are optional, but any information you care about for the location should be included.
The remaining fields are automatically added based on the data from the [main location](https://developer.squareup.com/docs/locations-api#about-the-main-location).

Referenced models: Create Location — request body — body location

Create Location — request body — body location

FieldTypePresenceDescription and constraints
$objectRootRepresents one of a business' [locations](https://developer.squareup.com/docs/locations-api).
addressJSONOptional
address (anyOf 1)ModelAlternativeExpand Create Customer — request body — body address
The physical address of the location.
address (anyOf 2)nullAlternative
business_emailJSONOptional
business_email (anyOf 1)stringAlternativeThe email address of the location. This can be unique to the location and is not always the email address for the business owner or administrator.
Maximum length: 255
business_email (anyOf 2)nullAlternative
business_hoursJSONOptional
business_hours (anyOf 1)ModelAlternativeExpand Create Location — request body — body location business hours The hours of operation for a location
The hours of operation for the location.
business_hours (anyOf 2)nullAlternative
business_nameJSONOptional
business_name (anyOf 1)stringAlternativeThe name of the location's overall business. This name is present on receipts and other customer-facing branding, and can be changed no more than three times in a twelve-month period.
Maximum length: 255
business_name (anyOf 2)nullAlternative
capabilitiesarrayOptionalThe Square features that are enabled for the location.
See [LocationCapability](entity:LocationCapability) for possible values.
See [LocationCapability](#type-locationcapability) for possible values
Read only: true
capabilities[]stringEach itemThe capabilities a location might have.
One of: CREDIT_CARD_PROCESSING, AUTOMATIC_TRANSFERS, UNLINKED_REFUNDS
coordinatesJSONOptional
coordinates (anyOf 1)ModelAlternativeExpand Create Location — request body — body location coordinates Latitude and longitude coordinates
The physical coordinates (latitude and longitude) of the location.
coordinates (anyOf 2)nullAlternative
countryModelOptionalExpand Create Location — request body — body location country
The country of the location, in the two-letter format of ISO 3166. For example, `US` or `JP`.

See [Country](entity:Country) for possible values.
See [Country](#type-country) for possible values
Read only: true
created_atstringOptionalThe time when the location was created, in RFC 3339 format.
For more information, see [Working with Dates](https://developer.squareup.com/docs/build-basics/working-with-dates).
Maximum length: 25
Minimum length: 20
Read only: true
currencyModelOptionalExpand Create Location — request body — body location currency
The currency used for all transactions at this location,
in ISO 4217 format. For example, the currency code for US dollars is `USD`.
See [Currency](entity:Currency) for possible values.
See [Currency](#type-currency) for possible values
Read only: true
custom_receipt_textJSONOptional
custom_receipt_text (anyOf 1)stringAlternativeThe custom text that appears on receipts issued for this location.
This text can also be configured in the Seller Dashboard (Receipts section).
Maximum length: 1000
custom_receipt_text (anyOf 2)nullAlternative
descriptionJSONOptional
description (anyOf 1)stringAlternativeThe description of the location. For example, `Main Street location`.
Maximum length: 1024
description (anyOf 2)nullAlternative
facebook_urlJSONOptional
facebook_url (anyOf 1)stringAlternativeThe Facebook profile URL of the location. The URL should begin with 'facebook.com/'. For example, `https://www.facebook.com/square`.
Maximum length: 255
facebook_url (anyOf 2)nullAlternative
full_format_logo_urlstringOptionalThe URL of a full-format logo image for the location. When configured in the Seller
Dashboard (Receipts section), the logo appears on transactions (such as receipts and invoices) that Square generates on behalf of the seller.
This image can be wider than it is tall and should be at least 1280x648 pixels.
Read only: true
idstringOptionalA short generated string of letters and numbers that uniquely identifies this location instance.
Maximum length: 32
Read only: true
instagram_usernameJSONOptional
instagram_username (anyOf 1)stringAlternativeThe Instagram username of the location without the '@' symbol. For example, `square`.
Maximum length: 30
Minimum length: 1
instagram_username (anyOf 2)nullAlternative
language_codeJSONOptional
language_code (anyOf 1)stringAlternativeThe language associated with the location, in
[BCP 47 format](https://tools.ietf.org/html/bcp47#appendix-A).
For more information, see [Language Preferences](https://developer.squareup.com/docs/build-basics/general-considerations/language-preferences).
Maximum length: 5
Minimum length: 2
language_code (anyOf 2)nullAlternative
logo_urlstringOptionalThe URL of the logo image for the location. When configured in the Seller
Dashboard (Receipts section), the logo appears on transactions (such as receipts and invoices) that Square generates on behalf of the seller.
This image should have a roughly square (1:1) aspect ratio and should be at least 200x200 pixels.
Maximum length: 255
Read only: true
mccJSONOptional
mcc (anyOf 1)stringAlternativeA four-digit number that describes the kind of goods or services sold at the location.
The [merchant category code (MCC)](https://developer.squareup.com/docs/locations-api#initialize-a-merchant-category-code) of the location as standardized by ISO 18245.
For example, `5045`, for a location that sells computer goods and software.
Maximum length: 4
Minimum length: 4
mcc (anyOf 2)nullAlternative
merchant_idstringOptionalThe ID of the merchant that owns the location.
Maximum length: 32
Read only: true
nameJSONOptional
name (anyOf 1)stringAlternativeThe name of the location.
This information appears in the Seller Dashboard as the nickname.
A location name must be unique within a seller account.
Maximum length: 255
name (anyOf 2)nullAlternative
phone_numberJSONOptional
phone_number (anyOf 1)stringAlternativeThe phone number of the location. For example, `+1 855-700-6000`.
Maximum length: 17
phone_number (anyOf 2)nullAlternative
pos_background_urlstringOptionalThe URL of the Point of Sale background image for the location.
Maximum length: 255
Read only: true
return_policyJSONOptional
return_policy (anyOf 1)stringAlternativeThe return policy that appears on receipts issued for this location.
This text can also be configured in the Seller Dashboard (Receipts section).
Maximum length: 1000
return_policy (anyOf 2)nullAlternative
statusJSONOptional
status (anyOf 1)stringAlternativeA location's status.
The status of the location.
See [LocationStatus](#type-locationstatus) for possible values
One of: ACTIVE, INACTIVE
status (anyOf 2)nullAlternative
tax_idsModelOptionalExpand Create Location — response body — location tax ids
The tax IDs for this location.
Read only: true
timezoneJSONOptional
timezone (anyOf 1)stringAlternativeThe [IANA time zone](https://www.iana.org/time-zones) identifier for
the time zone of the location. For example, `America/Los_Angeles`.
Maximum length: 30
timezone (anyOf 2)nullAlternative
twitter_usernameJSONOptional
twitter_username (anyOf 1)stringAlternativeThe Twitter username of the location without the '@' symbol. For example, `Square`.
Maximum length: 15
Minimum length: 1
twitter_username (anyOf 2)nullAlternative
typeJSONOptional
type (anyOf 1)stringAlternativeA location's type.
The type of the location.
See [LocationType](#type-locationtype) for possible values
One of: PHYSICAL, MOBILE
type (anyOf 2)nullAlternative
website_urlJSONOptional
website_url (anyOf 1)stringAlternativeThe website URL of the location. For example, `https://squareup.com`.
Maximum length: 255
website_url (anyOf 2)nullAlternative

Referenced models: Create Customer — request body — body address, Create Location — request body — body location business hours The hours of operation for a location, Create Location — request body — body location coordinates Latitude and longitude coordinates, Create Location — request body — body location country, Create Location — request body — body location currency, Create Location — response body — location tax ids

Create Location — request body — body location business hours The hours of operation for a location

FieldTypePresenceDescription and constraints
$objectRootThe hours of operation for a location.
periodsJSONOptional
periods (anyOf 1)arrayAlternativeThe list of time periods during which the business is open. There can be at most 10 periods per day.
periods (anyOf 1)[]ModelEach itemExpand Create Location — request body — body location business hours The hours of operation for a location periods array item
periods (anyOf 2)nullAlternative

Referenced models: Create Location — request body — body location business hours The hours of operation for a location periods array item

Create Location — request body — body location business hours The hours of operation for a location periods array item

FieldTypePresenceDescription and constraints
$objectRootRepresents a period of time during which a business location is open.
day_of_weekJSONOptional
day_of_week (anyOf 1)stringAlternativeIndicates the specific day of the week.
The day of the week for this time period.
See [DayOfWeek](#type-dayofweek) for possible values
One of: SUN, MON, TUE, WED, THU, FRI, SAT
day_of_week (anyOf 2)nullAlternative
end_local_timeJSONOptional
end_local_time (anyOf 1)stringAlternativeThe end time of a business hours period, specified in local time using partial-time
RFC 3339 format. For example, `21:00:00` for a period ending at 9:00 in the evening.
Note that the seconds value is always :00, but it is appended for conformance to the RFC.
end_local_time (anyOf 2)nullAlternative
start_local_timeJSONOptional
start_local_time (anyOf 1)stringAlternativeThe start time of a business hours period, specified in local time using partial-time
RFC 3339 format. For example, `8:30:00` for a period starting at 8:30 in the morning.
Note that the seconds value is always :00, but it is appended for conformance to the RFC.
start_local_time (anyOf 2)nullAlternative

Create Location — request body — body location coordinates Latitude and longitude coordinates

FieldTypePresenceDescription and constraints
$objectRootLatitude and longitude coordinates.
latitudeJSONOptional
latitude (anyOf 1)numberAlternativeThe latitude of the coordinate expressed in degrees.
latitude (anyOf 2)nullAlternative
longitudeJSONOptional
longitude (anyOf 1)numberAlternativeThe longitude of the coordinate expressed in degrees.
longitude (anyOf 2)nullAlternative

Create Location — request body — body location country

FieldTypePresenceDescription and constraints
$stringRootIndicates the country associated with another entity, such as a business.
Values are in [ISO 3166-1-alpha-2 format](http://www.iso.org/iso/home/standards/country_codes.htm).
One of: ZZ, AD, AE, AF, AG, AI, AL, AM, AO, AQ, AR, AS, AT, AU, AW, AX, AZ, BA, BB, BD, BE, BF, BG, BH, BI, BJ, BL, BM, BN, BO, BQ, BR, BS, BT, BV, BW, BY, BZ, CA, CC, CD, CF, CG, CH, CI, CK, CL, CM, CN, CO, CR, CU, CV, CW, CX, CY, CZ, DE, DJ, DK, DM, DO, DZ, EC, EE, EG, EH, ER, ES, ET, FI, FJ, FK, FM, FO, FR, GA, GB, GD, GE, GF, GG, GH, GI, GL, GM, GN, GP, GQ, GR, GS, GT, GU, GW, GY, HK, HM, HN, HR, HT, HU, ID, IE, IL, IM, IN, IO, IQ, IR, IS, IT, JE, JM, JO, JP, KE, KG, KH, KI, KM, KN, KP, KR, KW, KY, KZ, LA, LB, LC, LI, LK, LR, LS, LT, LU, LV, LY, MA, MC, MD, ME, MF, MG, MH, MK, ML, MM, MN, MO, MP, MQ, MR, MS, MT, MU, MV, MW, MX, MY, MZ, NA, NC, NE, NF, NG, NI, NL, NO, NP, NR, NU, NZ, OM, PA, PE, PF, PG, PH, PK, PL, PM, PN, PR, PS, PT, PW, PY, QA, RE, RO, RS, RU, RW, SA, SB, SC, SD, SE, SG, SH, SI, SJ, SK, SL, SM, SN, SO, SR, SS, ST, SV, SX, SY, SZ, TC, TD, TF, TG, TH, TJ, TK, TL, TM, TN, TO, TR, TT, TV, TW, TZ, UA, UG, UM, US, UY, UZ, VA, VC, VE, VG, VI, VN, VU, WF, WS, YE, YT, ZA, ZM, ZW

Create Location — request body — body location currency

FieldTypePresenceDescription and constraints
$stringRootIndicates the associated currency for an amount of money. Values correspond
to [ISO 4217](https://wikipedia.org/wiki/ISO_4217).
One of: UNKNOWN_CURRENCY, AED, AFN, ALL, AMD, ANG, AOA, ARS, AUD, AWG, AZN, BAM, BBD, BDT, BGN, BHD, BIF, BMD, BND, BOB, BOV, BRL, BSD, BTN, BWP, BYR, BZD, CAD, CDF, CHE, CHF, CHW, CLF, CLP, CNY, COP, COU, CRC, CUC, CUP, CVE, CZK, DJF, DKK, DOP, DZD, EGP, ERN, ETB, EUR, FJD, FKP, GBP, GEL, GHS, GIP, GMD, GNF, GTQ, GYD, HKD, HNL, HRK, HTG, HUF, IDR, ILS, INR, IQD, IRR, ISK, JMD, JOD, JPY, KES, KGS, KHR, KMF, KPW, KRW, KWD, KYD, KZT, LAK, LBP, LKR, LRD, LSL, LTL, LVL, LYD, MAD, MDL, MGA, MKD, MMK, MNT, MOP, MRO, MUR, MVR, MWK, MXN, MXV, MYR, MZN, NAD, NGN, NIO, NOK, NPR, NZD, OMR, PAB, PEN, PGK, PHP, PKR, PLN, PYG, QAR, RON, RSD, RUB, RWF, SAR, SBD, SCR, SDG, SEK, SGD, SHP, SLL, SLE, SOS, SRD, SSP, STD, SVC, SYP, SZL, THB, TJS, TMT, TND, TOP, TRY, TTD, TWD, TZS, UAH, UGX, USD, USN, USS, UYI, UYU, UZS, VEF, VND, VUV, WST, XAF, XAG, XAU, XBA, XBB, XBC, XBD, XCD, XDR, XOF, XPD, XPF, XPT, XTS, XXX, YER, ZAR, ZMK, ZMW, BTC, XUS

Create Location — response body

FieldTypePresenceDescription and constraints
$objectRootThe response object returned by the [CreateLocation](api-endpoint:Locations-CreateLocation) endpoint.
errorsarrayOptionalInformation about [errors](https://developer.squareup.com/docs/build-basics/handling-errors) encountered during the request.
errors[]ModelEach itemExpand Get Shift — response body — errors item
locationModelOptionalExpand Create Location — response body — location
The newly created `Location` object.

Referenced models: Get Shift — response body — errors item, Create Location — response body — location

Create Location — response body — location

FieldTypePresenceDescription and constraints
$objectRootRepresents one of a business' [locations](https://developer.squareup.com/docs/locations-api).
addressJSONOptional
address (anyOf 1)ModelAlternativeExpand Get Payment — response body — payment billing address
The physical address of the location.
address (anyOf 2)nullAlternative
business_emailJSONOptional
business_email (anyOf 1)stringAlternativeThe email address of the location. This can be unique to the location and is not always the email address for the business owner or administrator.
Maximum length: 255
business_email (anyOf 2)nullAlternative
business_hoursJSONOptional
business_hours (anyOf 1)ModelAlternativeExpand Create Location — response body — location business hours The hours of operation for a location
The hours of operation for the location.
business_hours (anyOf 2)nullAlternative
business_nameJSONOptional
business_name (anyOf 1)stringAlternativeThe name of the location's overall business. This name is present on receipts and other customer-facing branding, and can be changed no more than three times in a twelve-month period.
Maximum length: 255
business_name (anyOf 2)nullAlternative
capabilitiesarrayOptionalThe Square features that are enabled for the location.
See [LocationCapability](entity:LocationCapability) for possible values.
See [LocationCapability](#type-locationcapability) for possible values
Read only: true
capabilities[]stringEach itemThe capabilities a location might have.
Known values: CREDIT_CARD_PROCESSING, AUTOMATIC_TRANSFERS, UNLINKED_REFUNDS
coordinatesJSONOptional
coordinates (anyOf 1)ModelAlternativeExpand Create Location — response body — location coordinates Latitude and longitude coordinates
The physical coordinates (latitude and longitude) of the location.
coordinates (anyOf 2)nullAlternative
countryModelOptionalExpand Create Location — response body — location country
The country of the location, in the two-letter format of ISO 3166. For example, `US` or `JP`.

See [Country](entity:Country) for possible values.
See [Country](#type-country) for possible values
Read only: true
created_atstringOptionalThe time when the location was created, in RFC 3339 format.
For more information, see [Working with Dates](https://developer.squareup.com/docs/build-basics/working-with-dates).
Maximum length: 25
Minimum length: 20
Read only: true
currencyModelOptionalExpand Create Location — response body — location currency
The currency used for all transactions at this location,
in ISO 4217 format. For example, the currency code for US dollars is `USD`.
See [Currency](entity:Currency) for possible values.
See [Currency](#type-currency) for possible values
Read only: true
custom_receipt_textJSONOptional
custom_receipt_text (anyOf 1)stringAlternativeThe custom text that appears on receipts issued for this location.
This text can also be configured in the Seller Dashboard (Receipts section).
Maximum length: 1000
custom_receipt_text (anyOf 2)nullAlternative
descriptionJSONOptional
description (anyOf 1)stringAlternativeThe description of the location. For example, `Main Street location`.
Maximum length: 1024
description (anyOf 2)nullAlternative
facebook_urlJSONOptional
facebook_url (anyOf 1)stringAlternativeThe Facebook profile URL of the location. The URL should begin with 'facebook.com/'. For example, `https://www.facebook.com/square`.
Maximum length: 255
facebook_url (anyOf 2)nullAlternative
full_format_logo_urlstringOptionalThe URL of a full-format logo image for the location. When configured in the Seller
Dashboard (Receipts section), the logo appears on transactions (such as receipts and invoices) that Square generates on behalf of the seller.
This image can be wider than it is tall and should be at least 1280x648 pixels.
Read only: true
idstringOptionalA short generated string of letters and numbers that uniquely identifies this location instance.
Maximum length: 32
Read only: true
instagram_usernameJSONOptional
instagram_username (anyOf 1)stringAlternativeThe Instagram username of the location without the '@' symbol. For example, `square`.
Maximum length: 30
Minimum length: 1
instagram_username (anyOf 2)nullAlternative
language_codeJSONOptional
language_code (anyOf 1)stringAlternativeThe language associated with the location, in
[BCP 47 format](https://tools.ietf.org/html/bcp47#appendix-A).
For more information, see [Language Preferences](https://developer.squareup.com/docs/build-basics/general-considerations/language-preferences).
Maximum length: 5
Minimum length: 2
language_code (anyOf 2)nullAlternative
logo_urlstringOptionalThe URL of the logo image for the location. When configured in the Seller
Dashboard (Receipts section), the logo appears on transactions (such as receipts and invoices) that Square generates on behalf of the seller.
This image should have a roughly square (1:1) aspect ratio and should be at least 200x200 pixels.
Maximum length: 255
Read only: true
mccJSONOptional
mcc (anyOf 1)stringAlternativeA four-digit number that describes the kind of goods or services sold at the location.
The [merchant category code (MCC)](https://developer.squareup.com/docs/locations-api#initialize-a-merchant-category-code) of the location as standardized by ISO 18245.
For example, `5045`, for a location that sells computer goods and software.
Maximum length: 4
Minimum length: 4
mcc (anyOf 2)nullAlternative
merchant_idstringOptionalThe ID of the merchant that owns the location.
Maximum length: 32
Read only: true
nameJSONOptional
name (anyOf 1)stringAlternativeThe name of the location.
This information appears in the Seller Dashboard as the nickname.
A location name must be unique within a seller account.
Maximum length: 255
name (anyOf 2)nullAlternative
phone_numberJSONOptional
phone_number (anyOf 1)stringAlternativeThe phone number of the location. For example, `+1 855-700-6000`.
Maximum length: 17
phone_number (anyOf 2)nullAlternative
pos_background_urlstringOptionalThe URL of the Point of Sale background image for the location.
Maximum length: 255
Read only: true
return_policyJSONOptional
return_policy (anyOf 1)stringAlternativeThe return policy that appears on receipts issued for this location.
This text can also be configured in the Seller Dashboard (Receipts section).
Maximum length: 1000
return_policy (anyOf 2)nullAlternative
statusJSONOptional
status (anyOf 1)stringAlternativeA location's status.
The status of the location.
See [LocationStatus](#type-locationstatus) for possible values
Known values: ACTIVE, INACTIVE
status (anyOf 2)nullAlternative
tax_idsModelOptionalExpand Create Location — response body — location tax ids
The tax IDs for this location.
Read only: true
timezoneJSONOptional
timezone (anyOf 1)stringAlternativeThe [IANA time zone](https://www.iana.org/time-zones) identifier for
the time zone of the location. For example, `America/Los_Angeles`.
Maximum length: 30
timezone (anyOf 2)nullAlternative
twitter_usernameJSONOptional
twitter_username (anyOf 1)stringAlternativeThe Twitter username of the location without the '@' symbol. For example, `Square`.
Maximum length: 15
Minimum length: 1
twitter_username (anyOf 2)nullAlternative
typeJSONOptional
type (anyOf 1)stringAlternativeA location's type.
The type of the location.
See [LocationType](#type-locationtype) for possible values
Known values: PHYSICAL, MOBILE
type (anyOf 2)nullAlternative
website_urlJSONOptional
website_url (anyOf 1)stringAlternativeThe website URL of the location. For example, `https://squareup.com`.
Maximum length: 255
website_url (anyOf 2)nullAlternative

Referenced models: Get Payment — response body — payment billing address, Create Location — response body — location business hours The hours of operation for a location, Create Location — response body — location coordinates Latitude and longitude coordinates, Create Location — response body — location country, Create Location — response body — location currency, Create Location — response body — location tax ids

Create Location — response body — location business hours The hours of operation for a location

FieldTypePresenceDescription and constraints
$objectRootThe hours of operation for a location.
periodsJSONOptional
periods (anyOf 1)arrayAlternativeThe list of time periods during which the business is open. There can be at most 10 periods per day.
periods (anyOf 1)[]ModelEach itemExpand Create Location — response body — location business hours The hours of operation for a location periods array item
periods (anyOf 2)nullAlternative

Referenced models: Create Location — response body — location business hours The hours of operation for a location periods array item

Create Location — response body — location business hours The hours of operation for a location periods array item

FieldTypePresenceDescription and constraints
$objectRootRepresents a period of time during which a business location is open.
day_of_weekJSONOptional
day_of_week (anyOf 1)stringAlternativeIndicates the specific day of the week.
The day of the week for this time period.
See [DayOfWeek](#type-dayofweek) for possible values
Known values: SUN, MON, TUE, WED, THU, FRI, SAT
day_of_week (anyOf 2)nullAlternative
end_local_timeJSONOptional
end_local_time (anyOf 1)stringAlternativeThe end time of a business hours period, specified in local time using partial-time
RFC 3339 format. For example, `21:00:00` for a period ending at 9:00 in the evening.
Note that the seconds value is always :00, but it is appended for conformance to the RFC.
end_local_time (anyOf 2)nullAlternative
start_local_timeJSONOptional
start_local_time (anyOf 1)stringAlternativeThe start time of a business hours period, specified in local time using partial-time
RFC 3339 format. For example, `8:30:00` for a period starting at 8:30 in the morning.
Note that the seconds value is always :00, but it is appended for conformance to the RFC.
start_local_time (anyOf 2)nullAlternative

Create Location — response body — location coordinates Latitude and longitude coordinates

FieldTypePresenceDescription and constraints
$objectRootLatitude and longitude coordinates.
latitudeJSONOptional
latitude (anyOf 1)JSONAlternative
latitude (anyOf 1) (anyOf 1)numberAlternativeThe latitude of the coordinate expressed in degrees.
latitude (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
latitude (anyOf 2)nullAlternative
longitudeJSONOptional
longitude (anyOf 1)JSONAlternative
longitude (anyOf 1) (anyOf 1)numberAlternativeThe longitude of the coordinate expressed in degrees.
longitude (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
longitude (anyOf 2)nullAlternative

Create Location — response body — location country

FieldTypePresenceDescription and constraints
$stringRootIndicates the country associated with another entity, such as a business.
Values are in [ISO 3166-1-alpha-2 format](http://www.iso.org/iso/home/standards/country_codes.htm).
Known values: ZZ, AD, AE, AF, AG, AI, AL, AM, AO, AQ, AR, AS, AT, AU, AW, AX, AZ, BA, BB, BD, BE, BF, BG, BH, BI, BJ, BL, BM, BN, BO, BQ, BR, BS, BT, BV, BW, BY, BZ, CA, CC, CD, CF, CG, CH, CI, CK, CL, CM, CN, CO, CR, CU, CV, CW, CX, CY, CZ, DE, DJ, DK, DM, DO, DZ, EC, EE, EG, EH, ER, ES, ET, FI, FJ, FK, FM, FO, FR, GA, GB, GD, GE, GF, GG, GH, GI, GL, GM, GN, GP, GQ, GR, GS, GT, GU, GW, GY, HK, HM, HN, HR, HT, HU, ID, IE, IL, IM, IN, IO, IQ, IR, IS, IT, JE, JM, JO, JP, KE, KG, KH, KI, KM, KN, KP, KR, KW, KY, KZ, LA, LB, LC, LI, LK, LR, LS, LT, LU, LV, LY, MA, MC, MD, ME, MF, MG, MH, MK, ML, MM, MN, MO, MP, MQ, MR, MS, MT, MU, MV, MW, MX, MY, MZ, NA, NC, NE, NF, NG, NI, NL, NO, NP, NR, NU, NZ, OM, PA, PE, PF, PG, PH, PK, PL, PM, PN, PR, PS, PT, PW, PY, QA, RE, RO, RS, RU, RW, SA, SB, SC, SD, SE, SG, SH, SI, SJ, SK, SL, SM, SN, SO, SR, SS, ST, SV, SX, SY, SZ, TC, TD, TF, TG, TH, TJ, TK, TL, TM, TN, TO, TR, TT, TV, TW, TZ, UA, UG, UM, US, UY, UZ, VA, VC, VE, VG, VI, VN, VU, WF, WS, YE, YT, ZA, ZM, ZW

Create Location — response body — location currency

FieldTypePresenceDescription and constraints
$stringRootIndicates the associated currency for an amount of money. Values correspond
to [ISO 4217](https://wikipedia.org/wiki/ISO_4217).
Known values: UNKNOWN_CURRENCY, AED, AFN, ALL, AMD, ANG, AOA, ARS, AUD, AWG, AZN, BAM, BBD, BDT, BGN, BHD, BIF, BMD, BND, BOB, BOV, BRL, BSD, BTN, BWP, BYR, BZD, CAD, CDF, CHE, CHF, CHW, CLF, CLP, CNY, COP, COU, CRC, CUC, CUP, CVE, CZK, DJF, DKK, DOP, DZD, EGP, ERN, ETB, EUR, FJD, FKP, GBP, GEL, GHS, GIP, GMD, GNF, GTQ, GYD, HKD, HNL, HRK, HTG, HUF, IDR, ILS, INR, IQD, IRR, ISK, JMD, JOD, JPY, KES, KGS, KHR, KMF, KPW, KRW, KWD, KYD, KZT, LAK, LBP, LKR, LRD, LSL, LTL, LVL, LYD, MAD, MDL, MGA, MKD, MMK, MNT, MOP, MRO, MUR, MVR, MWK, MXN, MXV, MYR, MZN, NAD, NGN, NIO, NOK, NPR, NZD, OMR, PAB, PEN, PGK, PHP, PKR, PLN, PYG, QAR, RON, RSD, RUB, RWF, SAR, SBD, SCR, SDG, SEK, SGD, SHP, SLL, SLE, SOS, SRD, SSP, STD, SVC, SYP, SZL, THB, TJS, TMT, TND, TOP, TRY, TTD, TWD, TZS, UAH, UGX, USD, USN, USS, UYI, UYU, UZS, VEF, VND, VUV, WST, XAF, XAG, XAU, XBA, XBB, XBC, XBD, XCD, XDR, XOF, XPD, XPF, XPT, XTS, XXX, YER, ZAR, ZMK, ZMW, BTC, XUS

Create Location — response body — location tax ids

FieldTypePresenceDescription and constraints
$objectRootIdentifiers for the location used by various governments for tax purposes.
es_nifstringOptionalThe NIF (Numero de Identificacion Fiscal) number is a nine-character tax identifier used in Spain.
If it is present, it has been validated. For example, `73628495A`.
Read only: true
eu_vatstringOptionalThe EU VAT number for this location. For example, `IE3426675K`.
If the EU VAT number is present, it is well-formed and has been
validated with VIES, the VAT Information Exchange System.
Read only: true
fr_nafstringOptionalThe French government uses the NAF (Nomenclature des Activités Françaises) to display and
track economic statistical data. This is also called the APE (Activite Principale de l’Entreprise) code.
For example, `6910Z`.
Read only: true
fr_siretstringOptionalThe SIRET (Système d'Identification du Répertoire des Entreprises et de leurs Etablissements)
number is a 14-digit code issued by the French INSEE. For example, `39922799000021`.
Read only: true
jp_qiistringOptionalThe QII (Qualified Invoice Issuer) number is a 14-character tax identifier used in Japan.
For example, `T1234567890123`.
Read only: true

List Locations — response body

FieldTypePresenceDescription and constraints
$objectRootDefines the fields that are included in the response body of a request
to the [ListLocations](api-endpoint:Locations-ListLocations) endpoint.

Either `errors` or `locations` is present in a given response (never both).
errorsarrayOptionalAny errors that occurred during the request.
errors[]ModelEach itemExpand Get Shift — response body — errors item
locationsarrayOptionalThe business locations.
locations[]ModelEach itemExpand Create Location — response body — location

Referenced models: Get Shift — response body — errors item, Create Location — response body — location

Retrieve Location — response body

FieldTypePresenceDescription and constraints
$objectRootDefines the fields that the [RetrieveLocation](api-endpoint:Locations-RetrieveLocation)
endpoint returns in a response.
errorsarrayOptionalInformation about errors encountered during the request.
errors[]ModelEach itemExpand Get Shift — response body — errors item
locationModelOptionalExpand Create Location — response body — location
The requested location.

Referenced models: Get Shift — response body — errors item, Create Location — response body — location

Update Location — request body — body

FieldTypePresenceDescription and constraints
$objectRootThe request object for the [UpdateLocation](api-endpoint:Locations-UpdateLocation) endpoint.
locationJSONOptional
location (anyOf 1)ModelAlternativeExpand Create Location — request body — body location
The `Location` object with only the fields to update.
location (anyOf 2)nullAlternative

Referenced models: Create Location — request body — body location

Update Location — response body

FieldTypePresenceDescription and constraints
$objectRootThe response object returned by the [UpdateLocation](api-endpoint:Locations-UpdateLocation) endpoint.
errorsarrayOptionalInformation about errors encountered during the request.
errors[]ModelEach itemExpand Get Shift — response body — errors item
locationModelOptionalExpand Create Location — response body — location
The updated `Location` object.

Referenced models: Get Shift — response body — errors item, Create Location — response body — location

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.