Hi there
I need to use cURL to change the status of an order on a Restful API using PHP. The instructions I received from the developers of the API is as follows:
curl -X PUT \
-d
"order[status]=S"
[site url]
In addition to this, they informed me that it is necessary to be signed in, with the credentials supplied.
So, my problems are these:
1. what is the syntax for the PUT action in PHP cURL?
2. how do I sign in to the site with PHP?
Any guidance will be appreciated.
Thanks.