The Moz Q&A Forum

    • Forum
    • Questions
    • My Q&A
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

    Browse the forum for helpful insights and fresh discussions about all things SEO.

    1. SEO and Digital Marketing Q&A Forum
    2. Categories
    3. API
    4. Location Data Batch Updates via the MOZ API

    Location Data Batch Updates via the MOZ API

    API
    3 3 38
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • yuca.pro
      yuca.pro last edited by

      According to the MOZ API documentation, I am able to update multiple Locations in a batch in order to create or update their location data, currently 130 locations. I have successfully created a batch and the API returned the $id, as I expected.

      Yet, it doesn't make clear how the multiple locations I want to update are supposed to be sent back to the API. I was expecting an upload of a CSV file or JSON data, and not Query Parameter as noted in the docs.

      When including a JSON file, properly formatted, as a binary upload, the response is still expecting a locations parameter. See error here:

      {     "status":"MISSING_PARAMETER",     "message":"locations missing. ",     "response": {          "locations":"MISSING_PARAMETER"                                }     }

      https://moz.com/developers/docs/local/api#_api_batch__id-PATCH

      1 Reply Last reply Reply Quote 1
      • Natalie-Alexis
        Natalie-Alexis last edited by

        Hi there!

        Thanks for writing us!

        This seems like a Moz Local Enterprise API issue.  For more assistance on this, you would want to reach out to enterpriseoperations@moz.com and a team member will followup with you as soon as possible.

        Thank you!

        1 Reply Last reply Reply Quote 1
        • Christy-Correll
          Christy-Correll last edited by

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          • API ACCESS to COMPETITOR DATA
            Martijn_Scheijbeler
            Martijn_Scheijbeler
            0
            3
            218

          • MOZ API - Search Visibility
            thomas.deruiter
            thomas.deruiter
            0
            3
            223

          • Is everybody seeing DA/PA-drops after last MOZ-api update?
            muzzmoz
            muzzmoz
            3
            29
            3.1k

          • Is Url-Metrics Historical data available via API?
            Haystak
            Haystak
            0
            3
            436

          • Spam Score and Social & Contact data are now in the Moz API
            4
            1
            8.2k

          • Moz API, "Keyword Difficulty" and Bing Search Volume? And API "rows" and "requests"
            DavidLee
            DavidLee
            0
            4
            1.3k

          • How to best use MOZ api?
            JoelDay
            JoelDay
            0
            2
            153

          • Will the MOZ API display
            SamWeber
            SamWeber
            0
            2
            86

          Get started with Moz Pro!

          Unlock the power of advanced SEO tools and data-driven insights.

          Start my free trial
          Products
          • Moz Pro
          • Moz Local
          • Moz API
          • Moz Data
          • STAT
          • Product Updates
          Moz Solutions
          • SMB Solutions
          • Agency Solutions
          • Enterprise Solutions
          • Digital Marketers
          Free SEO Tools
          • Domain Authority Checker
          • Link Explorer
          • Keyword Explorer
          • Competitive Research
          • Brand Authority Checker
          • Local Citation Checker
          • MozBar Extension
          • MozCast
          Resources
          • Blog
          • SEO Learning Center
          • Help Hub
          • Beginner's Guide to SEO
          • How-to Guides
          • Moz Academy
          • API Docs
          About Moz
          • About
          • Team
          • Careers
          • Contact
          Why Moz
          • Case Studies
          • Testimonials
          Get Involved
          • Become an Affiliate
          • MozCon
          • Webinars
          • Practical Marketer Series
          • MozPod
          Connect with us

          Contact the Help team

          Join our newsletter
          Moz logo
          © 2021 - 2026 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
          • Accessibility
          • Terms of Use
          • Privacy