Create a webhook
Changed onCreate a webhook for specific events in the environment.
Request
- Base URL: https://api.shipengine.com
- URL: https://api.shipengine.com/v1/environment/webhooks
- Auth: API key in header API-Key
Request body
Example request
{
"event": "batch",
"url": "https://example.com/resource",
"headers": [
{
"key": "custom-key",
"value": "custom-value"
}
],
"name": "My New Webhook",
"store_id": 123456
}Response
The request was a success.
Example response
{
"webhook_id": "se-28529731",
"url": "https://example.com/resource",
"event": "batch",
"headers": [
{
"key": "custom-key",
"value": "custom-value"
}
],
"name": "My Webhook",
"store_id": 123456
}Changes
- warning
added the new
bring_your_own_label_not_supportedenum value to the//response property for the response status - warning
added the new
bring_your_own_label_not_supportedenum value to the//response property for the response status - warning
added the new
bring_your_own_label_not_supportedenum value to the//response property for the response status - warning
added the new
multiple_sales_ordersenum value to the//response property for the response status - warning
added the new
multiple_sales_ordersenum value to the//response property for the response status - warning
added the new
multiple_sales_ordersenum value to the//response property for the response status - warning
added the new
sales_order_link_requiredenum value to the//response property for the response status - warning
added the new
sales_order_link_requiredenum value to the//response property for the response status - warning
added the new
sales_order_link_requiredenum value to the//response property for the response status
- warning
- breaking
added the new required request property
// - breaking
added the new required request property
// - breaking
request property
was restricted to a list of enum values - breaking
the
request property type changed from no type tostring - breaking
the
/request property type changed from no type toobject - breaking
the
/response's property type changed from no type tostringfor status - breaking
the
//response's property type changed from no type toobjectfor status - breaking
the
/response's property type changed from no type toobjectfor status - breaking
the
/response's property type changed from no type toobjectfor status - breaking
the
/response's property type changed from no type toobjectfor status - warning
removed from the
request propertyallOflist - warning
removed from the
/request propertyallOflist - warning
added the new
batchenum value to the/response property for the response status - warning
added the new
carrier_connectedenum value to the/response property for the response status - warning
added the new
order_source_refresh_completeenum value to the/response property for the response status - warning
added the new
rateenum value to the/response property for the response status - warning
added the new
report_completeenum value to the/response property for the response status - warning
added the new
sales_orders_importedenum value to the/response property for the response status - warning
added the new
trackenum value to the/response property for the response status - info
added the new
batchenum value to the request property - info
added the new
carrier_connectedenum value to the request property - info
added the new
order_source_refresh_completeenum value to the request property - info
added the new
rateenum value to the request property - info
added the new
report_completeenum value to the request property - info
added the new
sales_orders_importedenum value to the request property - info
added the new
trackenum value to the request property - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
removed from the
/response propertyallOflist for the response status - info
removed from the
/response propertyallOflist for the response status - info
removed from the
/response propertyallOflist for the response status - info
removed from the
/response propertyallOflist for the response status - info
removed from the
//response propertyallOflist for the response status - info
added the required property
///to the response with the status - info
added the required property
///to the response with the status - info
added the required property
//to the response with the status - info
added the required property
//to the response with the status - info
added the required property
//to the response with the status - info
added the required property
//to the response with the status - info
added the required property
//to the response with the status - info
added the required property
//to the response with the status - info
added the required property
//to the response with the status - info
added the required property
//to the response with the status - info
added the required property
//to the response with the status - info
added the required property
//to the response with the status - info
added the required property
//to the response with the status - info
added the required property
//to the response with the status
- breaking