376 votes
0 answers
javascript - Shopify created_at_min parameter with event endpoint does not work?
Solution:
Ok, I solved this issue.
The problem was the amount of data the server was attempting to return was too large, so it was returning a 500 error.
Modifying the fetch URL to includecreated_at_max
solved the issue!
UrlFetchApp.fetch("https://lily-and-fox-usa.myshopify.com/admin/api/2023-01/events.json?created_at_min=2022-04-25T16:15:47%2B04:00&created_at_max=2022-04-26T16:15:47%2B04:00", options)
Undefined asked
Source
Didn't find the answer?
Our community is visited by hundreds of Shopify development professionals every day. Ask your question and get a quick answer for free.
Similar questions
Find the answer in similar questions on our website.
915 why does the login and password popup appear when you search for ajax using the api admin in shopify
Write quick answer
Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.