Shopify Product Cares/Registration
BlogSchedule a callContact us
V2 Latest
V2 Latest
  • 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
        • Limit product search to specific products
        • Auto registration on new order
      • Claim Warranty Form
    • Serial Numbers
      • Serial number with file download
    • Warranty / Care Plans
      • Create a warrant plan product
      • Cross-selling warranty / care plan
    • App Settings
      • General Settings
      • Custom From Email
      • Languages
    • Email Templates
    • Warranty
    • Navigation
    • Customer Admin Link
    • Registrations In Account Area
    • Form inside Shopify Page
    • Add registrations for customer
  • POS (Point Of Sales)
  • Shopify admin links
  • Integrations
    • Klaviyo
    • Mailchimp
    • Stripe payment
    • Gorgias
  • Video tutorials
  • Advance
    • API
    • Import/Migrate Registrations
    • Webhook
    • Downloadable assets after submit
    • Serial number checker/validator
    • Shopify Flow
  • Frequently Asked Questions (FAQ)
    • Why is View on the frontend link not working?
  • Migrate to v2
  • Change Logs
  • Contact us
  • Terms & Conditions
  • Privacy Policy and Data Protection
Powered by GitBook
On this page
  1. Advance

Webhook

PreviousImport/Migrate RegistrationsNextDownloadable assets after submit

Last updated 2 months ago

To integrate the webhook with your system, such as an ERP, ensure that the webhook URL uses a secure connection. Only HTTPS addresses are accepted.

Setup

To set up the webhook, follow these steps:

  1. Go to Shopify Admin.

  2. Navigate to Apps > My Product Registration.

  3. Select Forms.

  4. Choose the form you want to integrate with the webhook.

  5. Go to Settings > General.

Once the webhook is set up, every time a registration occurs, the app will send an 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",
  }
}