POST
/
v2
/
inventory
/
stock
curl --request POST \
  --url https://app.getswipe.in/api/partner/v2/inventory/stock \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "product_id": "123456",
  "quantity": 1,
  "warehouse_id": -1,
  "remarks": "Remarks",
  "record_date": "06-05-2025",
  "action": "in"
}'
{
  "success": false,
  "errors": {},
  "error_code": "",
  "message": ""
}

Authorizations

Authorization
string
header
required

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

Body

application/json

Response

200
application/json

Success Response

The response is of type object.