Tradecloud Connectors
  • Overview
  • API v2
  • Azure Active Directory Connector
    • Azure AD Connector - AD Configuration
    • Azure AD Connector - Tradecloud Configuration
  • FTP Connectors
    • CSV FTP Connector
    • Edifact FTP Connector
  • SAP SOAP Connector
  • Webhook Connector
    • Setting up the webhook
    • Configure the webhook
    • Order Events
    • Order Documents Events
    • Shipment Events
  • Legacy
    • API v1
    • CVS File Connector
      • CSV File Connector Requirements
      • CSV Buyer Specification
      • CSV Supplier Specification
    • Exact Globe Connector
Powered by GitBook
On this page
  • Select one or more webhooks
  • Orders Webhook Integration
  • Order Delivery Schedule
  • Order Documents Webhook Integration
  • Shipments Webhook Integration
  • Method and URL
  • Credentials
  • Basic authentication
  • Bearer token
  • OAuth
  • Testing

Was this helpful?

  1. Webhook Connector

Configure the webhook

PreviousSetting up the webhookNextOrder Events

Last updated 6 months ago

Was this helpful?

Select one or more webhooks

A company admin can configure one or more webhooks in your company settings on the :

  • Select My company in the menu below your avatar.

  • The Settings tab in the Company menu should be selected.

  • Configure one or more Webhook Integrations below.

Orders Webhook Integration

Enable the Order Webhook Integration if you want to receive a webhook trigger when an order has been issued or changed:

A default set of order events will be enabled. The actual set you want to select wil be dependent on the capabilities of your integration and ERP system and your order process requirements. You can find a list of events here:

Order Delivery Schedule

You can configure the way the delivery schedule is included in the body of a webhook POST request. You can choose between:

  • Multiple delivery lines per order line. This will result in an orderEvent in the POST request body.

  • Only one delivery line per order line. This will result in a singleDeliveryOrderEvent in the POST request body.

Order Documents Webhook Integration

Enable the Order Documents Webhook Integration if you want to receive a webhook trigger when an order document has been attached:

You may choose whether you want to receive events for documents added by the buyer of an order, the suppplier, or both. You can find a list of events here:

Shipments Webhook Integration

Enable the Shipment Webhook Integration if you want to receive a webhook trigger when a shipment has been issued or changed:

A default set of shipments events will be enabled. The actual set you want to select wil be dependent on the capabilities of your integration and ERP system and your shipment process requirements. You can find a list of events here:

Method and URL

Configure the webhook method and endpoint URL:

  • Select POST as HTTP method.

  • Enter your webhook endpoint URL:

    • The URL must start with https://

Only POST is supported as HTTP method.

Credentials

Finally, configure the credentials. Choose either Basic authentication, Bearer token or OAuth.

Basic authentication

Fill in username and password, as provided by your webhook configuration, and save the settings.

Bearer token

Fill in the token, as provided by your webhook configuration, and save the settings.

OAuth

Tradecloud supports the Oauth 2.0 Client Credentials Grant, where the client sends a HTTPS form request with:

  • grant_type with value client_credentials

  • client_id, client_secret and scope

Fill in the fields:

  • authentication URL: the OAuth 2.0 token endpoint including your Directory (tenant) ID, for example https://login.microsoftonline.com/<Tenant ID>/oauth2/v2.0/token

  • client ID: the Application (client) ID of your webhook client app as configured in Ms Azure AD

  • client Secret: the Client Secret Value of your webhook client app as configured in Ms Azure AD

  • scope: the scope granted to the webhook client app, for example containing the webhook endpoint https://<webhook endpoint>/.default.

Testing

Use a bogus username and password when testing against webhook site.

See to read about the delivery schedule versus the single delivery per order line.

Tradecloud supports , where the client sends a HTTPS request with the Authorization header that contains the word Basic followed by a space and a base64-encoded string username:password.

Published as

Tradecloud supports , where the client sends a HTTPS request with the Authorization header that contains word Bearer followed by a space and the static token.

Published as

Published as the

You can test webhook triggers using

Order Events
the API manual
Order Documents Events
Shipment Events
Basic authentication
RFC 7617 "The 'Basic' HTTP Authentication Scheme"
Bearer authentication
RFC 6750 "The OAuth 2.0 Authorization Framework: Bearer Token Usage"
RFC 6749 "Oauth 2.0 Client Credentials Grant"
webhook.site
Tradecloud One platform
Webhook Settings
Order Events
Order Delivery Schedule
Order Documents Events
Shipment Events
Webhook method and URL
Webhook basic authentication
Webhook bearer token
Webhook Oauth