Why isn't stock quantity updating after placing a partial order?

when i placed partial order after that stock quantity is not updated

Hi, @aron_web !

Thanks for reaching out in our Community forums and for sharing your concern, I’d be happy to help.

It sounds like you updated a partial order and noticed that the stock quantity for that item was not updated. Are you able to walk me through the process that led to this error. Also, kindly specify how you are currently tracking your inventory for that specific item, as this may be the reason as to why the inventory is not updating, Feel free to check out our brief guide here to ensure that your inventory is being managed correctly.

This may also be a technical issue, so we may need to access your account in order to gather more information. While we’re not able to provide account-specific support via Community Forums at this time, we’d be happy to continue assisting you through live chat, email, or callback. Please visit our Help Center and log in to your account to create a support request.

Kindly reply back to this thread with any questions or updates and we can continue our conversation further!

I am creating the order through shopify order api and I am creating the partial payment order as the request body and url is below:
url = ‘/admin/api/2021-10/orders.json’;
$order_array = array (
‘order’ =>
array (
‘line_items’ => $items,
‘send_receipt’ => true,
‘customer’ =>
array (
‘first_name’ => $first_name,
‘last_name’ => $last_name,
),
‘email’ => $email,
‘billing_address’ =>
array (
‘first_name’ => $first_name,
‘last_name’ => $last_name,
‘address1’ => $address_1,
‘address2’ => $address_2,
‘phone’ =>$phone_number,
‘city’ => $city,
‘province’ => $state,
‘country’ => $country,
‘zip’ => $zip
),
‘shipping_address’ =>
array (
‘first_name’ => $first_name,
‘last_name’ => $last_name,
‘address1’ => $address_1,
‘address2’ => $address_2,
‘phone’ =>$phone_number,
‘city’ => $city,
‘province’ => $state,
‘country’ => $country,
‘zip’ => $zip
),
“fulfillment_status” => “fulfilled”,
“financial_status” => “partially_paid”,
“transactions” => array(
0 => array(
“kind” => “capture”,
“status” => “success”,
“currency” => $currency,
“gateway” => “Mpay”,
“amount” => $trans_amount,
“authorization” => $trans_id
),
),
)
);
Using above data I am creating order through curl but inventory is not changing. If I create normal order then quantity is changing means I have product of amount 100 and quantity is 100 and I have passed the data with amount 100 & quantity 2 in api then order is created and inventory changed it becomes 98. Now I create another order of same product but I pass amount 50 but in actual it’s amount is 100 and pass the quantity 2 then order is created with partial paid but quantity is not changing it remains 98 but it should change to 96 and it’s not changing.
Below is my store url:-
https://playtoys5566.myshopify.com/

Please check and let me know.

Thanks,

Hi, @Mac!
I am creating the order using shopify order api and when amount is partial then quantity is not changing in backend and I have mentioned the data before so can you please check and let me know about it.

Thanks,