Movement

Increment or Decrement stock given a movement

put
Autorizações
Corpo
typestring · enumObrigatórioValores possíveis:
product_idstringOpcional
product_variation_idstringOpcional
warehouse_idstringOpcional
company_idstringOpcional
activebooleanOpcional
totalnumberOpcional
reservednumberOpcional
Respostas
200
OK
application/json
put
PUT /api/sales/stock/movement HTTP/1.1
Host: api.zydon.com.br
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 147

{
  "type": "PRODUCT",
  "product_id": "text",
  "product_variation_id": "text",
  "warehouse_id": "text",
  "company_id": "text",
  "active": true,
  "total": 1,
  "reserved": 1
}
{
  "id": "text",
  "product_id": "text",
  "product_variation_id": "text",
  "warehouse_id": "text",
  "company_id": "text",
  "active": true,
  "total": 1,
  "available": 1,
  "reserved": 1
}