Duplicate a QR code

Copy a code's settings to a new code, for example for another location. Send any field to change it on the copy; the rest is copied from the source. The copy gets its own id, image and unique code, and is named <source> (Copy) unless you send name. Returns the new code.

Prerequisites: a bearer token for the account, and the QR code's id (id in GET /api/v1/qr-codes).

Authentication: Account token. The source must have been created under your token's account (otherwise 404), and store_id must be inside your own account tree (otherwise 422).

Rate limit: none.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
integer
required
Defaults to 2963

Required. The id of the QR code to copy (id in List QR codes). Digits only.

Body Params
string
Defaults to Front desk (Copy)

Name for the copy, up to 255 characters. Defaults to <source> (Copy).

integer
Defaults to 3008

A location for the copy. Must be inside your account tree. Defaults to the source's location.

string
enum
Defaults to landing_page

Where a scan goes: landing_page (a landing page template), review_site (the location's landing page URL on a review site) or custom_url (any URL).

Allowed:
integer
Defaults to 4548

Required when destination_type is landing_page. The landing page template (value in List landing page templates); must be one of your account's templates or a shared one.

integer
Defaults to 44

Required when destination_type is review_site. The review site (value in List supported review sites).

string
Defaults to https://example.com/promo

Required when destination_type is custom_url. The URL a scan opens.

customization
object

How the image looks: color (a hex colour such as #000000, a colour name, or [r, g, b]) and width (pixels, 64 to 2048; 300 when left out).

Responses

Language
Credentials
Bearer
JWT
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json