Creates a new source list.
post
https://api.mercadoe.com/v1/products/source-lists
Create a new source list by providing the SupplierId, ItemId, StartDate, EndDate, and other details.
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.
Body
application/json
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
Contratct 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
Business organizations associated with the supply option list.
document
object
Responses
202
400
404
Accepted
Body
application/json
correlationId
string