{
  "openapi": "3.1.0",
  "info": {
    "title": "Norce Commerce Event",
    "version": "1.0.0"
  },
  "webhooks": {
    "CompanyChangedNotification": {
      "post": {
        "summary": "Company changed notification",
        "tags": [
          "Customer"
        ],
        "requestBody": {
          "description": "Notification event that a company has been changed. Entities that should be monitored for changes can be specified in the Subscription Settings.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CompanyChangedNotification"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Return a 200 status to indicate that the data was received successfully"
          },
          "500": {
            "description": "Return any 500 status to indicate that something went wrong and a retry of the event should be triggered."
          }
        }
      }
    },
    "CustomerChangedNotification": {
      "post": {
        "summary": "Customer changed notification",
        "tags": [
          "Customer"
        ],
        "requestBody": {
          "description": "Notification event that a company has been changed. Entities that should be monitored for changes can be specified in the Subscription Settings.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CustomerChangedNotification"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Return a 200 status to indicate that the data was received successfully"
          },
          "500": {
            "description": "Return any 500 status to indicate that something went wrong and a retry of the event should be triggered."
          }
        }
      }
    },
    "InvoiceCaptureCompletedEvent": {
      "post": {
        "summary": "Invoice captured event",
        "tags": [
          "Order"
        ],
        "requestBody": {
          "description": "This event gets triggered when an invoice has been captured by the InvoiceCpature service.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/InvoiceCaptureCompletedEvent"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Return a 200 status to indicate that the data was received successfully"
          },
          "500": {
            "description": "Return any 500 status to indicate that something went wrong and a retry of the event should be triggered."
          }
        }
      }
    },
    "OrderCancelledEvent": {
      "post": {
        "summary": "Order cancel event",
        "tags": [
          "Order"
        ],
        "requestBody": {
          "description": "This event gets triggered when Norce has received a request to cancel an order via Admin or Connect (v4).",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/OrderCancelledEvent"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Return a 200 status to indicate that the data was received successfully"
          },
          "500": {
            "description": "Return any 500 status to indicate that something went wrong and a retry of the event should be triggered."
          }
        }
      }
    },
    "OrderConfirmedEvent": {
      "post": {
        "summary": "Order confirmed event",
        "tags": [
          "Order"
        ],
        "requestBody": {
          "description": "This event gets triggered when Norce has received an order confirmation from the erp-system. These events are delivered only once for each order and can be used to send confirmation e-mails/texts.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/OrderConfirmedEvent"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Return a 200 status to indicate that the data was received successfully"
          },
          "500": {
            "description": "Return any 500 status to indicate that something went wrong and a retry of the event should be triggered."
          }
        }
      }
    },
    "OrderDeliveredEvent": {
      "post": {
        "summary": "Order delivered event",
        "tags": [
          "Order"
        ],
        "requestBody": {
          "description": "This event gets triggered when Norce has received an order status update from the erp-system with status 'Delivered'. These events are delivered only once for each order and can be used to send notification e-mails/texts.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/OrderDeliveredEvent"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Return a 200 status to indicate that the data was received successfully"
          },
          "500": {
            "description": "Return any 500 status to indicate that something went wrong and a retry of the event should be triggered."
          }
        }
      }
    },
    "OrderPartlyDeliveredEvent": {
      "post": {
        "summary": "Order partly delivered event",
        "tags": [
          "Order"
        ],
        "requestBody": {
          "description": "This event gets triggered when Norce has received an order status update from the erp-system with status 'Partly delivered'.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/OrderPartlyDeliveredEvent"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Return a 200 status to indicate that the data was received successfully"
          },
          "500": {
            "description": "Return any 500 status to indicate that something went wrong and a retry of the event should be triggered."
          }
        }
      }
    },
    "OrderReadyForPickupEvent": {
      "post": {
        "summary": "Order partly delivered event",
        "tags": [
          "Order"
        ],
        "requestBody": {
          "description": "This event gets triggered when Norce has received an order status update signaling that the order is ready to be picked up at a store or another drop point location. These events are delivered only once for each order and can be used to send notification e-mails/texts.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/OrderReadyForPickupEvent"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Return a 200 status to indicate that the data was received successfully"
          },
          "500": {
            "description": "Return any 500 status to indicate that something went wrong and a retry of the event should be triggered."
          }
        }
      }
    },
    "OrderPaymentReceivedEvent": {
      "post": {
        "summary": "Order payment received event",
        "tags": [
          "Order"
        ],
        "requestBody": {
          "description": "This event gets triggered when Norce has received an order payment from the application, after it gets sent to the erp-system. These events are delivered only once for each order and can be used to send order received mails.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/OrderPaymentReceivedEvent"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Return a 200 status to indicate that the data was received successfully"
          },
          "500": {
            "description": "Return any 500 status to indicate that something went wrong and a retry of the event should be triggered."
          }
        }
      }
    },
    "OrderReceivedEvent": {
      "post": {
        "summary": "Order received event",
        "tags": [
          "Order"
        ],
        "requestBody": {
          "description": "This event gets triggered when Norce has received an order from the application, before it gets sent to the erp-system. These events are delivered only once for each order and can be used to send order received e-mails or texts.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/OrderReceivedEvent"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Return a 200 status to indicate that the data was received successfully"
          },
          "500": {
            "description": "Return any 500 status to indicate that something went wrong and a retry of the event should be triggered."
          }
        }
      }
    },
    "SubscriptionFailedEvent": {
      "post": {
        "summary": "Subscription failed event",
        "tags": [
          "Order"
        ],
        "requestBody": {
          "description": "This event gets triggered when a subscription fails to create a new order.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SubscriptionFailedEvent"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Return a 200 status to indicate that the data was received successfully"
          },
          "500": {
            "description": "Return any 500 status to indicate that something went wrong and a retry of the event should be triggered."
          }
        }
      }
    },
    "JobCompletedEvent": {
      "post": {
        "summary": "Job completed event",
        "tags": [
          "System"
        ],
        "requestBody": {
          "description": "This event gets triggered when Norce has completed one of its internal jobs. These events can be used to get information about when a job has finished.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JobCompletedEvent"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Return a 200 status to indicate that the data was received successfully"
          },
          "500": {
            "description": "Return any 500 status to indicate that something went wrong and a retry of the event should be triggered."
          }
        }
      }
    },
    "SkuPriceChangedNotification": {
      "post": {
        "summary": "Price change notification",
        "tags": [
          "Product"
        ],
        "requestBody": {
          "description": "Notification event that gets triggered when the price sale value has changed for a specific product.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SkuPriceChangedNotification"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Return a 200 status to indicate that the data was received successfully"
          },
          "500": {
            "description": "Return any 500 status to indicate that something went wrong and a retry of the event should be triggered."
          }
        }
      }
    },
    "SkuOnHandBreakPointNotification": {
      "post": {
        "summary": "Onhand breakpoint notification",
        "tags": [
          "Product"
        ],
        "requestBody": {
          "description": "Notification event that gets triggered when the OnHand minimum value has been reached for a specific product.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SkuOnHandBreakPointNotification"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Return a 200 status to indicate that the data was received successfully"
          },
          "500": {
            "description": "Return any 500 status to indicate that something went wrong and a retry of the event should be triggered."
          }
        }
      }
    },
    "SkuChangedNotification": {
      "post": {
        "summary": "Product changed notification",
        "tags": [
          "Product"
        ],
        "requestBody": {
          "description": "Notification event that a product has been changed or created. Entities that should be monitored for changes can be specified in the Event Settings.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SkuChangedNotification"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Return a 200 status to indicate that the data was received successfully"
          },
          "500": {
            "description": "Return any 500 status to indicate that something went wrong and a retry of the event should be triggered."
          }
        }
      }
    },
    "TranslationRequestedNotification": {
      "post": {
        "summary": "Requesting translation notification",
        "tags": [
          "Product"
        ],
        "requestBody": {
          "description": "Notification event that is triggered when the translation button is used in Norce.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TranslationRequestedNotification"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Return a 200 status to indicate that the data was received successfully"
          },
          "500": {
            "description": "Return any 500 status to indicate that something went wrong and a retry of the event should be triggered."
          }
        }
      }
    },
    "SupplierSkuChangedNotification": {
      "post": {
        "summary": "Supplier product changed notification",
        "tags": [
          "Supplier"
        ],
        "requestBody": {
          "description": "Notification event that a Supplier product has been changed. Entities that should be monitored for changes can be specified in the Event Settings.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SupplierSkuChangedNotification"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Return a 200 status to indicate that the data was received successfully"
          },
          "500": {
            "description": "Return any 500 status to indicate that something went wrong and a retry of the event should be triggered."
          }
        }
      }
    },
    "SupplierSkuOnHandChangedNotification": {
      "post": {
        "summary": "Supplier product stock changed notification",
        "tags": [
          "Supplier"
        ],
        "requestBody": {
          "description": "Notification event that a Supplier product stock has been changed. Entities that should be monitored for changes can be specified in the Event Settings.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SupplierSkuOnHandChangedNotification"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Return a 200 status to indicate that the data was received successfully"
          },
          "500": {
            "description": "Return any 500 status to indicate that something went wrong and a retry of the event should be triggered."
          }
        }
      }
    },
    "SupplierSkuPriceChangedNotification": {
      "post": {
        "summary": "Supplier product price changed notification",
        "tags": [
          "Supplier"
        ],
        "requestBody": {
          "description": "Notification event that gets triggered when the supplier cost value has changed for a specific product.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SupplierSkuPriceChangedNotification"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Return a 200 status to indicate that the data was received successfully"
          },
          "500": {
            "description": "Return any 500 status to indicate that something went wrong and a retry of the event should be triggered."
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "CompanyChangedNotification": {
        "required": [
          "ClientId",
          "CompanyId",
          "EntityChanged"
        ],
        "properties": {
          "ClientId": {
            "type": "integer",
            "format": "int32",
            "description": "Client identifier"
          },
          "ApplicationId": {
            "type": "integer",
            "format": "int32",
            "description": "Application identifier, if company is application unique, see client settings"
          },
          "CompanyId": {
            "type": "integer",
            "format": "int32",
            "description": "Norce internal id for the organization"
          },
          "EntityChanged": {
            "type": "string",
            "description": "Describes what triggered the event.<br/>Read about the different entities <a href='/eventsettings/#companychangednotification'>here</a>.",
            "enum": [
              "tClientCompany",
              "tClientCompanyAddress",
              "tClientCompanyDeliveryMethod",
              "tClientCompanyDiscount",
              "tClientCompanyDivision",
              "tClientCompanyFlag",
              "tClientCompanyInfo",
              "tClientCompanyPaymentMethod",
              "tClientCompanyPriceList",
              "tClientCustomer",
              "tClientCustomerCompany"
            ]
          }
        }
      },
      "CustomerChangedNotification": {
        "required": [
          "ClientId",
          "CustomerId",
          "EntityChanged"
        ],
        "properties": {
          "ClientId": {
            "type": "integer",
            "format": "int32",
            "description": "Client identifier"
          },
          "ApplicationId": {
            "type": "integer",
            "format": "int32",
            "description": "Application identifier, if company is application unique, see client settings"
          },
          "CustomerId": {
            "type": "integer",
            "format": "int32",
            "description": "Norce internal id for the person or contact"
          },
          "EntityChanged": {
            "type": "string",
            "description": "Describes what triggered the event.<br/>Read about the different entities <a href='/eventsettings/#customerchangednotification'>here</a>.",
            "enum": [
              "tApplicationAccount",
              "tClientCustomer",
              "tClientCustomerAddress",
              "tClientCustomerDivision",
              "tClientCustomerFlag",
              "tClientCustomerInfo",
              "tClientCustomerPriceList"
            ]
          }
        }
      },
      "InvoiceCaptureCompletedEvent": {
        "required": [
          "ClientId",
          "ApplicationId",
          "CapturedInvoiceId",
          "State"
        ],
        "properties": {
          "ClientId": {
            "type": "integer",
            "format": "int32",
            "description": "Client identifier"
          },
          "ApplicationId": {
            "type": "integer",
            "format": "int32",
            "description": "Application identifier"
          },
          "CapturedInvoiceId": {
            "type": "integer",
            "format": "int32",
            "description": "Norce internal id for the invoice"
          },
          "State": {
            "type": "string",
            "description": "This is the state of the captured invoice.",
            "enum": [
              "Captured",
              "Error"
            ]
          }
        }
      },
      "OrderCancelledEvent": {
        "required": [
          "ClientId",
          "ApplicationId",
          "OrderId",
          "OrderNo",
          "ClientOrderRef",
          "Source"
        ],
        "properties": {
          "ClientId": {
            "type": "integer",
            "format": "int32",
            "description": "Client identifier"
          },
          "ApplicationId": {
            "type": "integer",
            "format": "int32",
            "description": "Application identifier"
          },
          "OrderId": {
            "type": "integer",
            "format": "int64",
            "description": "Norce internal id for the order"
          },
          "OrderNo": {
            "type": "string",
            "description": "This is the order identifier usually from the erp-system."
          },
          "ClientOrderRef": {
            "type": "string",
            "description": "This is the quotation/basket id from Norce or any external order reference (when an external order)."
          },
          "CellPhone": {
            "type": "string",
            "description": "This is the phone number of the buyer."
          },
          "FirstName": {
            "type": "string",
            "description": "This is the first name of the buyer."
          },
          "LastName": {
            "type": "string",
            "description": "This is the last name of the buyer."
          },
          "Source": {
            "type": "string",
            "description": "This is the source of the order. 'WEB' for Norce orders, name of marketplace or POS system is also possible."
          }
        }
      },
      "OrderConfirmedEvent": {
        "required": [
          "ClientId",
          "ApplicationId",
          "OrderId",
          "OrderNo",
          "ClientOrderRef",
          "Source"
        ],
        "properties": {
          "ClientId": {
            "type": "integer",
            "format": "int32",
            "description": "Client identifier"
          },
          "ApplicationId": {
            "type": "integer",
            "format": "int32",
            "description": "Application identifier"
          },
          "OrderId": {
            "type": "integer",
            "format": "int64",
            "description": "Norce internal id for the order"
          },
          "OrderNo": {
            "type": "string",
            "description": "This is the order identifier usually from the erp-system."
          },
          "ClientOrderRef": {
            "type": "string",
            "description": "This is the quotation/basket id from Norce or any external order reference (when an external order)."
          },
          "CellPhone": {
            "type": "string",
            "description": "This is the phone number of the buyer."
          },
          "FirstName": {
            "type": "string",
            "description": "This is the first name of the buyer."
          },
          "LastName": {
            "type": "string",
            "description": "This is the last name of the buyer."
          },
          "Source": {
            "type": "string",
            "description": "This is the source of the order. 'WEB' for Norce orders, name of marketplace or POS system is also possible."
          }
        }
      },
      "OrderDeliveredEvent": {
        "required": [
          "ClientId",
          "ApplicationId",
          "OrderId",
          "OrderNo",
          "ClientOrderRef",
          "Source"
        ],
        "properties": {
          "ClientId": {
            "type": "integer",
            "format": "int32",
            "description": "Client identifier"
          },
          "ApplicationId": {
            "type": "integer",
            "format": "int32",
            "description": "Application identifier"
          },
          "OrderId": {
            "type": "integer",
            "format": "int64",
            "description": "Norce internal id for the order"
          },
          "OrderNo": {
            "type": "string",
            "description": "This is the order identifier usually from the erp-system."
          },
          "ClientOrderRef": {
            "type": "string",
            "description": "This is the quotation/basket id from Norce or any external order reference (when an external order)."
          },
          "CellPhone": {
            "type": "string",
            "description": "This is the phone number of the buyer."
          },
          "FirstName": {
            "type": "string",
            "description": "This is the first name of the buyer."
          },
          "LastName": {
            "type": "string",
            "description": "This is the last name of the buyer."
          },
          "Source": {
            "type": "string",
            "description": "This is the source of the order. 'WEB' for Norce orders, name of marketplace or POS system is also possible."
          }
        }
      },
      "OrderPartlyDeliveredEvent": {
        "required": [
          "ClientId",
          "ApplicationId",
          "OrderId",
          "OrderNo",
          "ClientOrderRef",
          "Source"
        ],
        "properties": {
          "ClientId": {
            "type": "integer",
            "format": "int32",
            "description": "Client identifier"
          },
          "ApplicationId": {
            "type": "integer",
            "format": "int32",
            "description": "Application identifier"
          },
          "OrderId": {
            "type": "integer",
            "format": "int64",
            "description": "Norce internal id for the order"
          },
          "OrderNo": {
            "type": "string",
            "description": "This is the order identifier usually from the erp-system."
          },
          "ClientOrderRef": {
            "type": "string",
            "description": "This is the quotation/basket id from Norce or any external order reference (when an external order)."
          },
          "CellPhone": {
            "type": "string",
            "description": "This is the phone number of the buyer."
          },
          "FirstName": {
            "type": "string",
            "description": "This is the first name of the buyer."
          },
          "LastName": {
            "type": "string",
            "description": "This is the last name of the buyer."
          },
          "Source": {
            "type": "string",
            "description": "This is the source of the order. 'WEB' for Norce orders, name of marketplace or POS system is also possible."
          }
        }
      },
      "OrderReadyForPickupEvent": {
        "required": [
          "ClientId",
          "ApplicationId",
          "OrderId",
          "OrderNo",
          "ClientOrderRef",
          "Source"
        ],
        "properties": {
          "ClientId": {
            "type": "integer",
            "format": "int32",
            "description": "Client identifier"
          },
          "ApplicationId": {
            "type": "integer",
            "format": "int32",
            "description": "Application identifier"
          },
          "OrderId": {
            "type": "integer",
            "format": "int64",
            "description": "Norce internal id for the order"
          },
          "OrderNo": {
            "type": "string",
            "description": "This is the order identifier usually from the erp-system."
          },
          "ClientOrderRef": {
            "type": "string",
            "description": "This is the quotation/basket id from Norce or any external order reference (when an external order)."
          },
          "CellPhone": {
            "type": "string",
            "description": "This is the phone number of the buyer."
          },
          "FirstName": {
            "type": "string",
            "description": "This is the first name of the buyer."
          },
          "LastName": {
            "type": "string",
            "description": "This is the last name of the buyer."
          },
          "Source": {
            "type": "string",
            "description": "This is the source of the order. 'WEB' for Norce orders, name of marketplace or POS system is also possible."
          },
          "DropPointCode": {
            "type": "string",
            "description": "This is the drop point reference."
          }
        }
      },
      "OrderPaymentReceivedEvent": {
        "required": [
          "ClientId",
          "ApplicationId",
          "PaymentCode",
          "ErpOrderNo",
          "ClientOrderRef"
        ],
        "properties": {
          "ClientId": {
            "type": "integer",
            "format": "int32",
            "description": "Client identifier"
          },
          "ApplicationId": {
            "type": "integer",
            "format": "int32",
            "description": "Application identifier"
          },
          "ClientOrderRef": {
            "type": "string",
            "description": "This is the quotation/basket id from Norce or any external order reference (when an external order)."
          },
          "ErpOrderNo": {
            "type": "string",
            "description": "This is the order identifier usually from the erp-system."
          },
          "PaymentCode": {
            "type": "string",
            "description": "This is the payment code of the payment. Unique identifier from Norce."
          },
          "PaymentMethodCode": {
            "type": "string",
            "description": "This is the payment method code of the payment, the code configured on the payment method in Norce."
          },
          "PaymentRef": {
            "type": "string",
            "description": "This is the payment reference from the Payment Service Provider."
          },
          "Amount": {
            "type": "number",
            "format": "double",
            "description": "This is the amount paid."
          },
          "CurrencyCode": {
            "type": "string",
            "description": "This is the currency code of the payment. In a three letter ISO standard format. Like 'USD', 'EUR', or 'SEK' for example."
          }
        }
      },
      "OrderReceivedEvent": {
        "required": [
          "ClientId",
          "ApplicationId",
          "ClientOrderRef",
          "Source"
        ],
        "properties": {
          "ClientId": {
            "type": "integer",
            "format": "int32",
            "description": "Client identifier"
          },
          "ApplicationId": {
            "type": "integer",
            "format": "int32",
            "description": "Application identifier"
          },
          "ClientOrderRef": {
            "type": "string",
            "description": "This is the quotation/basket id from Norce or any external order reference (when an external order)."
          },
          "Email": {
            "type": "string",
            "description": "This is the email address of the buyer."
          },
          "CellPhone": {
            "type": "string",
            "description": "This is the phone number of the buyer."
          },
          "FirstName": {
            "type": "string",
            "description": "This is the first name of the buyer."
          },
          "LastName": {
            "type": "string",
            "description": "This is the last name of the buyer."
          },
          "Source": {
            "type": "string",
            "description": "This is the source of the order. 'WEB' for Norce orders, name of marketplace or POS system is also possible."
          }
        }
      },
      "SubscriptionFailedEvent": {
        "required": [
          "ClientId",
          "ApplicationId",
          "OrderId",
          "OrderNo",
          "ClientOrderRef",
          "Source"
        ],
        "properties": {
          "ClientId": {
            "type": "integer",
            "format": "int32",
            "description": "Client identifier"
          },
          "ApplicationId": {
            "type": "integer",
            "format": "int32",
            "description": "Application identifier"
          },
          "SubscriptionId": {
            "type": "integer",
            "format": "int32",
            "description": "Norce subscription id"
          },
          "RecurringOrderId": {
            "type": "integer",
            "format": "int32",
            "description": "This is the Norce recurring order id."
          },
          "RecurringOrderScheduleId": {
            "type": "integer",
            "format": "int32",
            "description": "This is the Norce recurring order schedule id."
          },
          "BasketId": {
            "type": "integer",
            "format": "int32",
            "description": "This is the current basket."
          },
          "Email": {
            "type": "string",
            "description": "This is the email address of the buyer."
          },
          "CellPhone": {
            "type": "string",
            "description": "This is the phone number of the buyer."
          },
          "FirstName": {
            "type": "string",
            "description": "This is the first name of the buyer."
          },
          "LastName": {
            "type": "string",
            "description": "This is the last name of the buyer."
          },
          "ErrorMessage": {
            "type": "string",
            "description": "This is the error message."
          }
        }
      },
      "JobCompletedEvent": {
        "required": [
          "ClientId",
          "JobId",
          "StatusId"
        ],
        "properties": {
          "ClientId": {
            "type": "integer",
            "format": "int32",
            "description": "Client identifier"
          },
          "ApplicationId": {
            "type": "integer",
            "format": "int32",
            "description": "Application identifier"
          },
          "JobId": {
            "type": "integer",
            "format": "int32",
            "description": "This is the JobId of the job in Norce"
          },
          "StatusId": {
            "type": "integer",
            "format": "int32",
            "description": "This is the status of the outcome of the job, should be 2, 3 or 4. (1=Initialized, 2=Succeeded, 3=Failed, 4=Validation failed, 5=Validating, 6=Queued)",
            "enum": [
              1,
              2,
              3,
              4,
              5,
              6
            ]
          }
        }
      },
      "SkuPriceChangedNotification": {
        "required": [
          "ClientId",
          "PartNo",
          "PricelistId",
          "PriceSaleValue"
        ],
        "properties": {
          "ClientId": {
            "type": "integer",
            "format": "int32",
            "description": "Client identifier"
          },
          "ApplicationId": {
            "type": "integer",
            "format": "int32",
            "description": "Application identifier"
          },
          "PartNo": {
            "type": "string",
            "description": "This is the product that has a changed price."
          },
          "PricelistId": {
            "type": "integer",
            "format": "int32",
            "description": "This is the internal id in Norce for the price list that has a changed price on the product."
          },
          "PricelistCode": {
            "type": "string",
            "description": "This is the external codde for the price list that has a changed price on the product."
          },
          "PriceSaleValue": {
            "type": "number",
            "format": "double",
            "description": "This is the actual changed price."
          },
          "QuantityBreak": {
            "type": "number",
            "format": "double",
            "description": "This is the quantity break on the price."
          }
        }
      },
      "SkuOnHandBreakPointNotification": {
        "required": [
          "ClientId",
          "PartNo",
          "WarehouseId",
          "LocationId",
          "OnHandValue",
          "MinimumValue"
        ],
        "properties": {
          "ClientId": {
            "type": "integer",
            "format": "int32",
            "description": "Client identifier"
          },
          "ApplicationId": {
            "type": "integer",
            "format": "int32",
            "description": "Application identifier"
          },
          "PartNo": {
            "type": "string",
            "description": "This is the product that has a changed price."
          },
          "WarehouseId": {
            "type": "integer",
            "format": "int32",
            "description": "This is internal id in Norce for the Warehouse."
          },
          "WarehouseCode": {
            "type": "string",
            "description": "This is the external code for the Warehouse."
          },
          "LocationId": {
            "type": "integer",
            "format": "int32",
            "description": "This is internal id in Norce for the Location of the Warehouse."
          },
          "LocationCode": {
            "type": "string",
            "description": "This is the external code for the Location of the Warehouse."
          },
          "OnHandValue": {
            "type": "number",
            "format": "double",
            "description": "This is the current on hand value that triggered the event."
          },
          "MinimumValue": {
            "type": "number",
            "format": "double",
            "description": "This is the configured min value for the warehouse/location for the product."
          }
        }
      },
      "SkuChangedNotification": {
        "required": [
          "ClientId",
          "PartNo",
          "EntityChanged"
        ],
        "properties": {
          "ClientId": {
            "type": "integer",
            "format": "int32",
            "description": "Client identifier"
          },
          "ApplicationId": {
            "type": "integer",
            "format": "int32",
            "description": "Application identifier"
          },
          "PartNo": {
            "type": "string",
            "description": "This is the part number of the product changed."
          },
          "EntityChanged": {
            "type": "string",
            "description": "Describes what triggered the event.<br/>Read about the different entities <a href='/eventsettings/#skuchangednotification'>here</a>.",
            "enum": [
              "tApplicationPriceList",
              "tCategory",
              "tCategoryCulture",
              "tCategorySalesArea",
              "tClientManufacturer",
              "tClientProductSku",
              "tClientProductSkuCulture",
              "tClientProductSkuOnHand",
              "tClientProductSkuPriceList",
              "tClientProductSkuSalesArea",
              "tClientProductSkuStructureItem",
              "tClientProductSkuStructureItemPriceList",
              "tParametric",
              "tParametricCulture",
              "tParametricList",
              "tParametricListCulture",
              "tParametricMultiple",
              "tParametricMultipleCulture",
              "tPriceListClientPricing",
              "tProduct",
              "tProductAccessory",
              "tProductCategory",
              "tProductCrossell",
              "tProductCulture",
              "tProductFile",
              "tProductFlag",
              "tProductParametric",
              "tProductParametricCulture",
              "tProductParametricMultiple",
              "tProductPopularity",
              "tProductRelation",
              "tProductUpsell",
              "tVariant",
              "tVariantCulture"
            ]
          }
        }
      },
      "TranslationRequestedNotification": {
        "required": [
          "ClientId",
          "PartNo",
          "EntityChanged"
        ],
        "properties": {
          "ClientId": {
            "type": "integer",
            "format": "int32",
            "description": "Client identifier"
          },
          "ApplicationId": {
            "type": "integer",
            "format": "int32",
            "description": "Application identifier"
          },
          "PartNo": {
            "type": "string",
            "description": "This is the part number of the product needing translation."
          },
          "EntityChanged": {
            "type": "string",
            "description": "Describes what triggered the event.<br/>Read about the different entities <a href='/eventsettings/#translationrequestednotification'>here</a>.",
            "enum": [
              "tProduct"
            ]
          }
        }
      },
      "SupplierSkuChangedNotification": {
        "required": [
          "ClientId",
          "SupplierId",
          "PartNo",
          "EntityChanged"
        ],
        "properties": {
          "ClientId": {
            "type": "integer",
            "format": "int32",
            "description": "Client identifier"
          },
          "ApplicationId": {
            "type": "integer",
            "format": "int32",
            "description": "Application identifier"
          },
          "SupplierId": {
            "type": "integer",
            "format": "int32",
            "description": "Internal id in Norce for the Supplier."
          },
          "PartNo": {
            "type": "string",
            "description": "This is the part number of the supplier product."
          },
          "EntityChanged": {
            "type": "string",
            "description": "Describes what triggered the event.<br/>Read about the different entities <a href='/eventsettings/#supplierskuchangednotification'>here</a>.",
            "enum": [
              "tSupplierProductSku",
              "tSupplierProductSkuClient"
            ]
          }
        }
      },
      "SupplierSkuOnHandChangedNotification": {
        "required": [
          "ClientId",
          "SupplierId",
          "PartNo",
          "EntityChanged"
        ],
        "properties": {
          "ClientId": {
            "type": "integer",
            "format": "int32",
            "description": "Client identifier"
          },
          "ApplicationId": {
            "type": "integer",
            "format": "int32",
            "description": "Application identifier"
          },
          "SupplierId": {
            "type": "integer",
            "format": "int32",
            "description": "Internal id in Norce for the Supplier."
          },
          "PartNo": {
            "type": "string",
            "description": "This is the part number of the supplier product."
          },
          "EntityChanged": {
            "type": "string",
            "description": "Describes what triggered the event.<br/>Read about the different entities <a href='/eventsettings/#supplierskuonhandchangednotification'>here</a>.",
            "enum": [
              "tSupplierProductSkuOnHand"
            ]
          }
        }
      },
      "SupplierSkuPriceChangedNotification": {
        "required": [
          "ClientId",
          "SupplierId",
          "PartNo"
        ],
        "properties": {
          "ClientId": {
            "type": "integer",
            "format": "int32",
            "description": "Client identifier"
          },
          "ApplicationId": {
            "type": "integer",
            "format": "int32",
            "description": "Application identifier"
          },
          "SupplierId": {
            "type": "integer",
            "format": "int32",
            "description": "Internal id in Norce for the Supplier."
          },
          "PartNo": {
            "type": "string",
            "description": "This is the part number of the supplier product."
          },
          "PricelistId": {
            "type": "integer",
            "format": "int32",
            "description": "Internal id in Norce for the Supplier price list."
          },
          "PricelistCode": {
            "type": "string",
            "description": "External code for the Supplier price list."
          },
          "PriceSaleValue": {
            "type": "number",
            "format": "double",
            "description": "The supplier price sale that has changed."
          },
          "QuantityBreak": {
            "type": "number",
            "format": "double",
            "description": "The supplier quantity break for the price that is changed."
          }
        }
      }
    }
  }
}