Comment on page

Quick Start

With this Quick Start guide, make your first request 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 clicking the initial avatar at the top right of the topbar to access the Settings menu, then click Settings and scroll down to the Shopwaive REST API.
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 customer
Take a look at how you might call this method using our official libraries, or via curl:
Node Axios
NPM Package
curl --location '[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: '[email protected]',
headers: {
'X-Shopwaive-Access-Token': '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0',
'X-Shopwaive-Platform': 'shopify',
'Content-Type': 'application/json'
data : data
.then(function (response) {
.catch(function (error) {
var config = {
headers: {
"X-Shopwaive-Access-Token": "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6",
"X-Shopwaive-Platform": "shopify",
const Shopwaive = require('@shopwaive/credit');
const email = "[email protected]";
async function getCustomer() {
return new Promise((resolve, reject) => {
let data = Shopwaive.getCustomer(config, email);
getCustomer().then(res => {
let data =;
if (data) {
import http.client
import json
conn = http.client.HTTPSConnection("")
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 =