Open pulkitsinghal opened 9 years ago
Some open questions:
GET /api/consignment_product/?consignment_id
cc @pzurek and @jtrotsky ... please feel free to weigh-in
@pzurek - At first look, the GET /api/stock_movements
endpoint looks pretty shocking. It returns all consignments and it does not accept any parameters. That's a lot of raw data to page through (download-wise) ... just to figure out if a given consignment has products attached ... no?
I'm not bashing anyone, I'm just trying to make sure I understand the API impact properly before I add this command.
An absolutely fair point but I'm just suggesting workarounds. This endpoint wasn't made for this, but it probably offers the easiest way to achieve what you are trying to do.
I think it will actually accept the since
parameter.
Reference: https://developers.vendhq.com/documentation/api/0.x/consignments.html#post-api-consignment-product