Jump to content

Update Order Track & Trace By Webservice Api (From Email)


mortenbennedsen

Recommended Posts

Hello guys

 

We have a shop running PrestaShop 1.6x, and one of our suppliers are dropshipping product for our customers. They receive a mail with the product to send, and they send me back a mail with the Track & Trace-number for the order.

 

Right now im manually copy-pasting the tracking number from that email, and inset it to the order, and change status to "Shipped"

 

I like to have that process automatized.

 

I'm thinking of using PrestaShop API and a php-script.

 

1. Forward the email from supplier to specific email (it contains Tracking number, Customer name, and Customer Shipping address.

 

2. The php-script need to take that track & trace-number, find the customer in our PrestaShop by Address or name, and find the most recent order from that customer, and then inset the tracking-number, and change status to "Shipped", by using the webservice (API). - Or it can use other function, if thats better.

 

Do anyone know someone that can solve that?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...