Product Cares
Schedule a callContact us
  • Overview
  • Frontend Page
    • Prefill form fields
    • Registered entries
    • Fill product with serial number
  • Claim Warranty
  • App Admin
    • Forms
      • Listing
        • Registration detail
      • Form Design
      • Form Settings
      • Claim Warranty Form
    • App Settings
      • General Settings
      • Custom From Email
      • Serial Numbers
        • Serial number with file download
    • Email Templates
  • Integrations
    • Klaviyo
    • Mailchimp
    • Stripe payment
    • Gorgias
  • Video tutorials
  • Advance
    • API
    • Import/Migrate Registrations
    • Webhook
    • Downloadable assets after submit
    • Serial number checker/validator
  • Frequently Asked Questions (FAQ)
  • Change Logs
  • Contact us
Powered by GitBook
On this page
  1. Advance

Webhook

This is for you to integrate it with your system like ERP etc.

The webhook have to be using secure connection, there for only HTTPS address is accepted.

Setup

Webhook can be setup in the App Admin > Forms > Select the form > Settings > General > Webhook

Once webhook is setup, every time there is registration, the app will send a HTTP POST request to the webhook address with the following payload.

{
  "type": "product-registration",
  "items": [
    {
      "product": {
        "id": 11651617295,
        "title": "Short sleeve t shirt",
        "handle": "short-sleeve-t-shirt",
        "imageUrl": "https://cdn.shopify.com/s/files/1/1893/1973/products/mens-dark-grey-long-sleeve-basketball-t-shirt-p18984-15470_image.jpg?v=1498345705"
      },
      "purchaseDate": "2018-05-28T10:58:17.597Z",
      "serialNumbers": [
        "123"
      ],
      "extraFields": [
        {
          "name": "Title",
          "type": "text",
          "value": "Mr"
        },
        {
          "name": "where did you buy it?",
          "type": "selection",
          "value": "Ebay"
        },
        {
          "name": "Upload Image (Receipt)",
          "type": "image",
          "value": "https://www.example.com/test.jpg"
        },
      ]
    }
  ],
  "customer": {
    "name": "James Hunt",
    "firstName": "James",
    "surname": "Hunt",
    "email": "james@hunt.com",
    "address1": "1 Highstreet",
    "address2": "Haham",
    "city": "New York",
    "country": "US",
    "state": "NY",
    "postCode": "1234567",
    "phone": "1234567",
  }
}
PreviousImport/Migrate RegistrationsNextDownloadable assets after submit

Last updated 9 months ago