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
569 stars 730 forks source link

[BUG] [SP-API] how to get free inbound placementoption? #2795

Closed dishcheng closed 4 months ago

dishcheng commented 4 months ago

Example : I want to send 10 box * 6 units ,total 60 units for sku:M-xxxxxx-01,and how can I get free placement service fee by api?

image

I create inbound like above will finally have 4 shipments and free placement service fee

image

Now,I want to use api

I create Inbound Plan params:

{"contactInformation":{"phoneNumber":"xxxxx","email":"xxx"},"destinationMarketplaces":["ATVPDKIKX0DER"],"items":[{"msku":"M-xxxxxx-01","prepOwner":"SELLER","labelOwner":"SELLER","quantity":60}],"sourceAddress":{"name":"xxxx","addressLine1":"xxxxxx","addressLine2":"","city":"Nuevo","countryCode":"US","stateOrProvinceCode":"CA","postalCode":"xxxx"}} 

And I want to set box information like this box weight:40 lb, dimensions : 25 in 25 in 25 in

how should I set setPackingInformation request data or else method?