Update shipment attributes api call.

Fixes spree/spree#5199