Skip to main content

Create or modify a contract

POST 

/api/v1/contracts

Allows create a new contract or modify an existing contract. The operation is determined by the 'action' parameter. If the 'action' is 'CREATE', a new contract will be created. If the 'action' is 'UPDATE', an existing contract will be modified. The request body must include the necessary contract details such as the product code, customer ID, and other related information. This operation will return a confirmation of the success or failure of the creation or modification process.

Request

Responses

The contract is created successfully.