Skip to content
SynupAPI
Get an API key
POSTapi.synup.com/api/v4/locations/update

Update business location

Update Location

This API allows you to modify the attributes of an existing location within your account. It enables businesses to keep their location data up to date by updating key details such as address, contact information, business hours, categories, and other metadata.

Requires an API key. Send it as Authorization: API <your-key> — see Getting started.

Parameters

Body

NameTypeRequiredDescription
inputobjectrequired
input.idstringrequiredUnique identifier in Base64 encoded format. Must be in the format Location:<Location ID>
input.namestringoptionalName of the business
input.archivedbooleanoptionalIndicates if the location is archived. Read-only.
input.archivedAtstringoptionalTimestamp when the location was archived. Read-only.
input.billingPeriodstringoptionalBilling cycle period. Read-only.
input.bizUrlstringoptionalURL of the business website
input.bookingUrlnulloptionalURL for booking appointments. Applicable only for Food industry businesses
input.citystringoptionalCity where the business is located
input.countryIsostringoptionalCountry ISO code. Refer to the Places API for valid ISOs.
input.customAttributesarray of objectoptional
input.customAttributes[].archivedbooleanoptional
input.customAttributes[].enumValuesarray of stringoptional
input.customAttributes[].namestringoptional
input.customAttributes[].slugstringoptional
input.customAttributes[].typestringoptional
input.customAttributes[].valuearray of stringoptional
input.descriptionstringoptionalDetailed description of the business
input.facebookUrlstringoptionalURL of the business's Facebook page
input.googleAdsPhonestringoptionalGoogle Ads-specific phone number
input.hideAddressbooleanoptionalSet to true if location is a Service Area Business
input.instagramUrlstringoptionalURL of the business's Instagram page
input.linkedinUrlstringoptionalURL of the business's LinkedIn page
input.offeringsUrlnulloptionalURL for listing business offerings. Applicable only for food industry businesses
input.ownerEmailstringoptionalEmail of the business owner
input.ownerNamestringoptionalName of the business owner
input.paymentMethodsarray of stringoptionalAccepted payment methods ("VISA", "MASTERCARD", "AMEX", "CASH", "CHEQUE", "CRYPTO", "DINERS_CLUB", "DISCOVER", "FINANCING", "INVOICE", "TRAVELERS_CHECK", "APPLE_PAY", "SAMSUNG_PAY", "PAYPAL", "ANDROID_PAY" )
input.phonestringoptional
  • Must follow the international E.164 format. Ref here.
  • Do not include the + sign or country code.
  • Remove parentheses and special characters.
  • Example:
  • Incorrect: (123)-456-7890, +1-123-456-7890
  • Correct: 1234567890
input.additionalPhonesarray of stringoptionalAdditional contact phone numbers
input.pinterestUrlstringoptionalURL of the business's Pinterest page
input.postalCodestringoptionalPostal code of the business location
input.reservationUrlnulloptionalURL for making reservations. Applicable only for restaurant only businesses.
input.serviceItemsarray of stringoptional
input.stateIsostringoptionalState ISO code. Refer to the Places API for valid ISOs.
input.storeIdnulloptionalUnique store identifier. Must be unique across all locations.
input.streetstringoptionalStreet address of the business
input.street1stringoptionalAdditional street address information
input.subCategoryIdintegeroptionalID of the subcategory the business belongs to
input.additionalCategoryIdsarray of stringoptionalAdditional category IDs for the business
input.taglinestringoptionalTagline of the business
input.tagsarray of stringoptional
input.temporarilyClosedbooleanoptionalSet to true if the location's business hours should be marked as closed
input.tiktokUrlnulloptionalURL of the business's TikTok page
input.twitterUrlstringoptionalURL of the business's Twitter page
input.videosarray of stringoptionalList of valid video URLs
input.yearOfIncorporationintegeroptionalYear the business was established
input.youtubeUrlnulloptionalURL of the business's YouTube page
input.enabledSiteIdsarray of integeroptionalList of site IDs where the business details should be published
input.submissionDisabledSiteIdsarray of integeroptionalList of site IDs where the business details should not be published
input.placeActionLinksarray of objectrequired
input.placeActionLinks[].placeActionTypestringrequiredOne of the valid types.
APPOINTMENTONLINE_APPOINTMENTDINING_RESERVATIONFOOD_ORDERINGFOOD_DELIVERYFOOD_TAKEOUT
input.placeActionLinks[].isPreferredbooleanrequiredMarks this link preferred for its type. At most one preferred per type.
input.placeActionLinks[].uristringrequiredDestination URL.
input.placeActionLinks[].namestringoptionalThe link's identifier, returned by the read endpoints once the link has synced to Google. Optional on write — include it (when available) to target a specific saved link most accurately.
input.placeActionLinks[].actionstringoptionaladd (default) or delete (for deleting saved uri)
input.businessHoursarray of objectoptionalBusiness hours for each day of the week
input.businessHours[].daystringrequiredDay of the week | Special
MONDAYTUESDAYWEDNESDAYTHURSDAYFRIDAYSATURDAYSUNDAYSPECIAL
input.businessHours[].slotsarray of objectrequiredArray of time slots (minimum 1, maximum 2). Required only if type is OPEN.
input.businessHours[].slots[].startstringoptionalOpening time. Valid formats: <HH>:<MM>am OR <HH>:<MM>pm
input.businessHours[].slots[].endstringoptionalClosing time. Valid formats: <HH>:<MM>am OR <HH>:<MM>pm
input.businessHours[].typestringrequiredType of business hours (e.g., OPEN, CLOSED, OPEN_24x7)
OPENOPEN_24x7CLOSED
input.businessHours[].specialDatestringoptionalDay should be SPECIAL. Regular hours is mandatory. Regular hours is mandatory for special hours to be allowed

