Sending Data via cURL and RESTful API
-
I have recently started working on a new bespoke theme for a new client of mine. The website I am developing with WooCommerce integration connects to an external website via an API.
This external website (mobileshop.bz) is basically a warehouse selling mobile phones. I have been able to import all the products using WP All Import pro quite easily and have setup cron jobs to update them and bring in new stock.
The issue I have is when someone checks out on the website while purchasing a product. The external website uses something called N.A.T.M or Needed At The Moment and what should happen is this… When someone purchases on my clients website the theme I am developing needs to create a reservation using what they call a ReserveArticle function.
After that my theme needs to create a Sales Order using what they call a CreateSalesOrder function based on all the reservations created that day. The external website has created documentation HERE and HERE
I am at my wits end trying to get these two functions to integrate into the theme I am developing let alone trying to make them work. Any help or advice is greatly appreciated.
Many thanks,
Phillip DewsThe page I need help with: [log in to see the link]
- The topic ‘Sending Data via cURL and RESTful API’ is closed to new replies.