You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
` @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;
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
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
The result of the return of the Java API request is
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
The text was updated successfully, but these errors were encountered: