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

Fulfillment Inbound API 's listInboundPlanBoxes api have problem #4562

Open
bitdan opened this issue Jan 24, 2025 · 3 comments
Open

Fulfillment Inbound API 's listInboundPlanBoxes api have problem #4562

bitdan opened this issue Jan 24, 2025 · 3 comments
Assignees

Comments

@bitdan
Copy link

bitdan commented Jan 24, 2025

Use the interface to get/inbound/fba/2024-03-20/inboundplans/{Inboundplanid}/Boxes document.
The document said that the return content is
{ "pagination": { "nextToken": "string" }, "boxes": [ { "packageId": "string", "weight": { "unit": "LB", "value": 0 }, "dimensions": { "unitOfMeasurement": "IN", "length": 0, "width": 0, "height": 0 }, "quantity": 0, "boxId": "string", "templateName": "string", "items": [ { "msku": "string", "asin": "string", "fnsku": "string", "labelOwner": "AMAZON", "quantity": 1, "expiration": "string", "manufacturingLotCode": "string", "prepInstructions": [ { "prepType": "string", "prepOwner": "AMAZON", "fee": { "code": "string", "amount": 0 } } ] } ], "shipmentId": "string", } ] }

`
@apimodel(description = "Contains information about a box that is used in the inbound plan. The box is a container that holds multiple items.")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2025-01-15T09:35:13.487+08:00")
public class Box {
@SerializedName("boxId")
private String boxId = null;

@SerializedName("contentInformationSource")
private BoxContentInformationSource contentInformationSource = null;

@SerializedName("destinationRegion")
private Region destinationRegion = null;

@SerializedName("dimensions")
private Dimensions dimensions = null;

@SerializedName("items")
private List items = null;

@SerializedName("packageId")
private String packageId = null;

@SerializedName("quantity")
private Integer quantity = null;

@SerializedName("templateName")
private String templateName = null;

@SerializedName("weight")
private Weight weight = null;
`

But this is the Model generated by Java, there is no shipmentid, how do I correspond to that cargo if i hava multiple shipments

@mafge mafge self-assigned this Jan 24, 2025
@mafge
Copy link
Contributor

mafge commented Jan 24, 2025

Hi @bitdan,
thanks for reaching out!
Just to clarify: Do you see the shipmentId attribute in real backend responses or what do you mean by "use the interface to get the document"?
Best,
Marc
Selling Partner Developer Services

@bitdan
Copy link
Author

bitdan commented Jan 25, 2025

Hi @bitdan, thanks for reaching out! Just to clarify: Do you see the shipmentId attribute in real backend responses or what do you mean by "use the interface to get the document"? Best, Marc Selling Partner Developer Services

In fact, there is no shipmentid attribute in the real interface return. But the document says that there is this attribute, the interface is "listInboundPlanBoxes ". Document address developer-docs.amazon.com .Please ignore what I said unclear, I have revised it again. The screenshot in the document is like this

Image

The result of the return of the Java API request is

Image

@mafge
Copy link
Contributor

mafge commented Jan 27, 2025

@bitdan, thanks for the clarification! I'll check with the backend team and let you know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants