Update Contact(s)

Answered

Comments

4 comments

  • Casper Fabricius

    When you need to synchronize items in Podio with external data, we recommend to set the external_id when you add the item. The external id can be any string value - in your case, the customers in magento probably have a numeric id.

    If you set the external id of each customer item to this magento id, you can then use Get item by external id to check if the customer has already been created, and then update the existing item on subsequent synchronization runs.

    Take care not to hit the rate limits when you do your initial import - you should check how many requests you have left and add appropriate delays.

    0
    Comment actions Permalink
  • Andreas Haugstrup Pedersen

    Tip about rate limits since I can see you are using PHP: You can use Podio::rate_limit() and Podio::rate_limit_remaining() after making an API call to see your total rate limit and the amount of remaining calls you can make for that particular call.

    0
    Comment actions Permalink
  • Patrick Steil

    Andreas, do the rate_limit() functions appear in v2 of the PHP wrappers?

    0
    Comment actions Permalink
  • Andreas Haugstrup Pedersen

    They do not. V2 will not receive any updates from my hand. You could backport it yourself if you want.

    0
    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk