Catalogue
Exchange products, variants, categories, media, prices and relationships.
catalog:read · catalog:writeREST API / JSON
NetSeller makes key store data available through defined resources. Each API client gets the permissions, stores and context needed for its task.
Open the API reference/api/v1/products{
"data": [{
"id": 1042,
"sku": "AB-FJ-01",
"name": "Pine green fleece jacket",
"hasVariants": true,
"availability": { "status": "in_stock" },
"price": { "amount": "129.00", "currency": "CHF" }
}],
"errors": []
}
01 / Access
Each integration gets its own API client. Its status, permissions, store assignments and key metadata stay visible in one place.
02 / Resources
The versioned API provides read and write endpoints for catalogue, inventory, checkout, orders, customers, marketing, settings and webhooks.
Exchange products, variants, categories, media, prices and relationships.
catalog:read · catalog:writeManage stock, baskets and checkout flows on the server side.
inventory:read · inventory:write · checkout:writeWork with orders, statuses, documents, refunds and shipments.
orders:read · orders:writeMaintain profiles, addresses, companies, members and store assignments.
customers:read · customers:writeConnect coupons, gift cards, promotions and public store settings.
marketing:read · marketing:write · settings:readDeliver signed events and find every operation in the OpenAPI contract.
webhooks:read · webhooks:write03 / Commerce context
Request products and prices for a specific store, language, currency and price list. This keeps integrations unambiguous across multiple stores.
shopId=1language=encurrency=CHFpriceListId=205 / Example
Send API requests to the relevant NetSeller installation. api.netseller.net provides the reference only. Keep the real key in the connected application’s protected configuration.
curl "https://shop.example.com/api/v1/products?shopId=1&language=en¤cy=CHF" \
-H "Authorization: Bearer YOUR_API_KEY"const response = await fetch(
"https://shop.example.com/api/v1/products?shopId=1&language=en¤cy=CHF",
{ headers: { Authorization: "Bearer YOUR_API_KEY" } }
);
const payload = await response.json();<?php
$client = curl_init(
"https://shop.example.com/api/v1/products?shopId=1&language=en¤cy=CHF"
);
curl_setopt_array($client, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["Authorization: Bearer YOUR_API_KEY"]
]);
$payload = json_decode(curl_exec($client), true);import requests
response = requests.get(
"https://shop.example.com/api/v1/products?shopId=1&language=en¤cy=CHF",
headers={"Authorization": "Bearer YOUR_API_KEY"},
)
payload = response.json()import java.net.URI;
import java.net.http.*;
var request = HttpRequest.newBuilder()
.uri(URI.create("https://shop.example.com/api/v1/products?shopId=1&language=en¤cy=CHF"))
.header("Authorization", "Bearer YOUR_API_KEY")
.build();
var response = HttpClient.newHttpClient()
.send(request, HttpResponse.BodyHandlers.ofString());using System.Net.Http.Headers;
using var client = new HttpClient();
client.DefaultRequestHeaders.Authorization =
new AuthenticationHeaderValue("Bearer", "YOUR_API_KEY");
var payload = await client.GetStringAsync(
"https://shop.example.com/api/v1/products?shopId=1&language=en¤cy=CHF"
);cfhttp(
url = "https://shop.example.com/api/v1/products?shopId=1&language=en¤cy=CHF",
method = "get",
result = "apiResponse"
) {
cfhttpparam(
type = "header",
name = "Authorization",
value = "Bearer YOUR_API_KEY"
);
}
payload = deserializeJSON(apiResponse.fileContent);request, _ := http.NewRequest(
http.MethodGet,
"https://shop.example.com/api/v1/products?shopId=1&language=en¤cy=CHF",
nil,
)
request.Header.Set("Authorization", "Bearer YOUR_API_KEY")
response, err := http.DefaultClient.Do(request)
if err != nil { log.Fatal(err) }
defer response.Body.Close(){ "data": [ ... ], "meta": { ... }, "errors": [] }06 / Architecture
The API provides a versioned contract between NetSeller and connected systems. Its public reference describes available operations, inputs, responses and errors from the live OpenAPI specification.
Full API reference