External resources
How to manage resources via external serverless functions
Callbacks security
Circuit breaker
Resetting the circuit
curl -g -X PATCH \
'https://yourdomain.commercelayer.io/api/external_gateways/bGHfCxZJKl' \
-H 'Accept: application/vnd.api+json' \
-H 'Authorization: Bearer your-access-token' \
-H 'Content-Type: application/vnd.api+json' \
-d '{
"data": {
"type": "external_gateways",
"id": "bGHfCxZJKl",
"attributes": {
"_reset_circuit": true
}
}
}'Payload format
Custom include list
Response format
Notifications
Key
Type
Required
Description
String
Object
Boolean
Request headers
Header
Description
Header
Description
Last updated