Templates

Update a template

patch/api/v1/templates/{id}

Request

  • Base URL: https://qrlia.dev.castlesoft.eu
  • URL: https://qrlia.dev.castlesoft.eu/api/v1/templates/{id}
  • Auth: one of:
    • HTTP bearer
    • API key in cookie qrc_session

Path parameters

idstring uuid required

Request body

namestring
descriptionstring nullable
payloadDefaultsobject
designIdstring uuid nullable

Response

Updated

idstring uuid required
scope'tenant' | 'company' required

tenant = shared across the whole tenant. company = private to one company.

tenantIdstring uuid required
companyIdstring uuid nullable required
qrType'url' | 'vcard' | 'profile_card' | 'text' | 'email' | 'phone' | 'sms' | 'whatsapp' | 'wifi' | 'pdf' | 'image' | 'audio' | 'video' | 'app' | 'multilink' | 'menu' | 'feedback' | 'event' | 'dpp' | 'coupon' | 'sepa' | 'paypal' | 'crypto' | 'lead_form' required

Discriminator for QR payload shape.

namestring required
descriptionstring nullable required
payloadDefaultsobject required
designIdstring uuid nullable required
createdAtstring date-time required

Changes

No recorded changes to this operation across all 1 revision of this API.