Quick Start

Get started in just minutes.
Tip: Shopwaive's quick start guide helps developers setup their first request in minutes. Use this guide to locate your API keys and more.

Get your API keys

Your API requests are authenticated with Shopwaive using API keys and access tokens. Any request that doesn't include an API key will return an error.
Within the Shopwaive app, you can access your API keys from Dashboard > Settings at any time.
Good to know: Access tokens should be handled with care and never exposed in unsecured environments. They should never be shared as they provide access to your stores' data.

Make your first request

To make your first request, send an authenticated request to the get customer endpoint. This will fetch a customer by email address. Ensure to include the X-Shopwaive-Access-Token and X-Shopwaive-Platform headers.
get
https://app.shopwaive.com
/api/customer/{customerId}
Get customer
Take a look at how you might call this method using our official libraries, or via curl:
curl
Node
Python
curl --location 'https://app.shopwaive.com/api/customer/[email protected]' \
--header 'X-Shopwaive-Access-Token: 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0' \
--header 'X-Shopwaive-Platform: shopify' \
--header 'Content-Type: application/json' \
--data ''
var axios = require('axios');
var data = '';
var config = {
method: 'get',
maxBodyLength: Infinity,
url: 'https://app.shopwaive.com/api/customer/[email protected]',
headers: {
'X-Shopwaive-Access-Token': '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0',
'X-Shopwaive-Platform': 'shopify',
'Content-Type': 'application/json'
},
data : data
};
axios(config)
.then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
import http.client
import json
conn = http.client.HTTPSConnection("app.shopwaive.com")
payload = ''
headers = {
'X-Shopwaive-Access-Token': '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0',
'X-Shopwaive-Platform': 'shopify',
'Content-Type': 'application/json'
}
conn.request("GET", "/api/customer/[email protected]", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))