Skip to content

Update a contract status based on the contractId

put
https://api.mercadoe.com/v1/contracts/{contractId}/status

Change a specific contract status field with a provided value.

Request

Headers

X-ME-CORRELATION-ID
string
Internal client code to be identified in the webhook. It can be, for example, a product code in your ERP, an order number, etc.

Path Parameters

contractId
int32
required
The contract Id in ME

Body

application/json
clientContractId
string
Contract Id in the client’s ERP
status
int32
required
Contract status
clientSupplierId
string
Supplier code in the client’s ERP
approvalDate
date-time
Contract confirmation date
statusDocument
int32 | null
Document status for pending acceptance/rejection. The possible values are:
- 1 = Confirmed
- 2 = Rejected

Responses

202
400
404
Accepted

Body

application/json
correlationId
string