Product with stock returning error "is no longer on stock" when added to cart

Groon
Tourist
5 0 2

Hey,

 

So, basically I am a App Developer and I'm having an issue, but happened with multiple clients(stores) last days (it is recently).

When I try to add some products to cart using /cart/add.js, it is returning a 422 error:

{"status":422,"message":"Erreur panier","description":"Le produit « SUBLIM-SERRAGE-VAGINAL » n'est déjà plus en stock."}

 

Translating:

{"status": 422, "message": "Cart error", "description": "The product" SUBLIM-SERRAGE-VAGINAL "is no longer in stock."}

 

But this product has stock(???), I can see by retrieving the product via REST API:

 inventory_management"=>"shopify"
 inventory_policy"=>"deny"
 inventory_quantity"=>300

 

Does not make any sense to me. Any ideas?

 

Thank you very much! Many of my customers are complaining about that and I don't know how to answer then. 

0 Likes
SBD_
Shopify Staff
Shopify Staff
1044 141 185

Hey @Groon,

 

Are you able to link me to an example?

0 Likes