Request

Request
curl -X POST 'https://api.synup.com/api/v4/locations/update' \
  -H 'Authorization: API YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
  "input": {
    "id": "TG9jYXRpb246MTE4MjcxOA==",
    "name": "Greenleaf Bakery 2",
    "businessHours": [
      {
        "day": "SUNDAY",
        "slots": null,
        "specialDate": null,
        "type": "CLOSED"
      },
      {
        "day": "MONDAY",
        "slots": [
          {
            "end": "12:00pm",
            "start": "08:00am"
          },
          {
            "end": "06:00pm",
            "start": "01:00pm"
          }
        ],
        "specialDate": null,
        "type": "OPEN"
      },
      {
        "day": "TUESDAY",
        "slots": [
          {
            "end": "06:00pm",
            "start": "08:00am"
          }
        ],
        "specialDate": null,
        "type": "OPEN"
      },
      {
        "day": "WEDNESDAY",
        "slots": [
          {
            "end": "06:00pm",
            "start": "08:00am"
          }
        ],
        "specialDate": null,
        "type": "OPEN"
      },
      {
        "day": "THURSDAY",
        "slots": [
          {
            "end": "06:00pm",
            "start": "08:00am"
          }
        ],
        "specialDate": null,
        "type": "OPEN"
      },
      {
        "day": "FRIDAY",
        "slots": [
          {
            "end": "06:00pm",
            "start": "08:00am"
          }
        ],
        "specialDate": null,
        "type": "OPEN"
      },
      {
        "day": "SATURDAY",
        "slots": [
          {
            "end": "04:00pm",
            "start": "08:00am"
          }
        ],
        "specialDate": null,
        "type": "OPEN"
      },
      {
        "day": "SPECIAL",
        "slots": [
          {
            "end": "04:00pm",
            "start": "08:00am"
          }
        ],
        "specialDate": "2025-07-12",
        "type": "OPEN"
      }
    ],
    "placeActionLinks": [
      {
        "placeActionType": "FOOD_ORDERING",
        "uri": "https://order.example.com",
        "name": "<link-name-if-synced>",
        "action": "delete"
      },
      {
        "placeActionType": "FOOD_ORDERING",
        "uri": "https://new-order.example.com",
        "isPreferred": true,
        "action": "add"
      },
      {
        "placeActionType": "FOOD_ORDERING",
        "uri": "https://ordering.sample_discovered_url.com",
        "isPreferred": false,
        "action": "add"
      }
    ]
  }
}'

Responses

