How can i add purchase order in XERO using an API? - php

I need to add purchase order in XERO using an API. But, i can't get the endpoint for this service.
Please Let me know if you have any idea about this.
Thanks ahead the time.

This is a reply from official XERO
not at the moment, I’m afraid. We’ll be assessing demand for an import
function and the API team could come to the rescue with support there
– again this will depend on demand.
source :https://www.xero.com/blog/2013/11/purchase-orders/

You can now create purchase orders through the Xero API using the /purchaseorders endpoint.
Documentation is here: https://developer.xero.com/documentation/api/purchase-orders

Related

Update order details in prestashop rest api

I need to update shipping details of an order using rest api in Prestashop. I need to update Tracking no, Tracking company name etc. from rest API.
I searched a lot for this but didn't find any API. Please guide me how can I do this.
Resource is called Order_carrier
https://devdocs.prestashop.com/1.7/webservice/resources/order_carriers/

Google in app purchase refund api using php

Is there any api(Rest) or procedure to refund Google In app product price? Which is provided from Google Play store side.
I am looking for the solution for same, but not got yet. Anybody please guide / suggest me about this.
Thanks in Advance !
In the documentation for Administering In-App Billing, it states this for managed products:
Important: You cannot use the API to issue refunds or cancel In-app Billing transactions. You must do this manually through your Google payments merchant account. However, you can use the API to retrieve order information.
Refunds for in-app purchases must be directed to the app developer. You can then process the refund through your Google payments merchant account.
You can however, use the API to refund and revoke subscriptions,
Yes, you can. See how to authorized first here: https://developers.google.com/android-publisher/authorization
https://developers.google.com/android-publisher/api-ref/rest/v3/orders/refund

Paypal API List Withdraws

I'm implementing a PHP Web application that uses PayPal for payments. I'm using for all the things the REST API.
My problem is how can I get the list of withdraws from PayPal API?
I'm going to use the functionality to withdraw to a bank every day, but I will need to see, with the API, those withdraws...
Any idea? I'm a little bit lost after spending two days searching and trying page on google.
Thank you in advance,
Rui
I don't think the REST API supports it yet. The Classic API does, though, with the TransactionSearch API.
Our PayPal PHP SDK will make this very quick and easy for you to setup.

How to create flexible billing agreements using PHP Rest SDK?

We need to create flexible billing plans for our customers, in which the timing and amount of the billing is flexible and should be determined by us. Just like a "utility bill" but with flexible charge date. Also, there's no purchasing involved upon agreeing of the customer, just his approval for us to charge his PayPal account.
After researching it we decided to go with "referenced transactions". I've read its documentation and the flow seems to be clear.
However, when I attempt to implement using PayPal's PHP REST SDK, I can't seem to find the methods that implement that flow, or some other description on how to achieve our needs using this SDK. For example, I can't find SetExpressCheckout in the PHP REST SDK.
Can anyone point out how we should implement our business needs as described above (1st paragraph) using the PHP REST SDK? I'm very aware of the rather good PayPal REST API documentation.
Thanks!
Unfortunately Reference Transaction is only available with the Classic APIs.
The only similar REST API is called "Future Payments". Unfortunately this API has only been implemented for the PayPal Mobile SDK. You cannot use it outside a native mobile app...
I'm afraid your only solution is to implement the PayPal Classic API with Reference Transaction.

Add offers in google wallet via API

Now I elaborate my question, I want to make offer on my own site and send it to google wallet for add. I haven't found any API for add offers in google wallet. If you guys know about it please tell me.
Your suggestions and links definitely considerable.
Thanks in advance.
P.S: I am using PHP.
Google Wallet recently launched a Wallet Offers API.
You can find API documentation, tutorials, code samples on the developer site:
https://developers.google.com/commerce/wallet/objects/
https://developers.google.com/commerce/wallet/objects/offers/offers-flows
Also relevant: Google I/O 2013 talk - Digitizing The Entire Wallet: Introducing Wallet Objects.
https://www.youtube.com/watch?v=VvZsFw8D_8c

Categories