printdotio / printio-api

Issues + wiki for the api. See http://print.io/api
0 stars 0 forks source link

Shopify webhooks endpoint update #41

Open mititch opened 8 years ago

mititch commented 8 years ago

Related: https://github.com/printdotio/printio-admin/issues/2623

For now we only support one type of webhooks from Shopify. But we need extend this, to use different. Shopify has 'X-Shopify-Topic' header in each webhook request with name of webhook. We can fetch it in our api endpoint and add to ShopifyWebhookEventData as new field (WebhookTopic for example).

micahasmith commented 8 years ago

when we do this, can we add the saving to the db of shopify responses to here?

boccio commented 8 years ago

Related: https://github.com/printdotio/printio-admin/issues/2623