json icon

Release Inventory

v1.0.0commands

Command to release a previously held inventory reservation.

1{
2  "$schema": "http://json-schema.org/draft-07/schema#",
3  "title": "ReleaseInventory",
4  "description": "Command to release a previously held inventory reservation",
5  "type": "object",
6  "properties": {
7    "reservationId": { "type": "string", "format": "uuid" },
8    "reason": {
9      "type": "string",
10      "enum": ["CHECKOUT_FAILED", "ORDER_CANCELLED", "EXPIRED"]
11    }
12  },
13  "required": ["reservationId"]
14}
15

Details

Format
JSON Schema
Resource
commands
Filename
schema.json

Versions