POST
/
webhook-event
/
merchant-app-updated
curl --request POST \
  --url https://{yourDomain}/webhook-event/merchant-app-updated \
  --header 'Content-Type: application/json' \
  --data '{
  "id": "<string>",
  "type": "test",
  "date": "<string>",
  "payload": {
    "id": "<string>",
    "websiteUrl": "<string>",
    "privacyUrl": "<string>",
    "tosUrl": "<string>",
    "shopLogo": "<string>",
    "platformType": "shopify",
    "hasApiKey": true,
    "successCallbackUrl": "<string>",
    "errorCallbackUrl": "<string>",
    "quoteCallbackUrl": "<string>",
    "completeCallbackUrl": "<string>",
    "webhookUrl": "<string>",
    "defaultWebhookSubscription": "<string>",
    "offsetProject": "<string>",
    "buttonOnlyShopTrees": true,
    "climateActionMode": {
      "type": "transaction",
      "amount": 123
    },
    "updatedAt": "2023-11-07T05:31:56Z",
    "createdAt": "2023-11-07T05:31:56Z",
    "impactOffsetProjects": [
      "<string>"
    ],
    "notificationSettings": {
      "webhookFailure": {
        "emailNotification": {
          "active": true,
          "emails": [
            "<string>"
          ]
        }
      },
      "merchantOrderConfirmation": {
        "emailNotification": {
          "active": true,
          "emails": [
            "<string>"
          ]
        }
      }
    },
    "manuallyApproved": true
  }
}'

Body

application/json

Data of the webhook event

The body is of type object.

Response

200

OK