put https://coreapi.impexdocs.com/api/v1/salesorder/
Overview
HTTP Method: PUT
Endpoint URL: https://coreapi.impexdocs.com/api/v1/salesorder/{salesorder_id}
Authentication: Required
Response Format: JSON
Description
To modify a Sales Order, make a PUT request to the specified endpoint with the required information. The response will be a JSON object containing:
- Response Code
- Message
Request
Path Parameter
- Sales Order ID (
salesorder_id
): The identifier generated during the creation of a new Sales Order. Retrieve this ID from the response of the POST Sales Order API.
Example Path Parameter
https://coreapi.impexdocs.com/api/v1/salesorder/your_sales_order_id
Example Request
Ensure to include the Sales Order ID 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
- Message
Example Response JSON
{
"response_code": 200,
"message": "Sales Order modified successfully"
}
Note
- Ensure proper authentication before making the request.
- Use the Sales Order ID obtained during the creation of the Sales Order for the path parameter.
- Provide the necessary fields to be modified in the request JSON.