Skip to content

Latest commit

 

History

History
58 lines (49 loc) · 1.49 KB

retrieve-location-response.md

File metadata and controls

58 lines (49 loc) · 1.49 KB

Retrieve Location Response

Defines the fields that the RetrieveLocation endpoint returns in a response.

Structure

RetrieveLocationResponse

Fields

Name Type Tags Description
Errors IList<Error> Optional Information about errors encountered during the request.
Location Location Optional Represents one of a business' locations.

Example (as JSON)

{
  "location": {
    "address": {
      "address_line_1": "123 Main St",
      "administrative_district_level_1": "CA",
      "country": "US",
      "locality": "San Francisco",
      "postal_code": "94114",
      "address_line_2": "address_line_26",
      "address_line_3": "address_line_32",
      "sublocality": "sublocality6"
    },
    "business_name": "Jet Fuel Coffee",
    "capabilities": [
      "CREDIT_CARD_PROCESSING"
    ],
    "country": "US",
    "created_at": "2016-09-19T17:33:12Z",
    "currency": "USD",
    "id": "18YC4JDH91E1H",
    "language_code": "en-US",
    "merchant_id": "3MYCJG5GVYQ8Q",
    "name": "Grant Park",
    "phone_number": "+1 650-354-7217",
    "status": "ACTIVE",
    "timezone": "America/Los_Angeles"
  },
  "errors": [
    {
      "category": "MERCHANT_SUBSCRIPTION_ERROR",
      "code": "MAP_KEY_LENGTH_TOO_LONG",
      "detail": "detail6",
      "field": "field4"
    }
  ]
}