The response object returned by the CreateLocation endpoint.
CreateLocationResponse
Name | Type | Tags | Description | Getter | Setter |
---|---|---|---|---|---|
errors |
?(Error[]) |
Optional | Information about errors encountered during the request. | getErrors(): ?array | setErrors(?array errors): void |
location |
?Location |
Optional | Represents one of a business' locations. | getLocation(): ?Location | setLocation(?Location location): void |
{
"location": {
"address": {
"address_line_1": "1234 Peachtree St. NE",
"administrative_district_level_1": "GA",
"locality": "Atlanta",
"postal_code": "30309"
},
"business_name": "Jet Fuel Coffee",
"capabilities": [
"CREDIT_CARD_PROCESSING"
],
"coordinates": {
"latitude": 33.7889,
"longitude": -84.3841
},
"country": "US",
"created_at": "2022-02-19T17:58:25Z",
"currency": "USD",
"description": "Midtown Atlanta store",
"id": "3Z4V4WHQK64X9",
"language_code": "en-US",
"mcc": "7299",
"merchant_id": "3MYCJG5GVYQ8Q",
"name": "Midtown",
"status": "ACTIVE",
"timezone": "America/New_York",
"type": "PHYSICAL"
}
}