$echo '{
< "contract": {
< "files": [
< "supplier_a.csv",
< "supplier_b.csv"
< ],
< "delimiter": ",",
< "key": [
< "sku"
< ],
< "remove_exact_duplicates": true,
< "columns": [
< {
< "source": "SKU",
< "target": "sku",
< "type": "text",
< "trim": true
< },
< {
< "source": "Title",
< "target": "title",
< "type": "text",
< "trim": true
< },
< {
< "source": "Price",
< "target": "price",
< "type": "decimal",
< "trim": true
< },
< {
< "source": "Currency",
< "target": "currency",
< "type": "text",
< "allowed": [
< "GBP",
< "USD",
< "EUR"
< ]
< },
< {
< "source": "Stock",
< "target": "stock",
< "type": "integer"
< },
< {
< "source": "Updated",
< "target": "updated",
< "type": "date",
< "format": "%d/%m/%Y"
< }
< ]
< },
< "sources": [
< {
< "name": "supplier_a.csv",
< "csv": "SKU,Title,Price,Currency,Stock,Updated\\n 0001 , Example product ,12.5,GBP,03,19/10/2026\\n0002,\\"Two-part, sample\\",0,GBP,0,03/04/2026\\n0003,\\"Quoted \\"\\"sample\\"\\"\\nwith two lines\\",9.99,USD,10,18/10/2026\\n0003,\\"Quoted \\"\\"sample\\"\\"\\nwith two lines\\",9.99,USD,10,18/10/2026\\n"
< },
< {
< "name": "supplier_b.csv",
< "csv": "SKU,Title,Price,Currency,Stock,Updated\\n0004,Fourth example,100,EUR,1,17/10/2026\\n0005,Fifth example,2.00,GBP,5,16/10/2026\\n0006,Sixth example,3.00,GBP,6,15/10/2026\\n0005,Fifth example,2.00,GBP,5,16/10/2026\\n"
< }
< ],
< "confirm_authorized_data": true
<}' |
<apify call wellbuilt_orache/catalogue-import-rescue --silent --output-dataset