cURL Code Example

HTTP POST Request
POST
curl -X POST \
https://access.way2order.com/api/v1/requestaccesstoken \
-H 'Content-Type: application/json' \
-d '{
    "client_id": {client_id}, 
    "client_secret": {client_secret}
}'

Replace {client_id} & {client_secret} above, with your Client ID & Client Secret.

HTTP GET Request
GET
curl -X GET \
https://access.way2order.com/api/v1/getproducts \
-H 'Authorization: Bearer {access_token}' \
-H 'Content-Type: application/json'

Replace {access_token} above, with the generated Access Token.