Create QR code

Create a QR code for the authenticated account. Requires the store's active plan to have the review-solicitation feature enabled (review_solicitation_email or review_solicitation_sms, enabled = 1), else 400. Generates and stores the QR image on save. Optionally fan-out the same QR to every sibling store that also has the feature (generate_for_sibling_stores). Writes a QR_CODE_CREATED audit event.

Auth

  • Bearer — account (account) role. store_id must sit inside your own account tree; the QR records the caller's company_id.

Rate limit

  • No rate limit.

Body

FieldTypeRequiredNotes
namestringRequiredMax 255. Unique per store_id.
store_idintegerRequiredMust be an existing location + must belong to the auth company.
destination_typestringRequiredlanding_page, review_site or custom_url.
landing_page_idintegerOptionalRequired when destination_type = landing_page; Must be an existing landing-page template.
review_site_idintegerOptionalRequired when destination_type = review_site; Must be an existing review site.
destination_urlstringOptionalRequired when destination_type = custom_url.
customizationobjectOptionalQR styling payload.
generate_for_sibling_storesbooleanOptionalAlso create for sibling stores with the feature enabled.

Behaviour

  • 201 (createdResponse). Body is double-nested: { "data": { "data": {.QrCode }, "message": "QR code created successfully" } }. The model appends unique_code (hashid) and qr_code_image_url.
  • 400 solicitation feature not enabled · 422 validation.
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
integer
string
integer
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