Skip to content

Update the relationships between cost centers and service orders with ledgers.

put
https://api.mercadoe.com/v1/ledgers/{code}/relationships

Based on the ledger, remove existing relationships and add new ones according to the received payload.

Request

Path Parameters

code
string
required
The ledger code

Body

application/json
relationships
array of object | null
Relationships with ledgers and service orders

Responses

202
400
404
Accepted

Body

application/json
correlationId
string