help center
  • Intro
  • Designs
    • Products
    • Design guides
    • Editing designs
    • Personalize (variables)
    • QR codes
    • Branded Links
    • Images
    • Fonts
    • Scaling text
    • Emojis
    • Finishes
    • Colours
    • Coupons
  • Testing
    • Preview
    • Proof
  • API
    • API Documentation
    • Authentication and API Keys
    • Example JSON
    • API status codes
    • Address Validation
    • Rate Limiting
    • Idempotency
    • Postman settings
    • CSV automation
    • Webhooks
  • Integrations
    • ActiveCampaign
    • Deployteq
    • HubSpot
    • Klaviyo
    • Laravel
    • Monday
    • Power Automate
    • Shopify
    • AFAS
    • Spotler / Squeezely
    • Zapier
    • Salesforce
    • Microsoft Dynamics 365
    • Odoo CRM
    • Copernica
    • Zoho
  • Mailing
    • Submission
    • Destinations
    • Sustainability
    • Batch
  • Billing
    • Prepaid
    • Invoice
    • Cost centers
  • Support

help center

English
  • Nederlands
  • English
  • Intro
  • Designs
    • Products
    • Design guides
    • Editing designs
    • Personalize (variables)
    • QR codes
    • Branded Links
    • Images
    • Fonts
    • Scaling text
    • Emojis
    • Finishes
    • Colours
    • Coupons
  • Testing
    • Preview
    • Proof
  • API
    • API Documentation
    • Authentication and API Keys
    • Example JSON
    • API status codes
    • Address Validation
    • Rate Limiting
    • Idempotency
    • Postman settings
    • CSV automation
    • Webhooks
  • Integrations
    • ActiveCampaign
    • Deployteq
    • HubSpot
    • Klaviyo
    • Laravel
    • Monday
    • Power Automate
    • Shopify
    • AFAS
    • Spotler / Squeezely
    • Zapier
    • Salesforce
    • Microsoft Dynamics 365
    • Odoo CRM
    • Copernica
    • Zoho
  • Mailing
    • Submission
    • Destinations
    • Sustainability
    • Batch
  • Billing
    • Prepaid
    • Invoice
    • Cost centers
  • Support

Print.one

  • Print.one website

  • Print.one login

  • Terms and Conditions

Copyright © 2024 Print.one - all rights reserved

  • Api
  • Example JSON

    Example JSON

    Note: Where 'tmpl_12345678900987654321' appears, the template ID should be entered.

    Where it says 'billingId' you can (optionally) enter an attribute, for example the name of the campaign. You will also see this reference in your overviews and on the invoice.

    You determine the merge variables yourself. If you use {{firstname}} somewhere in the HTML, the variable 'firstname' will be filled in there, which you provide in the JSON in the API call.

    Do not use dots in the names of the merge variables.

    Also refer to the documentation.

    Example JSON:
    1{
    2 "sender": {
    3 "name": "Sender & Co. Ltd",
    4 "address": "Street 123",
    5 "postalCode": "1234AB",
    6 "city": "Amsterdam",
    7 "country": "Netherlands"
    8 },
    9 "recipient": {
    10 "name": "Jane Doe",
    11 "address": "Lane 321",
    12 "postalCode": "4321CD",
    13 "city": "The Hague",
    14 "country": "Netherlands"
    15 },
    16 "mergeVariables": {
    17 "firstname": "Jane",
    18 "discount": "10%",
    19 "coupon code": "DISCOUNT10"
    20 },
    21 "templateId": "tmpl_12345678900987654321",
    22 "finish": "GLOSSY",
    23 "billingId": "Attribute e.g. campaign name for cost allocation"
    24}

    Previous

    « Authentication and API Keys

    Next

    API status codes »