Update a source list
put
https://api.mercadoe.com/v1/products/source-lists/{sourceListId}
Changes fields of a specific source list with provided values.
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
sourceListId
int32
required
Body
application/json
sourceListId
int32 | null
ME - Identifier for the supply option list.
clientProductId
string | null
Client product identifier.
startDate
date-time | null
Start date of the supply option list.
endDate
date-time | null
End date of the supply option list.
clientSupplierId
string
Client supplier identifier.
supplierId
int32 | null
Supplier identifier.
note
string
Note associated with the supply option list.
contractId
int32 | null
Contract identifier.
contractItemId
int32 | null
Item identifier.
clientSupplierProductId
string | null
Supplier product identifier in the client ERP.
productId
int32 | null
Product identifier.
isBlocked
boolean | null
Is this supply option list blocked? (True/False)
- Blocked list = “True”.
- Unblocked list = “False”.
- Blocked list = “True”.
- Unblocked list = “False”.
hasNeedsPlanning
boolean | null
Flag to indicate if a Needs Planning is associated with the supply option list.
hasSupplySource
boolean | null
Flag to indicate if a Supply Source is associated with the supply option list.
isFixed
boolean | null
Flag to indicate if the supply option list is fixed
group
object
businessOrganizations
array of object | null
Business organizations associated with the supply option list.
document
object
Responses
202
400
404
Accepted
Body
application/json
correlationId
string