Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
132 views
in Technique[技术] by (71.8m points)

Postmates returns error for create delivery request

Here are the request parameters:

{
   "dropoff_address":"Some Valid address",
   "dropoff_name":"Some Valid name",
   "dropoff_phone_number":"2343243242",
   "pickup_address":"Some Valid address",
   "pickup_name":"Some Valid name",
   "pickup_phone_number":"2025550190",
   "manifest":"Silicone Mixed Color Square Container 57mm - Lid Jar - 5 Pack (MSRP $5.00 ea) × 1Silicone Mixed Color Square Container 57mm - Lid Jar - 5 Pack (MSRP $5.00 ea) x 1
",
   "quote_id":"dqt_2iMLYPRSCrmoTg",
   "manifest_items":{
      "name":"Silicone Mixed Color Square Container 57mm - Lid Jar - 5 Pack (MSRP $5.00 ea)",
      "quantity":1,
      "size":"small"
   }
}

And it works fine, I am getting successful response. Until I add requires_id OR/AND requires_dropoff_signature

// Additional params
"requires_id":true,
"requires_dropoff_signature":true,

// Response
{
   "kind":"error",
   "code":"invalid_params",
   "message":"The parameters of your request were invalid.",
   "params":{
      
   }
}

Please advise...

question from:https://stackoverflow.com/questions/65874341/postmates-returns-error-for-create-delivery-request

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...