post
https://production-api.shoutaboutus.com/api/v1/qr-codes//duplicate
Create a copy of an existing QR code with optional field overrides; the source must belong to the authenticated account-user. The clone defaults its name to "<source name> (Copy)", copies the source's destination fields/customization where not overridden, then regenerates its own destination URL and QR image.
Auth: Account — authentication; (404 if outside the account company). The clone inherits the source's company_id. An overriding store_id must sit inside your own account tree.
Rate limit: No rate limit.
Request
- Body (all optional — overrides only):
| Field | Type | Required | Notes |
|---|---|---|---|
| name | string | optional | max 255; defaults to "<source> (Copy)" |
| store_id | integer | optional | Must be an existing location inside your own account tree |
| destination_type | string | optional | one of landing_page, review_site, custom_url |
| landing_page_id | integer | optional | Must be an existing landing-page template |
| review_site_id | integer | optional | Must be an existing review site |
| destination_url | string | optional | — |
| customization | array | optional | nullable JSON object |
Response — { data. } envelope wrapping an array (HTTP 201 via createdResponse).
data.status(string) —"success".data.data(object) — the new QrCode withcompany:id,name,store:id,name,landingPage:id,reviewSite:idloaded andqr_code_image_urlappended.data.message(string) —"QR code duplicated successfully".
Path params
| Parameter | Type | Required | Notes |
|---|---|---|---|
qrCodeId | integer | Required | Digits only. |
Errors: 422 on validation failure.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
