Postmates 与 Shopify Shipping/Carrier 服务的集成 [英] Postmates integration with Shopify Shipping/Carrier services

查看:17
本文介绍了Postmates 与 Shopify Shipping/Carrier 服务的集成的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以我们希望集成这个应用程序:

so we are looking to integrate this application:

https://postmates.com/developer/docs 进入我们的 Shopify 平台.

https://postmates.com/developer/docs into our Shopify platform.

有关它的工作原理,请查看:http://blog.postmates.com/post/104856343907/a-technical-perspective-on-the-postmates-api .

For how it works please check: http://blog.postmates.com/post/104856343907/a-technical-perspective-on-the-postmates-api .

所以我们正在寻找向我们的商店添加运营商服务.由于 Postmates 向少数地区提供服务,如下所示,我们将为非 Postmates 支持的地区添加其他多种运输选项.

So we are looking for add a Carrier Service to our store. And As Postmates provides services to few regions as follows we will add other mutiple shipping options for non-Postmates supported regions.

Postmates 目前在旧金山湾区(旧金山、东湾、南湾)、纽约市、芝加哥、洛杉矶、华盛顿特区、西雅图、奥斯汀、波士顿、费城、迈阿密、圣地亚哥、丹佛可用、拉斯维加斯和奥兰治县.

Postmates is currently available in the San Francisco Bay Area (San Francisco, East Bay, South Bay), New York City, Chicago, Los Angeles, Washington DC, Seattle, Austin, Boston, Philadelphia, Miami, San Diego, Denver, Las Vegas and Orange County.

我已经联系了 Shopify 和 Postmates,他们都说没有已经构建的应用程序可以将其直接集成到他们的帐户中.话虽如此,Postmates 声称它已经在用户创建私有应用程序并通过 API 密钥连接它之前完成.能否请您在以下方面提出建议:1)查看我在上面链接中发送的文档2) 研究如何将其集成到 Shopify 后端,以任何可能的方式?...无论是否通过私人应用程序,但肯定是通过 API.3) postmate shopify API 集成的潜在解决方案4) 应用创建和/或任何流程管理的潜在解决方案.

I have contacted both Shopify and Postmates, who both say there is no app already built to directly integrate this into their account. With that said, Postmates claims that it has been done before where a user creates a Private App and connect it through API key that way. Could you please advice on below: 1) Review the documentation that I sent over in the above link 2) Research how to integrate this into a Shopify backend, any way possible?...whether through private app or not, but through API for sure. 3) potential solutions for postmate shopify API integration 4) potential solutions for app creation and/or any management of the process.

另请注意:所以基本上我们只想为某些地区添加 Postmates 送货服务(因为它只支持少数地区 https://postmates.com/help 主题:Postmates 在哪些城市可用?")对于其他地区,我们将有不同的运费+方式等...

Also please note: So basically we want to add Postmates shipping service for some regions only ( as it supports few regions only https://postmates.com/help Topic : "What cities is Postmates available in?" ) and for other regions we will have different shipping charges+ methods etc...

所以在后端哪些东西&我们需要如何设置这些东西.根据这个:http://docs.shopify.com/api/carrierservice

So at backend which things & how we need to setup the things.As per this : http://docs.shopify.com/api/carrierservice

有什么限制或限制吗??

Is there any limitations or restrictions??

如果我遗漏了任何信息或任何要在此处提及的具体细节,请提出建议.

Please advice if I am missing any information or any specific detail to mention here.

有喜欢深入太空的有创意的人吗??

Is there any creative folks who like to dive deep into space??

推荐答案

Shopify API 的运营商服务资源 (http://docs.shopify.com/api/carrierservice) 确实是您正在寻找的解决方案.

The Shopify API's carrier service resource (http://docs.shopify.com/api/carrierservice) is indeed the solution you're looking for.

每当您的 Shopify 商店的客户在结帐期间下订单时,在他输入帐单后送货地址,Shopify 可以向您注册的承运人服务发送费率请求.此发布请求包含有关购物车中的商品和客户的所有数据.

Whenever a customer of your Shopify store is placing an order during checkout, after he has entered his billing & shipping address, Shopify can send a rate request to the carrier service you have registered. This post request contains all data about the items in cart and the customer.

您的运营商服务应用需要接受此 POST 请求,计算相应的运费(在您的情况下是通过对 Postmates API 的另一个 API 调用),然后以 Shopify 在文档中定义的格式返回 JSON 响应.如果一切顺利,您的应用退回的运费将显示在结帐中.

Your carrier service app needs to accept this POST request, calculate the corresponding shipping rates - in your case by yet another API call to the Postmates API - and then return a JSON response in the format that Shopify defines in the docs. If all goes well, the shipping rate(s) your app has returned will then be shown in the checkout.

您可以对您的应用进行编码,以便对于 Postmates 不支持的城市,您的运营商服务将不返还任何费用.

You can code your app such that for the cities that Postmates doesn't support, your carrier service will return no rates.

我们已经与 Shippo (https://apps.shopify.com/shippo),支持许多其他运营商.如果您需要进一步的帮助,请告诉我.

We've built such an integration with Shippo (https://apps.shopify.com/shippo), supporting many other carriers. Let me know if you need further help.

这篇关于Postmates 与 Shopify Shipping/Carrier 服务的集成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