Questions tagged [postmates]

Integrate a world-class local delivery platform into your app using the Postmates API.

Using the Postmates Delivery API, developers can integrate our on-demand local delivery platform into their applications. The API is designed to allow application developers to check prices, schedules, book a delivery, then follow updates on that delivery till completion.

34 questions
1
vote
0 answers

Postmates API "BadRequest - 400 version too old" using the ruby gem

So we're using the ruby gem with a sinatra CRUD app to make a delivery quote and subsequent delivery for third party "food gifting". Here is the HTML form sending the post request:
Alexis Moody
  • 11
  • 1
  • 1
1
vote
1 answer

Getting a 401 UNAUTHORIZED Error with Postmates API endpoint delivery_quotes

I have an angular application and I am making an http request with the testing key. var authString = ('Basic '+ btoa("ef7d25e3-0771-46ba-b4f8-bc9ac719777a:")); var url =…
Chris Hume
  • 185
  • 1
  • 11
1
vote
1 answer

guzzlehttp/guzzle sends HTTP request before ->send()

I'm trying to use Guzzle to consume a RESTful API. Reading the Guzzle documentation, I call methods like get and post to configure a request, then send to actually run an HTTP request. $request = $client->post('http://httpbin.org/post', array(),…
quickshiftin
  • 66,362
  • 10
  • 68
  • 89
0
votes
0 answers

Postmates API using php/curl - returns unauthorized / Invalid OAuth 2.0 credentials provided

I got myself some postmates customer and api credentials (https://partner.postmates.com/welcome-api) followed the example here https://documenter.getpostman.com/view/3967924/RW1Yq1oN#993c52be-abcc-b06b-3f3d-0abfe9782484 like so $customerId =…
Olly
  • 1
  • 1
0
votes
1 answer

How to calculate dynamic shipping amount based on address in Magento 2.4

In my shopping card build using Magento2.4.2 , I need a dynamic calculation of shipping amount after going to next step after entering the shipping address. What I need is to make a third party API call to calculate shipping value based on address…
Ajith
  • 2,476
  • 2
  • 17
  • 38
0
votes
0 answers

Postmates API not working - "ForbiddenError"

We are using postmates API for grocery app. We are using their test credentials, but I don't know how to use it. Kindly guide me how can I make a basic API call. I am using PHP. And want to know which is correct API key to pass in header. Thank in…
0
votes
1 answer

Embedding Postmates Tracking URL

I was wondering if we could embed Postmates Tracking URL in our web apps/mobile apps (Using webviews). Right now, a tracking URLs (Ex: Sample Tracking URL) embedding in iframes and other formats are blocked. Is there a different pattern for the URL…
Nimila Hiranya
  • 4,842
  • 10
  • 35
  • 52
0
votes
1 answer

Postmates API - Status Code 400 - params":{"__all__":"invalid price quote"}

I'm trying to make a post to the /v1/customers/:customer_id/deliveries endpoint using firebase. I'm sending the query params from an angular application. Query Object { pickup_name: 'Patrick O', pickup_phone_number: '619-***-****', …
Patrick Odum
  • 224
  • 2
  • 14
0
votes
1 answer

Postmates Tracking URL Error - LatLng or LatLngLiteral with finite coordinates: in property lat: NaN is not an accepted value

I am using the Postmates developer API to create a delivery in the sandbox. The delivery is created successfully and an external tracking URL is included in the response. However, If I navigate to the tracking URL in a browser, the google map…
mad_fox
  • 3,030
  • 5
  • 31
  • 43
0
votes
1 answer

How do I restrict hours of operation in a rest-based API function?

I have an API integration for our web store running on AWS Lambda to return live delivery quotes based on customer address, and then create the delivery order to a third party delivery as a service provider when the invoice is completed (paid). I…
0
votes
0 answers

Postmates API to send Ordering detail

From what I've learnt here, Postmates API is about other system to schedule delivery using Postmates Service. We are as POS solution provider is looking for a different integration in which Orders from Postmates will come to our POS system. Webhooks…
Chinh Nguyen
  • 583
  • 1
  • 7
  • 14
0
votes
1 answer

Postmates - webhook: determining the actual pickup_complete and delivered_complete

so I am looking into the postmates API and I have been able to create a delivery. This was great, I also setup a webhook url with ngrok to test the response from postmates but I am totally stumped as to how to determine when the pickup was actually…
0
votes
2 answers

Postmates Invalide paramaters

Getting some problems with this post request for creating a delivery: {'dropoff_name': 'stephen', 'pickup_address': '1234 Bancroft Way, Emeryville, CA', 'pickup_phone_number': '1231231234', 'dropoff_phone_number': '1231231234', …
0
votes
2 answers

Does postmates support tracking_url in iframe

My code for postmates tracking_url : But it will give an error like this: Refused to display…
0
votes
1 answer

Postmates API - Prevent duplicate delivery dispatches by passing reference

Currently working on an application for an eCommerce store that allows for Postmates deliveries of goods. One case we encountered is the possibility for duplicate orders being created. For example our application connects to Postmates creating a…
Conspire
  • 31
  • 4