StatusDescription
200Location created successfully
400
Example response (generated from the schema)
{
  "data": {
    "updateLocation": {
      "clientMutationId": null,
      "errors": [
        {
          "code": "string",
          "contextInfo": [
            {
              "key": null,
              "value": null
            }
          ],
          "message": "string"
        }
      ],
      "location": {
        "accountId": 0,
        "additionalCategoryIds": [
          "string"
        ],
        "additionalInfo": null,
        "additionalPhones": [
          "string"
        ],
        "archived": true,
        "archivedAt": null,
        "billingPeriod": null,
        "bizUrl": "string",
        "bookingUrl": null,
        "businessHours": [
          {
            "day": "string",
            "slots": [
              null
            ],
            "specialDate": "string",
            "type": "string"
          }
        ],
        "categoryId": 0,
        "city": "string",
        "countryIso": "string",
        "customAttributes": [
          {
            "archived": true,
            "enumValues": [
              null
            ],
            "name": "string",
            "slug": "string",
            "type": "string",
            "value": [
              null
            ]
          }
        ],
        "databaseId": 0,
        "description": "string",
        "facebookUrl": "string",
        "folderId": "string",
        "folderName": "string",
        "googleAdsPhone": "string",
        "googleplusUrl": null,
        "hideAddress": true,
        "id": "string",
        "instagramUrl": "string",
        "isRestaurant": true,
        "latitude": 0,
        "linkedinUrl": "string",
        "locationPhotos": [
          "string"
        ],
        "longitude": 0,
        "moreHours": [
          "string"
        ],
        "name": "string",
        "offeringsUrl": null,
        "ownerEmail": "string",
        "ownerName": "string",
        "package": "string",
        "paymentMethods": [
          "string"
        ],
        "phone": "string",
        "pinterestUrl": "string",
        "planId": 0,
        "planName": "string",
        "postalCode": "string",
        "publisherAttributes": [
          "string"
        ],
        "reservationUrl": null,
        "serviceItems": [
          "string"
        ],
        "stateIso": "string",
        "storeId": null,
        "street": "string",
        "street1": "string",
        "subCategory": {
          "databaseId": 0,
          "id": "string",
          "name": "string",
          "primary": true
        },
        "subCategoryId": 0,
        "subCategoryName": "string",
        "tagline": "string",
        "tags": [
          "string"
        ],
        "temporarilyClosed": true,
        "tiktokUrl": null,
        "toplineMessage": null,
        "toplineMessageText": null,
        "twitterUrl": "string",
        "videos": [
          "string"
        ],
        "yearOfIncorporation": 0,
        "youtubeUrl": null
      },
      "success": true,
      "warnings": [
        "string"
      ],
      "code": "string"
    }
  }
}

Response body

