OF01 - Import a File to Add Products & Offers
OF01 - Import a File to Add Products & Offers
Used to upload your product & offer file. Returns the import identifier to track the status of the import.
Your product & offer file can also be uploaded manually from your store admin area and is the recommended method for sellers who do not frequently add new products to the marketplace. In that event, OF01, OF02 and OF03 do not need to be implemented.
POST
https://saksus2-dev.mirakl.net/api/offers/imports
curl --location --request POST 'https://saksus2-dev.mirakl.net/api/offers/imports?shop_id=Integer' \
--header 'Accept: application/json' \
--header 'Authorization: string' \
--data-raw '{"file":"Object","import_mode":"string","operator_format":"Boolean","with_products":"Boolean"}'CALL FREQUENCIES
Recommended: Every 5 minutes Maximum: Once per minute
Input File Format Example
sku;product-id;product-id-type;description;internal-description;price-additional-info;quantity;min-quantity-alert;state;available-start-date;available-end-date;logistic-class;update-delete;discount-start-date;discount-end-date;price;discount-price;discount-ranges;price-ranges;discount-start-date[channel=FR];discount-end-date[channel=FR];price[channel=FR];discount-price[channel=FR];discount-ranges[channel=FR];prices-ranges[channel=FR];discount-start-date[channel=CA];discount-end-date[channel=CA];price[channel=CA];discount-price[channel=CA];discount-ranges[channel=CA];prices-ranges[channel=CA];leadtime-to-ship;ecotax;gift-wrap;min-quantity-ordered;eco-contributions
OFFER_SKU_004;MKP100000000037254;SKU;My Offer Description 1;My Internal description 1;My price Additional innformations;1000000;20;11;2017-02-20T10:45:53+01;2017-04-30T10:45:53+01;S;update;2017-02-22T10:45:53+01;2017-04-30T10:45:53+01;110.52;108,56;;5|109.20,10|108.736;2017-02-22T10:45:53+01;2017-03-31T10:45:53+01;105.56;102,36;;5|104.56,10|103.27;2017-02-22T10:45:53+01;2017-03-31T10:45:53+01;190.23;175,36;;5|182.58,10|181.27;15;1;true;1;ProducerID1|2.49,ProducerID2|0.99