Edit a QR code

Overview

Change a code's name, design, or destination.

Use this to refresh a code without reprinting; the scan destination changes, the printed image doesn't.

You'll need the qr_code_id and the changes. Only the fields you send change.

The location's plan must include review solicitation (email or text); otherwise 400.

Returns the updated code.

Prerequisites

Base URL

EnvironmentURL
Productionhttps://production-api.shoutaboutus.com
Developmenthttps://development-api.shoutaboutus.com

Endpoint

PUT /api/v1/qr-codes/{qrCodeId}

Authentication

Account token

  • The QR code must have been created under your token's account; otherwise 404.
🚧

QR codes belong to the account that created them, and every QR endpoint matches on that account exactly; it doesn't walk the partner tree. A Partner token sees nothing, even for a location inside the partner's own tree: list endpoints return an empty result, and single-record endpoints return 404 QR code not found. The 404 means "not visible to this token", not "this QR code doesn't exist". Use an Account token for every endpoint in this section.

Rate limit

This endpoint has no rate limit.

Request parameters

ParameterInTypeRequiredDescription
qrCodeIdpathintegerYesThe QR code's id (id in List QR codes). Digits only.

Request body

FieldTypeRequiredDescription
namestringNoA new name, up to 255 characters. Must be unique for the location.
destination_typestringNoWhere 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).
landing_page_idintegerConditionalRequired 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.
review_site_idintegerConditionalRequired when destination_type is review_site. The review site (value in List supported review sites).
destination_urlstringConditionalRequired when destination_type is custom_url. The URL a scan opens.
customizationobjectNoHow 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).

Request payload

{
  "name": "Front desk",
  "destination_type": "custom_url",
  "destination_url": "https://example.com/promo"
}

Response body

The payload is inside data.

FieldTypeDescription
statusstringsuccess.
dataobjectThe updated QR code.
data.idintegerThe QR code's id. Use it as qrCodeId.
data.namestringThe code's name.
data.company_idintegerThe account that owns the code.
data.store_idintegerThe location the code is for.
data.qr_code_image_pathstringWhere the image is stored.
data.destination_typestringWhere 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).
data.landing_page_idinteger or nullThe landing page template, for landing_page.
data.review_site_idinteger or nullThe review site, for review_site.
data.destination_urlstring or nullThe URL a scan opens.
data.last_scanned_atstring or nullWhen the code was last scanned (ISO 8601), or null.
data.customizationobject or nullHow 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).
data.created_atstringWhen the code was created (ISO 8601).
data.updated_atstringWhen the code was last changed (ISO 8601).
data.deleted_atstring or nullAlways null here.
data.unique_codestringThe code's public id, used in the link the image encodes.
data.qr_code_image_urlstring or nullURL of the QR code image (PNG).
data.companyobjectThe owning account.
data.company.idintegerThe account's id.
data.company.namestringThe account's name.
data.storeobject or nullThe location.
data.store.idintegerThe location's id.
data.store.namestringThe location's name.
data.landing_pageobject or nullThe landing page template, or null.
data.landing_page.idintegerThe template's id.
data.landing_page.unique_codestringThe template's encoded id.
data.review_siteobject or nullThe review site ({"id": …}), or null.
messagestringQR code updated successfully

Response payload

{
  "data": {
    "status": "success",
    "data": {
      "id": 2963,
      "name": "Front desk",
      "company_id": 5994,
      "store_id": 3007,
      "qr_code_image_path": "qr_codes/qr_2963_1790935500.png",
      "destination_type": "custom_url",
      "landing_page_id": null,
      "review_site_id": null,
      "destination_url": "https://example.com/promo",
      "last_scanned_at": null,
      "customization": {
        "color": "#000000",
        "width": 240
      },
      "created_at": "2026-09-23T10:43:44.000000Z",
      "updated_at": "2026-10-01T10:05:00.000000Z",
      "deleted_at": null,
      "unique_code": "g7qkum",
      "qr_code_image_url": "https://d2ny6zb7otrnhl.cloudfront.net/qr_codes/qr_2963_1790935500.png",
      "company": {
        "id": 5994,
        "name": "Acme Coffee"
      },
      "store": {
        "id": 3007,
        "name": "Acme Coffee"
      },
      "landing_page": null,
      "review_site": null
    },
    "message": "QR code updated successfully"
  }
}

Examples

Success payload

See Response payload.

Error payload

400 No plan

{
  "message": "Store plan not found.",
  "status": "error",
  "errors": []
}

400 Review solicitation not on the plan

{
  "message": "Review Solicitation is not enabled for this store. Please enable it in your plan or contact support for assistance.",
  "status": "error",
  "errors": []
}

404 Not found

{
  "message": "QR code not found",
  "status": "error",
  "errors": []
}

422 URL missing

{
  "message": "Destination URL is required when destination type is custom_url.",
  "errors": {
    "destination_url": [
      "Destination URL is required when destination type is custom_url."
    ]
  }
}

422 Invalid destination type

{
  "message": "Destination type must be one of: landing_page, review_site, custom_url.",
  "errors": {
    "destination_type": [
      "Destination type must be one of: landing_page, review_site, custom_url."
    ]
  }
}
StatusMeaning
200The QR code was updated.
400The location has no active plan, or its plan doesn't include review solicitation.
401The token is missing, expired or invalid.
404QR code not found: the code wasn't created under your token's account, or has been deleted.
422A field is invalid, or the field its destination_type needs is missing.
500Unexpected server error.

Example request

curl --request PUT \
  --url "https://production-api.shoutaboutus.com/api/v1/qr-codes/2963" \
  --header 'Authorization: Bearer <bearer-token>' \
  --header 'Accept: application/json' \
  --header 'Content-Type: application/json' \
  --data '{"name": "Front desk", "destination_type": "custom_url", "destination_url": "https://example.com/promo"}'

Did this page help you?