curl --request PATCH \
--url https://api.seminode.com/v1/listings/cleanse/edit \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '{
"batch_id": "<string>",
"edit_indices": [
{
"index": 123,
"new": {
"attributes": {
"coo": "<string>",
"currency": "<string>",
"custom": {},
"date_code": "<string>",
"description": "<string>",
"eccn": "<string>",
"lot_no": "<string>",
"moq": 123,
"mpq": 123,
"packaging": "<string>"
},
"batch_id": "<string>",
"company": "<string>",
"contact": {
"methods": [
"<string>"
],
"reply_url": "<string>"
},
"encrypted": {
"ciphertext": "<string>",
"payload": {}
},
"errors": {},
"image_url": "<string>",
"internal_no": "<string>",
"material_no": "<string>",
"mfr": "<string>",
"qty": 123,
"timing": {
"expiry": 123,
"lead_time": "<string>",
"lead_time_int": 123,
"required_date": 123
},
"type": "<string>",
"unit_price": 123
}
}
],
"remove_indices": [
123
]
}'