SBLocation

SBLocation

This object represents a physical location associated with a merchant. Use it to manage the physical addresses where transactions can take place.

AttributeDescriptionTypeRequired
idUnique identifier of the locationlongrequired
nameName of the locationstringrequired
addressAddress of the locationAddressRequestrequired
longitudeLongitude of the locationnumberrequired
latitudeLatitude of the locationnumberrequired
merchantCategoryCodeMerchant category codestringrequired
currencyCurrency usedstringoptional
timezoneTimezone of the locationstringoptional
phoneNumberPhone number of the locationstringoptional
facebookUrlFacebook URL of the locationstringoptional
instagramUsernameInstagram username of the locationstringoptional
twitterUsernameTwitter username of the locationstringoptional
isActiveIndicates if the location is activebooloptional
localeLocale of the locationstringoptional
emailEmail address of the locationstringoptional
logoLogo URL of the locationstringoptional
imagesList of images associated with the locationList<SBImage>optional
{
    "id": 1,
    "name": "Main Store",
    "address": {
        "street": "123 Main St",
        "city": "Anytown",
        "state": "California",
        "stateCode": "CA",
        "postalCode": "12345",
        "country": "USA",
        "countryCode": "US",
        "location": {
			"longitude": -122.4194,
			"latitude": 37.7749
		}
    },
    "merchantCategoryCode": "1234",
    "currency": "USD",
    "timezone": "America/Los_Angeles",
    "phoneNumber": "(555) 555-5555",
    "email": "[email protected]",
    "locale": "en-CA",
    "isActive": true
}