Closed fishcharlie closed 2 years ago
Currently when adding custom items, the description property that a user of this SDK passes in is not attached to the request made to the ShipEngine API:
description
https://github.com/ShipEngine/shipengine-js/blob/9807638e770ddf253e5320a988ab4a6daca8ed70/src/get-rates-with-shipment-details/format-params.ts#L222-L232
This results in an error: Please add a description for your Customs Item(s).
Please add a description for your Customs Item(s)
Within the map function shown above there should be a description property to avoid this error from the API.
It looks like https://github.com/ShipEngine/shipengine-js/issues/173 is a similar issue for create-label-from-shipment-details. However my issue pertains to get-rates-with-shipment-details.
Currently when adding custom items, the
description
property that a user of this SDK passes in is not attached to the request made to the ShipEngine API:https://github.com/ShipEngine/shipengine-js/blob/9807638e770ddf253e5320a988ab4a6daca8ed70/src/get-rates-with-shipment-details/format-params.ts#L222-L232
This results in an error:
Please add a description for your Customs Item(s)
.Within the map function shown above there should be a
description
property to avoid this error from the API.