createWithOpeningStock
POST/merchant/api/v1/stores/:storeId/products/opening-operations
Atomically binds a store-local barcode and immutable opening intent, including the verified human subject, before Gateway effects. Competing barcode intents are rejected before admission. Retry uncertain delivery with the same key and identical body; pending is not failure. Only server status failed proves no effects and releases its barcode for a corrected new-key attempt. Same-key requests replay the original terminal result; later rejection never erases an earlier unknown outcome. A different explicit attempt may proceed independently for an available barcode.
Request
Responses
- 200
OK