API: Inventory item price and sale percentage

edited September 2014 in API Vote Up0Vote Down
When querying a store's full inventory (/v1/inventory/list), we receive items where the "price" field already includes the discount specified by the "sale_percent" field. That "price" field therefore doesn't match the Price field seen on the web page. Also, the price specified by an item update (/v1/inventory/update) does expects a base price prior to any discount, which seems slightly inconsistent.

Is it intended that the /v1/inventory/list "price" fields include the discounts? That seems weird. I would just like to confirm one way or the other, so that software can be written accordingly.

Thank you!

P.S.
For BrickSync users reading this, this is not really an issue. At the moment, if the code does a "deep sync" for some reason, it incorrectly thinks that the BrickOwl prices for items on sale need an update. It uploads prices identical to the ones already present, so it's just a waste of processing and bandwidth.

Comments

Sign In or Register to comment.