The idea is to show or hide some sections of the site in a theme that’s fetching all data from the REST API, using AngularJS.
I am trying to make an API request from postman to WordPress.
How can we create custom REST API route for sending specific data format to Android or IOS app ?
I’ve been able to upload images using the REST API but the names are wrong right now and I was thinking to go through all of the products I have and rename the images.
I have made an REST API for synchronize user’s cart item to web view to android view. I have used CoCart WP plugin Here are some scenarios:
I have a custom endpoint where I want to change HTTP response status to 404 in certain scenarios (e.g post does not exist). How can I do that? Here is an example of custom endpoint:
We are using the Salesforce Rest API to integrate our external website with Salesforce Sales Cloud. When a user registers on our website, we create a contact record in Salesforce. The response to the initial insert request includes the Contact ID. Is there a way we can have the initial request return more fields? On the SF side, we have a formula field that generates the 18 digits long contact ID and we need that returned to us for interacting with the Marketing Cloud. We can make another call to get this long contact ID but we are trying to avoid this extra call. Is what we are trying to do achievable?
I want to create as well as update an email using REST API.
In Magento [2.2.4] web API when I pass username and password then it generates token for that specific customer (Which is only valid for 1 hour – it is configurable from Magento admin)