Emergency situation

In case of emergencies or breakdowns, you can send an SMS to our emergency hotline

On-call phone (SMS only)

+45 29 70 15 95

Send an SMS with the following information:

  • Your name and webshop
  • Description of the problem
  • Your callback phone number

Notes: This service is only for critical situations where your webshop is down or has serious problems. For regular support, please use our normal support channels.

API Hub

Everything you need to integrate with Shoporama

Get started quickly

1 Opret API-nøgle

Log ind i din webshop-admin og gå til Integrationer → API-adgang. Her opretter du en ny API-nøgle og vælger dens rettigheder: Alle, Kun læse, eller Kun skrive.

Kun brugere med Fuld adgang eller rollen Udvikler kan åbne API-adgang. Opretter en Udvikler nøglen, knyttes den til brugeren og kan højst det samme som rollen. Den holder op med at virke, hvis brugeren fjernes fra webshoppen, og Udvikleren ser og retter kun sine egne nøgler. Et kald uden for rollen giver 403 med fejlen insufficient_role. Skal integrationen fx hente ordrer, skal nøglen oprettes af en bruger med Fuld adgang. Læs mere om roller og rettigheder.

# Eksempel API-nøgle
5d41402abc4b2a76b9719d911017c592

2 Make your first API call

Test din forbindelse med et simpelt GET request til product-endpointet:

curl -X GET "https://www.shoporama.dk/REST/product?limit=1" \
  -H "Authorization: 5d41402abc4b2a76b9719d911017c592" \
  -H "Accept: application/json"

3 Explore the API

Now you're ready to explore all the possibilities in our API:

Code examples

PHP PHP

<?php
$ch = curl_init();

curl_setopt($ch, CURLOPT_URL, "/api/v1/products");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, [
    "Authorization: Bearer 5d41402abc4b2a76b9719d911017c592",
    "Accept: application/json"
]);

$response = curl_exec($ch);
$products = json_decode($response, true);

curl_close($ch);
?>

JavaScript JavaScript

const response = await fetch('/api/v1/products', {
  method: 'GET',
  headers: {
    'Authorization': 'Bearer 5d41402abc4b2a76b9719d911017c592',
    'Accept': 'application/json'
  }
});

const products = await response.json();
console.log(products);

Python Python

import requests

headers = {
    'Authorization': 'Bearer 5d41402abc4b2a76b9719d911017c592',
    'Accept': 'application/json'
}

response = requests.get(
    '/api/v1/products',
    headers=headers
)

products = response.json()
print(products)

C# C# / .NET

using (var client = new HttpClient())
{
    client.DefaultRequestHeaders.Add("Authorization", "Bearer 5d41402abc4b2a76b9719d911017c592");
    client.DefaultRequestHeaders.Add("Accept", "application/json");
    
    var response = await client.GetAsync("/api/v1/products");
    var json = await response.Content.ReadAsStringAsync();
    
    var products = JsonSerializer.Deserialize<List<Product>>(json);
}

Useful resources

Changelog

Stay up to date with the latest changes and new features in our API.

See changelog

Support

Need help? Our support team is ready to help you.

Contact Support

Ready to build something amazing?

Start integrating the Shoporama API today

Become a partner