Skip to main content
POST
Error

Authorizations

Authorization
string
header
required

Authorization: Bearer <token>. Accepts EITHER a Keycloak access token (scopes-in-token) OR an opaque POS session token; both resolve to the same pos.* scope vocabulary the route guards enforce.

Path Parameters

planId
string
required

The plan id, e.g. plan-restock-aigle-32.

Minimum string length: 1

Body

application/json
id
string
required
Minimum string length: 1
skuId
string
required
Minimum string length: 1
quantity
integer
required
Required range: 0 < x <= 9007199254740991
storeId
string | null
Minimum string length: 1
Required range: 0 <= x <= 9007199254740991
unitCostCents
integer | null
Required range: 0 <= x <= 9007199254740991
source
enum<string>
default:manual
Available options:
manual,
workflow,
recommendation,
import

Response

The line as persisted, in TO_REVIEW.

The line as persisted, in TO_REVIEW.

id
string
required
Minimum string length: 1
planId
string
required
Minimum string length: 1
skuId
string
required
Minimum string length: 1
storeId
string | null
required
Minimum string length: 1
quantity
integer
required
Required range: 0 < x <= 9007199254740991
Required range: 0 <= x <= 9007199254740991
unitCostCents
integer | null
required
Required range: 0 <= x <= 9007199254740991
status
enum<string>
required
Available options:
TO_REVIEW,
READY_FOR_ORDER,
FLAGGED
source
enum<string>
required
Available options:
manual,
workflow,
recommendation,
import