Hello, someone that has integrated Shopify could h...
# suitescript
i
Hello, someone that has integrated Shopify could help? Maybe this is something really simple but cant seem to get it. There is a webhook that create a custom record with a NS suitelet, but sometimes this skips orders, so I created a MR to run and all the skipped orders that are found, do a GET call to
/admin/orders.json?name=skipOrderName
, but the
HEADERS
response is different from the webhook to the
GET
call, there are different keys for example
b
shopify webhooks use headers to communicate context, the normal endpoint doesnt
not really sure what is meant by skipped, but if its an order that hit your suitelet and errored, you may want to store the request in netsuite to be reimported later
i
Oh by skipped I mean, for example in a saved search I have order numbers, 1,2,5,...the orders are always consecutive, so in this case, the orders, 3 and 4 are missing, so for those orders I do a request
d
What bundle are you using for the Shopify integration?