Ana içeriğe atla
POST
Preview a stock adjustment

Yetkilendirmeler

Authorization
string
header
gerekli

The access token received from the authorization server in the OAuth 2.0 flow.

Başlıklar

X-Tenant
number
gerekli

Tenant identifier. Send the Tenant ID in the X-Tenant header to scope API requests to a specific tenant.

Gövde

application/json
product_id
integer
gerekli

Filter by product ID.

Gerekli aralık: x >= 1
warehouse_id
integer
gerekli

Filter by warehouse ID.

Gerekli aralık: x >= 1
mode
enum<string>
gerekli

The mode of operation.

Mevcut seçenekler:
in_out,
correction
quantity
number
gerekli

The quantity value.

direction
enum<string> | null

Filter by direction.

Mevcut seçenekler:
in,
out,
null

Yanıt

success
string
gerekli
data
object
gerekli