Mannequo

Developers

API and webhooks

Run your own shop (not Shopify or WooCommerce)? Connect it to Mannequo in three ways: we read your product feed, we notify your shop with a signed webhook when a packshot goes online, and your shop can fetch the images with the API. Shopify and WooCommerce don't need any of this: connect them under Connections.

1. API key

Create a key in the app under Connections → Your own shop or another system → API (you need the 'Manage API and webhook' permission). The key starts with mq_ and is shown once; store it as a secret on your server. Making a new key revokes the old one. Send it with every request:

Authorization: Bearer mq_xxxxxxxxxxxxxxxxxxxxxxxx

2. Fetch the images of a product

GET https://www.mannequo.app/api/v1/producten/{sku}/beelden

Returns the images that were put online for this SKU (case-insensitive), newest set first, in the chosen order within a set. Only images from your own company are returned.

curl -s https://www.mannequo.app/api/v1/producten/ABC123/beelden \
  -H "Authorization: Bearer $MANNEQUO_API_KEY"
{
  "sku": "abc123",
  "beelden": [
    { "url": "https://…public.blob.vercel-storage.com/…/abc123-1.jpg", "positie": 1, "soort": "voorkant", "at": "2026-11-10T13:05:12.000Z" },
    { "url": "https://…public.blob.vercel-storage.com/…/abc123-2.jpg", "positie": 2, "soort": "achterkant", "at": "2026-11-10T13:05:12.000Z" }
  ]
}

Fields

  • url: public HTTPS address of the image (JPEG or PNG); download it and store it in your own shop
  • positie: order, starting at 1
  • soort: front, back, detail, model…
  • at: when the image was made (ISO 8601, UTC)

Errors: 401 with an invalid or missing key. An unknown SKU returns an empty list.

3. Webhook: a packshot goes online

Set a webhook URL under Connections → Your own shop or another system. When someone clicks 'Put online' for a product from your feed, we send a POST with JSON to that address. Answer with any 2xx status within 15 seconds; otherwise the user sees that it failed and can try again.

POST https://your-shop.example/mannequo-webhook
Content-Type: application/json
x-mannequo-signature: sha256=5f2b…c9

{
  "event": "packshot.online",
  "sku": "ABC123",
  "barcode": "8712345678906",
  "productId": "12345",
  "titel": "Linen shirt, sage green",
  "beelden": [
    { "url": "https://…/abc123-1.jpg", "positie": 1, "soort": "voorkant" }
  ],
  "at": "2026-11-10T13:05:12.000Z"
}

Every webhook is signed. The header contains sha256= followed by the HMAC-SHA256 of the raw request body, with your webhook secret (shown once when you create it) as the key. Always check it before you trust the request, and compare in constant time:

Node.js

import crypto from "node:crypto";

// Use the RAW body (string or Buffer), not re-serialised JSON.
export function isFromMannequo(rawBody, header, secret) {
  const expected = "sha256=" + crypto.createHmac("sha256", secret).update(rawBody).digest("hex");
  const a = Buffer.from(expected);
  const b = Buffer.from(header || "");
  return a.length === b.length && crypto.timingSafeEqual(a, b);
}

PHP

<?php
$raw = file_get_contents('php://input');
$header = $_SERVER['HTTP_X_MANNEQUO_SIGNATURE'] ?? '';
$expected = 'sha256=' . hash_hmac('sha256', $raw, getenv('MANNEQUO_WEBHOOK_SECRET'));
if (!hash_equals($expected, $header)) { http_response_code(401); exit; }
$data = json_decode($raw, true);
// $data['sku'], $data['beelden'][0]['url'] …
http_response_code(200);

4. Product feed

So Mannequo can find your products when you scan or type, give us the address of a product feed under Connections → Your own shop or another system. Most shops already have one for Google Shopping. We read it again every night, and right away when you click to read it in.

  • Google Merchant XML (RSS <item> or Atom <entry>): g:id, g:title, g:mpn (used as SKU, otherwise g:id), g:gtin or g:ean (barcode), g:image_link, g:color, g:material.
  • Or CSV with a header row (comma or semicolon). Column names in English or Dutch: sku / id / artikelnummer, title / titel / naam, barcode / ean / gtin, color / kleur, material / materiaal, image / afbeelding / image_link.

Up to 20,000 products per feed.

sku;title;ean;color;material;image
ABC123;Linen shirt;8712345678906;sage green;linen;https://your-shop.example/img/abc123.jpg

5. Without any code

No developer at hand? Select packshots under Created and download them as a ZIP, then upload them to your shop yourself.

Questions

Stuck on something? Ask us via the form on the homepage or under Settings → Help and contact.

Ask a question
API and webhooks · Mannequo