Creating a checkout with dynamic price for line items

fabiancpl
New Member
7 0 0

Hi guys,

 

I am using the Checkout API for processing orders in my sales channels app. On my app, I can give dynamic discounts based on quantity, countdowns, etc...

 

How can I set a custom price for the current products when I am creating the checkout? When I try to set my price, this value is not taken into account.

 

My references:

https://shopify.dev/apps/channels/checkout-api

https://shopify.dev/api/admin-rest/2021-10/resources/checkout#[post]/admin/api/2021-10/checkouts.jso...

 

Thanks in advance.

 

Fabian

banned
Replies 0 (0)