Announcement

Collapse
No announcement yet.

what is entended use of the Miva API

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    what is entended use of the Miva API

    I have a PHP program running on our store's server. I wanted to retrieve product rows from the store's Product table into that program. I thought that I could use the API to do that using a curl call to the API. The call apparently runs but nothing is returned not even an error message. When I asked support about the issue they told me that I cannot call the API from our server. My question is: what is the intended use of the API?
    Thanks, Larry
    Larry
    Luce Kanun Web Design
    www.facebook.com/wajake41
    www.plus.google.com/116415026668025242914/posts?hl=en



    #2
    wajake41 Our support team must have been confused by your question because every store has access to the JSON API. It may be possible that they are not allowing you to use PHP to call the API. You may be getting a blank response because of a few reasons. I would suggest first testing out the API calls using our Postman Collection and Environment: https://www.postman.com/mivamerchant

    Using Postman you can update the environment variables in Postman with your API Token information and then make calls from Postman with a PHP CURL example. If you still have trouble shoot me an email.
    Nicholas Adkins
    Technical Training Specialist / Miva, Inc.
    [email protected]
    https://www.miva.com/mivalearn

    Comment


      #3
      Larry, there's also a PHP SDK to make some of PHP-specific usage of the API easier, so you can call the pre-built functions rather than writing from scratch: https://github.com/mivaecommerce/api-sdk-php
      David Hubbard
      CIO
      Miva
      [email protected]
      http://www.miva.com

      Comment


        #4
        Thank you Nick and David.
        Larry
        Luce Kanun Web Design
        www.facebook.com/wajake41
        www.plus.google.com/116415026668025242914/posts?hl=en


        Comment

        Working...
        X