Text only available in english
With the SERVERJSONPOST interface type, details of the selected item(s) are posted from the Unifeed server to the URL specified via the hookUrl parameter.
Unlike the client-side JSONPOST interface, this post is executed server-side. This means CORS restrictions do not apply, and authenticated requests (e.g., with an access token) can be supported.
If required, the user can be redirected afterwards via the optional RedirectAfterPost parameter.
interfaceType=SERVERJSONPOST
interface=3
hookUrl={url}
cbap={value}
→ Application identifier for authenticated callbacks. When provided, Unifeed requests an access token from the application’s token service and includes it in the Authorization: Bearer {token}
header.RedirectAfterPost={url}
→ Redirects the user after the POST is complete.
[
{
"Id": 60104942,
"ProductId": null,
"Description": "wcd ra 3-v kv fietsoplaadpunt",
"SupplierGLN": "8712507900012",
"SuppliersTradeItemId": "2CKA009999A2303",
"PricePerOrderUnit": "105",
"Method": "OriginalGrossPrice",
"Quantity": "1"
},
{
"Id": 49959787,
"ProductId": null,
"Description": "Adapter LL, type Lexcom met labelvenster",
"SupplierGLN": "8712259100005",
"SuppliersTradeItemId": "AT1987",
"PricePerOrderUnit": "1.67",
"Method": "BRUTO",
"Quantity": "100"
}
]
The SERVERJSONPOST interface can easily be tested using webhook.site. Example: