Create variant draftOrder with custom price

Anthony_DGX
New Member
1 0 0

Hello!

 

I'm working on an integration between Shopify & my marketplace. 

 

We made it using a private app. When an order is made on my marketplace, I push it to Shopify by creating a draftOrder (then I pay it ...)

 

The issue is that I want to keep my inventory up-to-date on Shopify. So I have to use a variant_id when I create my order. But doing that, I'm not able to specify the order price on my marketplace (that can be different on the variant price in Shopify).

 

Do you have some advice?

 

Thank you in advance, 

 

Best Regards

 

0 Likes
greiseve
Explorer
50 1 24

Anthony,

sorry that I won't have an answer for you, but I'm trying to fetch all my draft orders and list them in the 'my account' section along with the orders in the customers/account.liquid theme. I thought the object draftOrder would be an easy one, but I can't find it listed under the objects (but in the API section).

Any advice?

Thanks!

0 Likes