Shopify & WooCommerce integration

Product Authentication and Anti-Counterfeit QR Codes for Shopify and WooCommerce Stores

Selling your own products on Shopify or WooCommerce? Give every unit a unique, copy-detecting QR code so buyers can check in one scan that what they received is genuine. TrustQR connects to your store through a REST API and signed webhooks: no app or plugin to install.

Quick answer

To add product authentication to a Shopify or WooCommerce store, create your products in TrustQR, order serialized QR codes for each batch, print them on your labels or packaging, and link a "Verify authenticity" page from your store. Customers scan the code with their phone camera and see whether the product is genuine. Your store can create products, order codes and react to scans automatically through the TrustQR API and webhooks.

TL;DR

Your store sells it. TrustQR proves it is real.

Online buyers cannot touch the product before they pay, and copycat listings use your photos. A verifiable code on every unit turns "trust me" into proof, and tells you when your codes are being copied.

Works with Shopify, WooCommerce and any other online store

One unique QR code (or NFC tag) per physical unit

Customers verify with the phone camera, no app needed

Copied codes are detected and flagged automatically

REST API to create products, order codes and download them

Signed webhooks for scans, alerts and fulfilled orders

Connect with Shopify Flow, Zapier, Make, n8n or your own code

Who this is for

Any brand or seller that ships physical products bought online and wants to prove they are original.

Shopify brands

Direct-to-consumer brands selling supplements, cosmetics, fashion, electronics or accessories through a Shopify store.

WooCommerce sellers

Shops on WordPress and WooCommerce that want authenticity checks without a heavy plugin.

Marketplace sellers

Brands whose products are also resold on Amazon, eBay, Etsy or social media, where fakes appear first.

Distributors and resellers

Official distributors who need to show customers that their stock comes from the brand.

How it works with your online store

From the product in your catalog to the customer scan, in six steps.

Create an account and an API key

Sign up, then create an API key with only the permissions you need (read, write, codes). Keys are shown once and stored hashed.

Sync the products you sell

Create each product in TrustQR from the dashboard or with POST /api/v1/products: name, SKU, lot number, expiry date and scan rules.

Order serialized codes for each batch

When new stock arrives, order the quantity of QR codes or NFC tags you need. Every code is unique to one physical unit.

Print and apply

When the order is fulfilled, the order.fulfilled webhook fires and you download the codes or print-ready label sheets for your printer or packaging supplier.

Customers verify the product

Buyers scan the code with the phone camera and land on a verification page that shows the product and whether it is genuine.

Your store reacts to scans

scan.created and scan.alert webhooks reach your store or automation tool: send a thank-you email, tag the customer, or alert your team about a copied code.

Shopify product authentication

Add authenticity checks to a Shopify store without installing an app from the App Store.

  • Add a "Verify authenticity" page or link in your theme, product pages and order confirmation emails.
  • Use Shopify Flow (HTTP request action), Zapier or Make to create TrustQR products or orders when your catalog changes.
  • Send scan.alert webhooks to Slack, email or your helpdesk so your team sees copied codes in minutes.
  • Keep the same QR code on units you also sell on Amazon, eBay or in retail: verification follows the product, not the sales channel.

WooCommerce anti-counterfeit integration

A plugin is not required. WooCommerce already speaks webhooks and HTTP, which is all TrustQR needs.

  • Use WooCommerce webhooks (Settings → Advanced → Webhooks) with n8n, Zapier or Make to call the TrustQR API.
  • Or add a short PHP snippet with wp_remote_post() to create products and order codes from your WordPress site.
  • Receive TrustQR webhooks on a REST endpoint of your site and verify the HMAC signature before trusting them.
  • Link a verification page from your product pages, packaging inserts and order emails.

The API in three calls

Everything is plain HTTPS and JSON, so it works from any platform, language or automation tool.

# 1. Register a product you sell in your store
curl -X POST https://app.trustqr.org/api/v1/products \
  -H "Authorization: Bearer $TRUSTQR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"name":"Whey Protein 2 kg","sku":"WP-2KG","lot_number":"LOT-2611"}'

# 2. Order unique QR codes for a new batch (safe to retry)
curl -X POST https://app.trustqr.org/api/v1/orders \
  -H "Authorization: Bearer $TRUSTQR_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: batch-lot-2611" \
  -d '{"items":[{"product_id":"PRODUCT_ID","quantity":500}]}'

