Ecommerce API
apideck · Developer Tools
Welcome to the Ecommerce API. You can use this API to access all Ecommerce API endpoints. ## Base URL The base URL for all API requests is `https://unify.apideck.com` We also provide a [Mock API](https://developers.apideck.com/mock-api) that can be used for testing purposes: `https://mock-api.apideck.com` ## Headers Custom headers that are expected as part of the request. Note that [RFC7230](https://tools.ietf.org/html/rfc7230) states header names are case insensitive. | Name
Authentication
Sample Requests
List Customers
Hover any highlighted part to learn what it does
| x-apideck-app-id | example |
| x-apideck-consumer-id | example |
curl -X GET "https://api.apis.guru/v2/specs/apideck.com/ecommerce/9.3.0/ecommerce/customers?raw=false&limit=20&cursor=example&fields=example&filter=example" \ -H "x-apideck-app-id: example" \ -H "x-apideck-consumer-id: example"
import requests
params = {
"raw": "false",
"limit": "20",
"cursor": "example",
"fields": "example",
"filter": "example"
}
headers = {
"x-apideck-app-id": "example",
"x-apideck-consumer-id": "example"
}
response = requests.get(
"https://api.apis.guru/v2/specs/apideck.com/ecommerce/9.3.0/ecommerce/customers",
params=params,
headers=headers,
)
print(response.json())const url = new URL('https://api.apis.guru/v2/specs/apideck.com/ecommerce/9.3.0/ecommerce/customers');
url.searchParams.set('raw', 'false');
url.searchParams.set('limit', '20');
url.searchParams.set('cursor', 'example');
url.searchParams.set('fields', 'example');
url.searchParams.set('filter', 'example');
const response = await fetch(url, {
headers: {
'x-apideck-app-id': 'example',
'x-apideck-consumer-id': 'example'
},
});
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
"net/url"
)
func main() {
baseURL, _ := url.Parse("https://api.apis.guru/v2/specs/apideck.com/ecommerce/9.3.0/ecommerce/customers")
q := baseURL.Query()
q.Set("raw", "false")
q.Set("limit", "20")
q.Set("cursor", "example")
q.Set("fields", "example")
q.Set("filter", "example")
baseURL.RawQuery = q.Encode()
targetURL := baseURL.String()
req, _ := http.NewRequest("GET", targetURL, nil)
req.Header.Set("x-apideck-app-id", "example")
req.Header.Set("x-apideck-consumer-id", "example")
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/apideck.com/ecommerce/9.3.0/ecommerce/customers")
uri.query = URI.encode_www_form({
"raw" => "false",
"limit" => "20",
"cursor" => "example",
"fields" => "example",
"filter" => "example"
})
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
req["x-apideck-app-id"] = "example"
req["x-apideck-consumer-id"] = "example"
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/apideck.com/ecommerce/9.3.0/ecommerce/customers?" . http_build_query([
"raw" => "false",
"limit" => "20",
"cursor" => "example",
"fields" => "example",
"filter" => "example"
]);
$opts = ["http" => [
"method" => "GET",
"header" => implode("\r\n", [
"x-apideck-app-id: example",
"x-apideck-consumer-id: example"
]),
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));List Orders
Hover any highlighted part to learn what it does
| x-apideck-app-id | example |
| x-apideck-consumer-id | example |
curl -X GET "https://api.apis.guru/v2/specs/apideck.com/ecommerce/9.3.0/ecommerce/orders?raw=false&limit=20&cursor=example&fields=example&filter=example" \ -H "x-apideck-app-id: example" \ -H "x-apideck-consumer-id: example"
import requests
params = {
"raw": "false",
"limit": "20",
"cursor": "example",
"fields": "example",
"filter": "example"
}
headers = {
"x-apideck-app-id": "example",
"x-apideck-consumer-id": "example"
}
response = requests.get(
"https://api.apis.guru/v2/specs/apideck.com/ecommerce/9.3.0/ecommerce/orders",
params=params,
headers=headers,
)
print(response.json())const url = new URL('https://api.apis.guru/v2/specs/apideck.com/ecommerce/9.3.0/ecommerce/orders');
url.searchParams.set('raw', 'false');
url.searchParams.set('limit', '20');
url.searchParams.set('cursor', 'example');
url.searchParams.set('fields', 'example');
url.searchParams.set('filter', 'example');
const response = await fetch(url, {
headers: {
'x-apideck-app-id': 'example',
'x-apideck-consumer-id': 'example'
},
});
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
"net/url"
)
func main() {
baseURL, _ := url.Parse("https://api.apis.guru/v2/specs/apideck.com/ecommerce/9.3.0/ecommerce/orders")
q := baseURL.Query()
q.Set("raw", "false")
q.Set("limit", "20")
q.Set("cursor", "example")
q.Set("fields", "example")
q.Set("filter", "example")
baseURL.RawQuery = q.Encode()
targetURL := baseURL.String()
req, _ := http.NewRequest("GET", targetURL, nil)
req.Header.Set("x-apideck-app-id", "example")
req.Header.Set("x-apideck-consumer-id", "example")
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/apideck.com/ecommerce/9.3.0/ecommerce/orders")
uri.query = URI.encode_www_form({
"raw" => "false",
"limit" => "20",
"cursor" => "example",
"fields" => "example",
"filter" => "example"
})
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
req["x-apideck-app-id"] = "example"
req["x-apideck-consumer-id"] = "example"
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/apideck.com/ecommerce/9.3.0/ecommerce/orders?" . http_build_query([
"raw" => "false",
"limit" => "20",
"cursor" => "example",
"fields" => "example",
"filter" => "example"
]);
$opts = ["http" => [
"method" => "GET",
"header" => implode("\r\n", [
"x-apideck-app-id: example",
"x-apideck-consumer-id: example"
]),
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));List Products
Hover any highlighted part to learn what it does
| x-apideck-app-id | example |
| x-apideck-consumer-id | example |
curl -X GET "https://api.apis.guru/v2/specs/apideck.com/ecommerce/9.3.0/ecommerce/products?raw=false&limit=20&cursor=example&fields=example" \ -H "x-apideck-app-id: example" \ -H "x-apideck-consumer-id: example"
import requests
params = {
"raw": "false",
"limit": "20",
"cursor": "example",
"fields": "example"
}
headers = {
"x-apideck-app-id": "example",
"x-apideck-consumer-id": "example"
}
response = requests.get(
"https://api.apis.guru/v2/specs/apideck.com/ecommerce/9.3.0/ecommerce/products",
params=params,
headers=headers,
)
print(response.json())const url = new URL('https://api.apis.guru/v2/specs/apideck.com/ecommerce/9.3.0/ecommerce/products');
url.searchParams.set('raw', 'false');
url.searchParams.set('limit', '20');
url.searchParams.set('cursor', 'example');
url.searchParams.set('fields', 'example');
const response = await fetch(url, {
headers: {
'x-apideck-app-id': 'example',
'x-apideck-consumer-id': 'example'
},
});
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
"net/url"
)
func main() {
baseURL, _ := url.Parse("https://api.apis.guru/v2/specs/apideck.com/ecommerce/9.3.0/ecommerce/products")
q := baseURL.Query()
q.Set("raw", "false")
q.Set("limit", "20")
q.Set("cursor", "example")
q.Set("fields", "example")
baseURL.RawQuery = q.Encode()
targetURL := baseURL.String()
req, _ := http.NewRequest("GET", targetURL, nil)
req.Header.Set("x-apideck-app-id", "example")
req.Header.Set("x-apideck-consumer-id", "example")
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/apideck.com/ecommerce/9.3.0/ecommerce/products")
uri.query = URI.encode_www_form({
"raw" => "false",
"limit" => "20",
"cursor" => "example",
"fields" => "example"
})
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
req["x-apideck-app-id"] = "example"
req["x-apideck-consumer-id"] = "example"
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/apideck.com/ecommerce/9.3.0/ecommerce/products?" . http_build_query([
"raw" => "false",
"limit" => "20",
"cursor" => "example",
"fields" => "example"
]);
$opts = ["http" => [
"method" => "GET",
"header" => implode("\r\n", [
"x-apideck-app-id: example",
"x-apideck-consumer-id: example"
]),
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Postman Setup Guide
- See official documentation for authentication and setup.
What can you build with Ecommerce API?
Ecommerce API is a Developer Tools API. Developers commonly use developer tools APIs for:
- automating code review and quality checks
- integrating CI/CD pipelines and build systems
- managing feature flags and A/B tests
- monitoring errors and application performance
- generating and validating test data
No authentication required. This API is open — no signup or key needed. Ideal for quick prototypes and public-facing features. Ecommerce API is free to use, making it a low-risk choice to experiment with.
New to APIs? Read our beginner's guide · Learn about API keys · What is REST?