Overview
HTTP Method: PUT
Endpoint URL: https://coreapi.impexdocs.com/api/v1/purchaseorder/{purchaseorder_id}
Authentication: Required
Response Format: JSON
Description
This API allows you to programmatically manage and update purchase orders within our platform. To use the Purchase Order updation endpoint, authentication is required. Ensure that your application is authenticated using the provided API key or access token.
Request
To update a Purchase Order, provide the following mandatory inputs in the request JSON:
-
Purchase Order Id (
purchaseorder_id
): The Purchase Order Id is the primary key used to uniquely identify each Purchase Order in our system. It is essential for updating and retrieving data. -
Order Status (
order_status
): This field defines the status of a Purchase Order.
Response
The API will respond with a JSON object containing the following:
- Response Code
- Message
Example Response JSON
{
"response_code": 200,
"message": "Purchase Order modified successfully",
}
Note
- Ensure proper authentication before making the request.
- Use the Purchase Order ID obtained during the creation of the Purchase Order for the path parameter.
- Provide the necessary fields to be modified in the request JSON.