Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Response
Success Response
The response is of type object
.
curl --request POST \
--url https://app.getswipe.in/api/partner/v2/inventory/stock \
--header 'Authorization: Bearer <token>' \
--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": ""
}
curl --request POST \
--url https://app.getswipe.in/api/partner/v2/inventory/stock \
--header 'Authorization: Bearer <token>' \
--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": ""
}
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Success Response
The response is of type object
.