Invalid shipping_method error whene creating a new parcel
davalb opened this issue · 2 comments
davalb commented
Hi,
when I try the example from the readme-file $parcel->shipment = 10;
I get this error
SendCloud error: shipping_method: "Invalid shipping method"
Any help much appreciated! Thanks
casperbakker commented
You probably do not have access to shipping method number 10. As mentioned in the readme you can retrieve all the valid shipping methods in your account with $sendCloud->shippingMethods()->all()
davalb commented
You're right, thanks a lot.