Jump to content

Edit History

rhythm

rhythm

Hello,

I am having trouble with WebService API. Endpoint /api/products/ gives "stock_availables" id's to deal with it I suppose.

The thing I am trying to do - retrieve all of the products information using /api/products/?display=full and check which product is available and not. I can't do additional requests for every product on the list. Variables like - quantity (always '0'), available_for_order, available_now, available_later (empty strings) are always the same and are not affected by product stock status. I don't need to even know the  exact quantity, only if it's in stock.

rhythm

rhythm

Hello,

I am having trouble with WebService API. Endpoint /api/products/ gives "stock_availables" id's to deal with it I suppose.

The thing I am trying to do - retrieve all of the products information using /api/products/?display=full and check which product is available and not. I can't do additional requests for every product on the list. Variables like - quantity, available_for_order, available_now, available_later are always the same and are not affected by product stock status. I don't need to even know the  exact quantity, only if it's in stock.

Also, how to display pre-discount price in the same api/products/ endpoint?

×
×
  • Create New...