Skip to main content
PUT
/
equipments
/
stock
Atualiza o estoque dos produtos
curl --request PUT \
  --url https://backend-pied-prod.piedadmin.com.br/api/v1/equipments/stock \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "update": [
    {
      "productCode": "codigo123",
      "toAdd": 10,
      "minimum": 4,
      "distributionCenter": "CD001"
    }
  ]
}
'
{
  "success": true
}
API v1 - Este endpoint está disponível apenas na v1

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
update
object[]

Response

OK

success
boolean
Example:

true