NameTypeRequiredDescription
dataobjectrequiredContains the response data for the create location request.
data.updateLocationobjectrequiredEncapsulates details about the created location.
data.updateLocation.clientMutationIdnullrequired
data.updateLocation.errorsarray of objectrequiredErrors encountered during the location creation process, if any. Null if no errors.
data.updateLocation.errors[].codestringoptional
data.updateLocation.errors[].contextInfoarray of objectoptional
data.updateLocation.errors[].contextInfo[].keystringoptional
data.updateLocation.errors[].contextInfo[].valuestringoptional
data.updateLocation.errors[].messagestringoptional
data.updateLocation.locationobjectrequiredDetails of the created location.
data.updateLocation.location.accountIdintegerrequiredUnique identifier of the account associated with the location.
data.updateLocation.location.additionalCategoryIdsarray of stringrequiredList of additional category IDs assigned to the location.
data.updateLocation.location.additionalInfonullrequiredAdditional information about the location, if applicable.
data.updateLocation.location.additionalPhonesarray of stringrequiredList of additional phone numbers associated with the location.
data.updateLocation.location.archivedbooleanrequiredIndicates whether the location has been archived.
data.updateLocation.location.archivedAtnullrequiredTimestamp indicating when the location was archived, if applicable.
data.updateLocation.location.billingPeriodnullrequiredBilling period associated with the location, if applicable.
data.updateLocation.location.bizUrlstringrequiredURL of the business website.
data.updateLocation.location.bookingUrlnullrequiredURL for booking appointments with the business.
data.updateLocation.location.businessHoursarray of objectrequiredList of business hours for each day of the week.
data.updateLocation.location.businessHours[].daystringrequiredDay of the week.
data.updateLocation.location.businessHours[].slotsarray of objectrequiredTime slots indicating when the business is open.
data.updateLocation.location.businessHours[].slots[].endstringrequiredClosing time of the slot.
data.updateLocation.location.businessHours[].slots[].startstringrequiredOpening time of the slot.
data.updateLocation.location.businessHours[].specialDatestringrequiredSpecial date for business hours, if applicable.
data.updateLocation.location.businessHours[].typestringrequiredType of business hour entry (e.g., OPEN, CLOSED).
data.updateLocation.location.categoryIdintegerrequiredID of the primary category assigned to the business.
data.updateLocation.location.citystringrequiredCity where the business is located.
data.updateLocation.location.countryIsostringrequiredCountry ISO code of the business location.
data.updateLocation.location.customAttributesarray of objectrequired
data.updateLocation.location.customAttributes[].archivedbooleanrequired
data.updateLocation.location.customAttributes[].enumValuesarray of stringrequired
data.updateLocation.location.customAttributes[].namestringrequired
data.updateLocation.location.customAttributes[].slugstringrequired
data.updateLocation.location.customAttributes[].typestringrequired
data.updateLocation.location.customAttributes[].valuearray of stringrequired
data.updateLocation.location.databaseIdintegerrequiredInternal id
data.updateLocation.location.descriptionstringrequiredDetailed description of the business.
data.updateLocation.location.facebookUrlstringrequiredURL of the business's Facebook page.
data.updateLocation.location.folderIdstringrequired
data.updateLocation.location.folderNamestringrequired
data.updateLocation.location.googleAdsPhonestringrequired
data.updateLocation.location.googleplusUrlnullrequired
data.updateLocation.location.hideAddressbooleanrequiredIf the location is an SAB
data.updateLocation.location.idstringrequiredEncoded Location Id in base64 format. Location:<Location id>
data.updateLocation.location.instagramUrlstringrequiredURL of the business's Instagram profile.
data.updateLocation.location.isRestaurantbooleanrequired
data.updateLocation.location.latitudenumberrequired
data.updateLocation.location.linkedinUrlstringrequiredURL of the business's LinkedIn profile.
data.updateLocation.location.locationPhotosarray of stringrequired
data.updateLocation.location.longitudenumberrequired
data.updateLocation.location.moreHoursarray of stringrequiredThe time periods during which a location is open for certain types of business. Only for Google
data.updateLocation.location.namestringrequiredName of the business.
data.updateLocation.location.offeringsUrlnullrequiredMenu URL
data.updateLocation.location.ownerEmailstringrequiredEmail of the business owner.
data.updateLocation.location.ownerNamestringrequired
data.updateLocation.location.packagestringrequired
data.updateLocation.location.paymentMethodsarray of stringrequiredAccepted payment methods ("VISA", "MASTERCARD", "AMEX", "CASH", "CHEQUE", "CRYPTO", "DINERS_CLUB", "DISCOVER", "FINANCING", "INVOICE", "TRAVELERS_CHECK", "APPLE_PAY", "SAMSUNG_PAY", "PAYPAL", "ANDROID_PAY" )
data.updateLocation.location.phonestringrequiredPrimary contact phone number.
data.updateLocation.location.pinterestUrlstringrequired
data.updateLocation.location.planIdintegerrequired
data.updateLocation.location.planNamestringrequired
data.updateLocation.location.postalCodestringrequired
data.updateLocation.location.publisherAttributesarray of stringrequired
data.updateLocation.location.reservationUrlnullrequired
data.updateLocation.location.serviceItemsarray of stringrequired
data.updateLocation.location.stateIsostringrequiredState ISO code of the business location.
data.updateLocation.location.storeIdnullrequiredUnique store identifier, if applicable.
data.updateLocation.location.streetstringrequiredStreet address of the business.
data.updateLocation.location.street1stringrequired
data.updateLocation.location.subCategoryobjectrequired
data.updateLocation.location.subCategory.databaseIdintegerrequired
data.updateLocation.location.subCategory.idstringrequired
data.updateLocation.location.subCategory.namestringrequired
data.updateLocation.location.subCategory.primarybooleanrequired
data.updateLocation.location.subCategoryIdintegerrequired
data.updateLocation.location.subCategoryNamestringrequired
data.updateLocation.location.taglinestringrequired
data.updateLocation.location.tagsarray of stringrequired
data.updateLocation.location.temporarilyClosedbooleanrequiredIndicates whether the business is temporarily closed.
data.updateLocation.location.tiktokUrlnullrequired
data.updateLocation.location.toplineMessagenullrequired
data.updateLocation.location.toplineMessageTextnullrequired
data.updateLocation.location.twitterUrlstringrequiredURL of the business's Twitter profile.
data.updateLocation.location.videosarray of stringrequired
data.updateLocation.location.yearOfIncorporationintegerrequiredYear in which the business was established.
data.updateLocation.location.youtubeUrlnullrequired
data.updateLocation.successbooleanrequiredIndicates whether the location creation was successful.
data.updateLocation.warningsarray of stringrequiredList of warnings generated during the request processing, if any.
data.updateLocation.codestringrequired