Cancel an order
The order did not go ahead or was cancelled. An unconfirmed experience is removed and uses nothing. A confirmed one stops working (its QR code opens nothing) and its experience stays used.
serverKeyAuthorizationBearer <sk_live_…>A website key's secret server key, from Partner › Shops and integrations › Server connection. Keep it on your server.
id*stringThe experienceId your page got from the editor, or that a webhook carried.
uuidCancelled: status deleted
application/json- response
experienceId*stringThe experience ID. Every webhook carries it.
status*stringWhere it stands: draft (made through the API, not submitted yet), reserved (waits for your server to confirm it), submitted, processing, ready (scanning the QR code shows it), failed (see processingError) or deleted.
"draft""reserved""submitted""processing""ready""failed""disabled""deleted""replaced"contentKind?stringvideo (a hologram), model (3D objects) or info (a page of text and links).
"video""model""info"scanCode*stringThe short code in the QR code and in scanUrl.
scanUrl*stringThe address the printed QR code opens.
qrSvgUrl*stringThe QR code alone as a vector SVG, ready to print. Public.
qrPngUrl*stringThe QR code alone as a 1024 px PNG. Public.
printImageUrl?stringThe image with the QR code printed on it, when the experience has an image.
printPdfUrl?stringThe same print as a one-page PDF at its printed size, for a label printer.
processingError?stringWhy it failed, when status is failed.
orderReference?stringYour order number, when one was sent.
metadata?The values your page passed in, plus what your server added.
createdAt*numberWhen it was made, in Unix seconds.
reservedUntil?numberUntil when a reserved experience waits for your confirm, in Unix seconds.
confirmedAt?numberWhen it was confirmed, in Unix seconds.
readyAt?numberWhen it became ready, in Unix seconds.
pausedAt?numberWhen it was paused, in Unix seconds. While paused, its QR code shows what the key says a scan shows after the end.
endsAt?numberWhen it stops showing, in Unix seconds. From then on its QR code shows what the key says a scan shows after the end.
curl -X POST 'https://api.public.meishi.cards/embed/server/experiences/3f1c9a52-7d4e-4b8a-9e21-5c6d0f8b2a17/cancel'{ "experienceId": "string", "status": "draft", "contentKind": "video", "scanCode": "string", "scanUrl": "string", "qrSvgUrl": "string", "qrPngUrl": "string", "printImageUrl": "string", "printPdfUrl": "string", "processingError": "string", "orderReference": "string", "metadata": { "property1": "string", "property2": "string" }, "createdAt": 0, "reservedUntil": 0, "confirmedAt": 0, "readyAt": 0, "pausedAt": 0, "endsAt": 0}Confirm an order POST
The order is placed. A `reserved` experience (on a key whose server confirms designs) uses one experience and goes to processing; `experience.ready` or `experience.failed` follows on the webhook. You can add your order number and metadata. Confirming again answers the same and changes nothing.
Download the QR code GET
The QR code alone, black on white with its quiet zone, for printing. Ask for `<scanCode>.svg` (vector) or `<scanCode>.png`. Public (no key) and cached for good.