Update a service order by Id
put
https://api.mercadoe.com/v1/service-orders/{order}
Change the specified fields of a service order with the provided values by informing the service order code (order
field).
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
order
string
required
Service order code
Body
application/json
description
string | null
Service order description
clientCategoryId
string | null
Client category code
status
string | null
Service order status
validateDate
date-time | null
Validate date
tolerance
double | null
Service order spending tolerance
originalValue
double | null
Service order original value
balance
double | null
Service order balance
effort
double | null
Reserved value within the service order.
areAllBusinessOrganizationsIncluded
boolean | null
Flag to identify if all business organizations are included
areAllCostCentersIncluded
boolean | null
Flag to identify if all cost centers are included
areAllLedgersIncluded
boolean | null
Flag to identify if all ledgers are included
costCenters
array of object | null
Cost centers is a list consisting of the
costCenter
field which is associated with that service order.ledgers
array of object | null
Ledgers is a list consisting of the ledger account code which is associated with that service order.
businessOrganizations
array of object
Business Organizations is a list consisting of the
Code
(company code) and the EntityType
fields.Responses
202
400
404
Accepted
Body
application/json
correlationId
string