# 3. When the order is fulfilled, download the codes to print
curl https://app.trustqr.org/api/v1/orders/ORDER_ID/codes \
  -H "Authorization: Bearer $TRUSTQR_API_KEY"

TrustQR API v1 endpoints

Authenticate with a Bearer API key. Every response is JSON; lists are paginated.

MethodEndpointWhat it does
GET /api/v1/me Check the key and see your organization
GET · POST /api/v1/products List products or create a new one
GET · PATCH /api/v1/products/{id} Read or update a product (text, images, scan rules)
GET · POST /api/v1/orders List code orders or place a new one
GET /api/v1/orders/{id}/codes Download the codes of a fulfilled order
GET /api/v1/codes/{serial} Look up one code and its scan history
POST /api/v1/codes/{serial}/status Deactivate or reactivate a single code
GET /api/v1/scans Read scans: time, country, device and result

Webhooks for your store

TrustQR sends a signed POST to your URL when something happens, and retries if your server is down.

scan.created

A customer scanned one of your codes. Use it for thank-you emails, loyalty points or warranty registration.

scan.alert

A scan looks suspicious, for example a code used more often than allowed. Alert your team or pause a listing.

order.fulfilled

Your codes are ready. Download them automatically and send them to your printer.

Security: API keys have scopes and are stored only as hashes; webhooks are signed with HMAC-SHA256 and a timestamp (TrustQR-Signature header); each key is limited to 60 requests per minute.

What you get

The same anti-counterfeit engine used by brands, available to every online store.

Unique code per unit

Serialized QR codes or NFC tags, never reused between products.

Copy detection

Scan limits and location rules flag codes that are photographed and reprinted.

Verification page

A mobile page with your product, images and a clear genuine / suspicious result.

Scan analytics

See where, when and on which devices your products are scanned.

Revoke any code

Deactivate a single unit, for example a returned or stolen item.

Expiry and lot rules

Show lot numbers and warn customers about expired products.

Customer data (optional)

Collect an email or phone number at verification for warranty or loyalty.

Print-ready labels

Download label sheets or code files for your own printer or packaging supplier.

TrustQR vs a free QR code app

A generic QR code app links to a page. It cannot tell a real product from a copied label.

CapabilityFree QR code appTrustQR
Unique code for every physical unitNoYes
Detects copied or reprinted codesNoYes
Genuine / suspicious result for the customerNoYes
Scan location and device analyticsLimitedYes
Deactivate a single codeNoYes
API and signed webhooks for your storeNoYes

Shopify & WooCommerce FAQ

Straight answers for store owners comparing product authentication options.

How do I add product authentication to my Shopify store?

Create your products in TrustQR, order unique QR codes for each batch, print them on the packaging and link a verification page from your store. To automate it, connect Shopify to the TrustQR API with Shopify Flow, Zapier, Make or a small script.

Is there a WooCommerce anti-counterfeit plugin?

You do not need one. TrustQR connects to WooCommerce through its REST API and webhooks, either with an automation tool such as n8n, Zapier or Make, or with a short PHP snippet in your WordPress site.

Do I need a developer?

No. You can run everything from the TrustQR dashboard and add a verification link to your store by hand. The API and webhooks are there when you want to automate product sync, code orders and scan alerts.

Do customers need to install an app to verify a product?

No. Customers scan the QR code with the normal phone camera and the verification page opens in the browser.

What happens if someone copies my QR code?

Each code has a scan limit and location rules. When a copied code is scanned more often than allowed or in an unexpected place, TrustQR marks the scan as suspicious, warns the customer and sends a scan.alert webhook.

Can I use the same codes for products sold on Amazon, eBay or in shops?

Yes. The code is printed on the physical product, so verification works the same wherever the product was bought.

Is it a Shopify QR code generator?

No. A QR code generator creates one link. TrustQR creates a unique, trackable code for every unit and checks each scan for signs of counterfeiting.

How secure is the TrustQR API?

API keys use scopes (read, write, codes) and are stored only as hashes. Webhooks are signed with HMAC-SHA256 and a timestamp so your store can reject forged or replayed calls. Requests are rate limited per key.

Does it support NFC tags?

Yes. You can order NFC tags as well as QR codes; both open the same verification page.

How much does it cost?

You can create an account for free and pay for codes per batch. See the pricing page for current rates.

Related TrustQR solutions

Learn more about the technology behind store integrations.

Make every order from your store verifiable.

Create your account, add your first product and order a test batch of codes today.