Order and Pay: Webhook
Retrieve a Webhook
Changed onRetrieve an existing webhook.
get/o/wh/1/webhook/{endpointId}
Request
- Base URLhttps://api.trial.lsk.lightspeed.app
- URLhttps://api.trial.lsk.lightspeed.app/o/wh/1/webhook/{endpointId}
- AuthOAuth 2Authorization code: https://auth.lsk-prod.app/realms/k-series/protocol/openid-connect/authToken URL: https://auth.lsk-prod.app/realms/k-series/protocol/openid-connect/token scopes: orders-api
Path parameters
endpointIdstring required
Example:endpoint
Response
Webhook
Example response
{
"endpointId": "MY-AWESOME-ENDPOINT-ID",
"url": "https://webhook.site/1dc40b86-3d0d",
"withBasicAuth": true,
"username": "username",
"password": "password",
"provideAccount": true,
"expandTransactions": true,
"expandPayments": true,
"subscribeTo": [
{
"name": "DELIVERED",
"resource": "order"
}
]
}Changes
- warning
added the new
itemenum value to the//response property for the response status - warning
added the new
order_apienum value to the//response property for the response status - info
api tag
Order and Pay: Webhookadded - info
api tag
Order and Payremoved
- warning