amzn / selling-partner-api-models

This repository contains OpenAPI models for developers to use when developing software to call Selling Partner APIs.
Apache License 2.0
534 stars 722 forks source link

Fulfillment Inbound 2024-03-20: List Placement Options returns different results for same InboundPlanId #3983

Open brandondev1 opened 2 weeks ago

brandondev1 commented 2 weeks ago

I execute ListPlacementOptions for a particular InboundPlanId twice in my workflow (I only call GeneratePlacementOptions once). The first time I call it, I get three placement options (strangely they all are only one shipment with no fees).

{ "pagination": {}, "placementOptions": [ { "fees": [ { "description": "Placement service fee represents service to inbound with minimal shipment splits and destinations of skus", "type": "FEE", "value": { "amount": 0, "code": "USD" }, "target": "Placement Services" } ], "shipmentIds": [ "sh1e303073-05e4-480e-8575-596e90508167" ], "discounts": [], "expiration": "2024-06-23T18:27Z", "placementOptionId": "pl01b71b43-397c-438d-a6be-6afa4a6895a0", "status": "OFFERED" }, { "fees": [ { "description": "Placement service fee represents service to inbound with minimal shipment splits and destinations of skus", "type": "FEE", "value": { "amount": 0, "code": "USD" }, "target": "Placement Services" } ], "shipmentIds": [ "shb7da8f62-8c8e-41d2-9dc3-9e01ecd51e18" ], "discounts": [], "expiration": "2024-06-23T18:27Z", "placementOptionId": "pl7e709784-a55e-4000-b21d-effec5f4c12a", "status": "OFFERED" }, { "fees": [ { "description": "Placement service fee represents service to inbound with minimal shipment splits and destinations of skus", "type": "FEE", "value": { "amount": 0, "code": "USD" }, "target": "Placement Services" } ], "shipmentIds": [ "shced4cc5c-ed28-4fa8-8b5d-528043ebf776" ], "discounts": [], "expiration": "2024-06-23T18:27Z", "placementOptionId": "ple8c69e03-6ace-46bd-a261-663ddab40d5e", "status": "OFFERED" } ] }

The second time I get only one of the three placement options (this time it has a fee):

{ "pagination": {}, "placementOptions": [ { "fees": [ { "description": "Placement service fee represents service to inbound with minimal shipment splits and destinations of skus", "type": "FEE", "value": { "amount": 153, "code": "USD" }, "target": "Placement Services" } ], "shipmentIds": [ "shced4cc5c-ed28-4fa8-8b5d-528043ebf776" ], "discounts": [], "expiration": "2024-06-23T18:27Z", "placementOptionId": "ple8c69e03-6ace-46bd-a261-663ddab40d5e", "status": "OFFERED" } ] }

shreeharsh-a commented 2 weeks ago

@MeenaAmz

puppsupr commented 1 week ago

Hi brandondev1, Do you see then inline with what you see on the UI ?

brandondev1 commented 1 week ago

Hi brandondev1, Do you see then inline with what you see on the UI ?

Not sure what you mean. I get two different responses from the same request. The first one above contains 3 options (all with $0 fee). The second response contains 1 option. The 1 option returned in the second response (placementOptionId: ple8c69e03-6ace-46bd-a261-663ddab40d5e) is one of the placement options in the first response, but the fee is $0 in the first response and $153 in the second response.