curl --location --request POST 'http://localhost:8000/api/v1/return/sync' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"supplier_id": [1, 1],
"batch_code": ["BCH-240204-9234", "BCH-240204-9238"],
"date": ["2025-10-28", "2025-10-28"],
"items": [
{
"product_id": [1, 2],
"quantity": [5, 2],
"reason": ["DAMAGED", "OTHER"],
"other_reason": [null, "Kemasan bocor"]
},
{
"product_id": [1],
"quantity": [3],
"reason": ["EXPIRED"],
"other_reason": [null]
}
]
}'