Sign Customiser

Navigation

Dark mode

Retrieve example webhook payloads for a specific topic. If data exists for the current organisation, real data will be used. Otherwise, example data is returned.

GET/api/v2/webhook-examples/{topic}
GETWebhook payload examples
GET/api/v2/webhook-examples/{topic}

Webhook payload examples

Retrieve example webhook payloads for a specific topic. If data exists for the current organisation, real data will be used. Otherwise, example data is returned.

Authorisation

The Authorization header expects a Bearer token. Generate one on the API keys page in your dashboard.

Path

The webhook topic to get examples for. Must be one of: product:created, order:created, form:submitted.

Webhook payload examples

Click Send to see the live response.

Authorisation

Bearer token required. Include it in the Authorization header.

Path parameters

topicstringpathrequired

The webhook topic to get examples for. Must be one of: product:created, order:created, form:submitted.

Example: product:created

Webhook payload examples
curl https://web.signcustomiser.com/api/v2/webhook-examples/product%3Acreated \
  --header 'Accept: application/json' \
  --header 'Authorization: Bearer YOUR_API_TOKEN'
Response
{
  "product": {
    "product_image_url": "https://d1no4rdxmwcuog.cloudfront.net/default/app-images/demonstration_image_1.jpg",
    "product_id": 1,
    "title": "Custom Neon: Hello World",
    "description": "Text: Hello World\nColour: Red\nFont: Comics",
    "description_html": "<p>Text: Hello World</p>\n<p>Colour: Red</p>\n<p>Font: Comics</p>",
    "external_id": "1234",
    "external_data": [],
    "price": 10000,
    "compare_price": 15000,
    "customiser_id": 1,
    "customiser_language_id": 1,
    "customiser_language_code": "en",
    "customiser_default_language_code": "en",
    "customiser_languages_version": "example-version",
    "customiser_language_hash": "example-hash",
    "customer_display_snapshot": {
      "line_items": {
        "Text": "Hello World"
      },
      "fields": {
        "text": {
          "label": "Text",
          "value": "Hello World"
        }
      }
    },
    "logo_upload_id": null,
    "uploads": [
      {
        "url": "https://d1no4rdxmwcuog.cloudfront.net/default/app-images/demonstration_image_1.jpg",
        "path": "app-images/demonstration_image_1.jpg",
        "type": "product_image"
      }
    ],
    "logo_upload": null,
    "width_cm": 10,
    "height_cm": 10,
    "length_cm": 10,
    "border_margin_cm": null,
    "mounting_letter_part": null,
    "created_at": "2024-01-01T00:00:00+00:00",
    "updated_at": "2024-01-01T00:00:00+00:00",
    "letter_heights_cm": null,
    "width_in": 3.9370079,
    "height_in": 3.9370079,
    "length_in": 3.9370079,
    "border_margin_in": null,
    "authored_units": {
      "width_cm": "centimetres",
      "height_cm": "centimetres",
      "length_cm": "centimetres"
    }
  }
}

Type a question and press Enter. Use the arrow keys to move between the results.