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.

Body

application/json
id
string
required

Caller-supplied unique transfer id (409 if it already exists).

Minimum string length: 1
sourceStoreId
string
required

Store the goods leave from (magasin source).

Minimum string length: 1
destinationStoreId
string
required

Store the goods are sent to (magasin destination); must differ from the source.

Minimum string length: 1
lines
object[]
required

The per-SKU quantities to move (at least one line).

Minimum array length: 1

Response

The requested transfer (status requested).

The requested transfer (status requested).

id
string
required
Minimum string length: 1
sourceStoreId
string
required
Minimum string length: 1
destinationStoreId
string
required
Minimum string length: 1
status
enum<string>
required
Available options:
requested,
shipped,
received,
cancelled
lines
object[]
required
Minimum array length: 1