getting 400 invalid parameter error on create delivery
vijay-meena opened this issue · 1 comments
Hi,
I am using sandbox api-key to test end points. quote is working fine for me but create delivery returns 400 invalid parameter error. I am passing same parameter as mentioned in usage.
package = { manifest: "a box of kittens", pickup_name: "The Warehouse", pickup_address: "20 McAllister St, San Francisco, CA", pickup_phone_number: "555-555-5555", pickup_business_name: "Optional Pickup Business Name, Inc.", pickup_notes: "Optional note that this is Invoice #123", dropoff_name: "Alice", dropoff_address: "101 Market St, San Francisco, CA", dropoff_phone_number: "415-555-1234", dropoff_business_name: "Optional Dropoff Business Name, Inc.", dropoff_notes: "Optional note to ring the bell", quote_id: "dqt_K9LFfpSZCdAJsk" }
delivery = @client.create(package)
which returns
Postmates::BadRequest (400 The parameters of your request were invalid.)
It seems, i am successfully hitting end point but some param is missing. Need help.