Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need an updated version of the v0 getShipments API. #4339

Open
daviddecorso opened this issue Nov 18, 2024 · 3 comments
Open

Need an updated version of the v0 getShipments API. #4339

daviddecorso opened this issue Nov 18, 2024 · 3 comments
Assignees
Labels
closing soon enhancement New feature or request

Comments

@daviddecorso
Copy link

The v0 getShipments is almost completely useless since it only returns the FBA ID as an identifier on shipments and (unless I am misunderstanding something) you cannot use that to get the inbound plan or shipment objects from the v2024 API. If I wanted to, for example, cancel a shipment or change some details about it from the list I've been returned from getShipments v0 I just can't do that. For most operations you need the new shipment id AND inboundPlanId. It's basically a read-only list of shipment names and statuses at this point.

The only way I currently see to get all of someone's working shipments is to

  1. Get all inbound plans
  2. For each inbound plan call getShipment on the shipment ids listed in the plans
  3. For each of those you may still need an additional call to get all of the items if you need those as well.

Calling these APIs in tandem takes like 30+ seconds depending on the number of plans/shipments and is subject to rate limiting.

It's fine if I need to call getShipment and/or listShipmentItems to get detailed information about a shipment, but there really needs to be a way to get a summary of all of a user's shipments, either via an updated version of getShipments that returns the relevant ids (shipmentId and inboundPlanId), or by including summary information in the inbound plan.

@puppsupr
Copy link

puppsupr commented Nov 23, 2024

Hi,
As you pointed out, currently using the new FBA Inbound v2024 APIs, you need to call listInboundPlans to get a list of all the inbound plans based on creation/updated plan, then getInboundPlan to get the associated shipment IDs. Then do a listShipmentItems. You can also use getShipments, getShipmentItems or getShipmentItemsByShipmentId v0 operations which will not deprecate.

You can also use FBA reports for the same.

Thanks for the feedback on the new APIs. We will take it noted to improve.

@puppsupr puppsupr added enhancement New feature or request closing soon labels Nov 23, 2024
@asd6979448
Copy link

Hi, As you pointed out, currently using the new FBA Inbound v2024 APIs, you need to call listInboundPlans to get a list of all the inbound plans based on creation/updated plan, then getInboundPlan to get the associated shipment IDs. Then do a listShipmentItems. You can also use getShipments, getShipmentItems or getShipmentItemsByShipmentId v0 operations which will not deprecate.

You can also use FBA reports for the same.

Thanks for the feedback on the new APIs. We will take it noted to improve.

Hello, can this batch getshipments include the content of shipmentId such as sh91808591-5682-49fb-a50e-dd653cbb8a20?

@puppsupr
Copy link

Hi asd6979448,
The shipment id in getShipments corresponds to the shipment confirmation id in v2024 getShipment operation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
closing soon enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants