Get Started
Document V2
Payment V2
Customer V2
Vendor V2
Product V2
Inventory V2
Subscriptions V2
Utility V2
Inventory V2
Inventory stock in out
POST
/
v2
/
inventory
/
stock
Copy
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"
}'
Copy
{
"success": false,
"errors": {},
"error_code": "",
"message": ""
}
Authorizations
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
.
Copy
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"
}'
Copy
{
"success": false,
"errors": {},
"error_code": "",
"message": ""
}
Assistant
Responses are generated using AI and may contain mistakes.