Request body

token
string
Online store ID
version
time
string
Validity time of signature_v2 according to ISO 8601
signature_v2
string
base64_encode signature of the specified attributes using the private key.
You will need to know the signature_token to create it.
POST https://vasedomena.com/vášOdinstalačníAPIEndoint JSON

{
"token": "",
"version": 0,
"time": "",
"signature_v2": ""
}
                                        

Response body

  • It does not wait for an HTTP 200 response - any response will result in an Upgates uninstall.
  • API accesses will be deleted (401 Unauthorized will be returned).
  • Things tied to the user's API (conversion codes, webhooks) are deleted.

Signature specimen

You can learn what a signature is and why it is used here.

signature_token is a special identifier for your add-on. You can find it in Marketplace / Add-on details - Add-on development (read more)

{} Signature_v2 PHP

<?php
$data = implode(";", [
    "token" => "...",
    "time" => "...",
    "signature_token" => "...",
    ]);
$signature = 'a0e0a3e7689bd4c80e4d6ffcccb05235b864e1d0';
$signaturePublicKey = file_get_contents("https://files.upgates.com/addons/signature/api.signature.pub.key");
$verify = openssl_verify($data, base64_decode($signature), $signaturePublicKey, OPENSSL_ALGO_SHA256);
            
        

Answer (Validation)

  • cURL supported content encoding
    • libcurl
    • deflate
    • gzip
    • br
    • zstd

Changelog

Datum Typ Změna
01.01.2025 signature the signature has been removed and replaced with a new version signature_v2
On this page

Další zdroje informací

Facebook Forum

Výměna zkušeností, rady a tipy mezi provozovateli e-shopů na systému Upgates.

Přejít do fóra

Akademie

Získejte znalosti od našich specialistů na marketing, obchod, právo a podnikání.

Přejít do akademie

Novinky z Blogu

Co nového jsme pro vás připravili nebo chystáme najdete na blogu.

Přejít do blogu

Nepodařilo se Vám najít tu správnou odpověď?

Kontaktujte naši technickou podporu, která je tu pro vás od pondělí do pátku 8:00 až 16:00 hod.

Zákaznická podpora