Question

Shopify line items discounted price

  • 24 December 2021
  • 1 reply
  • 86 views

I’m trying to automatically create and order from a draft order in Shopify.

 

My idea was to use a webhook from shopify to Zapier and create a new order from there.

I’ve been succesfull at creating an order from the data I’m receiving from the webhook. The only challenge I still have is that I can’t apply a discount on each line items with Zapier.

I can only copy the retail price from the json received.

There is no option for a discount. Of course I could apply a discount to the whole order but my goal is to have the customer see the retail price and the discounted price per item as I would get normally from a draft order converted to an order in Shopify.

Is the an option missing in Zapier ? is there any way to acheive this ?

I tried applying tansfermations in the line item field with no success.


This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

1 reply

Userlevel 7
Badge +14

Hi @Pierre Grothé 

You may have to explore leveraging the Shopify API to create the Order with the desired parameters: https://shopify.dev/api

App APIs can be used in Zaps with the Webhooks app: https://zapier.com/apps/webhook/help