put https://coreapi.impexdocs.com/api/v1/productmaster/
Overview
HTTP Method: PUT
Endpoint URL: https://coreapi.impexdocs.com/api/v1/productmaster/{productcode}
Authentication: Required
Response Format: JSON
Description
To modify a Product, make a PUT request to the specified endpoint with the required information. The response will be a JSON object containing:
- Response Code
- Status
- Message
- Result
- Product Id
- Product Code
Request
Path Parameter
- Product Code (
product_code
): This field defines the product code of the product will be updated.
Example Path Parameter
https://coreapi.impexdocs.com/api/v1/productmaster/{productcode}
Example Request
Ensure to include the Product Code in the path and provide any additional fields that need modification in the request JSON.
Response
The API will respond with a JSON object containing:
- Response Code
- Status
- Message
- Result
- Product Id
- Product Code
Example Response JSON
{
"response_code": 0,
"status": 201,
"message": "ProductMaster Updated successfully.",
"result": {
"product_id": 130313,
"product_code": "00078"
}
}
Note
- Ensure proper authentication before making the request.
- Provide the necessary fields to be modified in the request JSON.