curl --request POST \
--url https://api.keystoneb2b.io/v1/inventory \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"action": "health"
}
'{
"success": true,
"service": "inventory-truth-api",
"timestamp": "2023-11-07T05:31:56Z"
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}API Reference
Inventory actions
Single RPC-style endpoint. Set action in the JSON body:
health— requires Bearer API keylist— requires Bearer API key
POST
/
inventory
curl --request POST \
--url https://api.keystoneb2b.io/v1/inventory \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"action": "health"
}
'{
"success": true,
"service": "inventory-truth-api",
"timestamp": "2023-11-07T05:31:56Z"
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}Authorizations
Tenant API key issued by Keystone
Body
application/json
- Option 1
- Option 2
Available options:
health 