Tradecloud triggers a webhook to notify the buyer or supplier the order or shipment is new or has been updated.
When an order or shipment is new or has been changed at Tradecloud, we will trigger your webhook.
You can either choose between the POST or GET webhook.
POST which will contain the order event or shipment event in a JSON body.
GET which will contain the order ID or shipment ID as path or query parameter.
When you use the order event it will ONLY contain the lines affected by the event.
When you use the shipment event it will contain ALL the lines and ALL the documents. You can filter new/changed lines and documents based on the
When you GET the order or shipment yourself you will get ALL the lines. In case of shipments you can filter new/changed lines and documents based on the
In case of a POST webhook you can use the event inside the request JSON body:
In case of a GET webhook, the triggered webhook URL contains an order id parameter, for example:
In case of a GET webhook, using the order ID or shipment ID you can fetch the actual order or shipment from Tradecloud: