Products
/- Mirakl Platform
- Rest Seller APIs
- OF01 - Import a file to create, update or delete offers
OF04 - Get information and statistics about offer imports
OF02 - Get information and statistics about an offer import
OF03 - Get the error report file for an offer import
OF21 - List offers of a shop
OF24 - Create, update, or delete offers
OF22 - Get information about an offer
OF52 - Export offers CSV or JSON file asynchronously
OF53 - Poll the status of an asynchronous offer export (OF52)
OF54 - Retrieve offer files once asynchronous offer export is complete (OF52)
P11 - List offers for each given product
PRI01 - Import a price file
PRI02 - Get information and statistics about an offer pricing import
PRI03 - Get the error report for a price import in CSV format
STO01 - Import a stock file
STO02 - Get information and statistics about an offer stock import
STO03 - Get the error report for a stock import in CSV format
OF26 - Get the quantity of stock available for an offer.
OF51 - Get offers CSV file
OF01 - Import a file to c...
Description
Returns the import identifier to track the status of the import.
Call Frequency
Recommended usage: Every 5 minutes with offers only, every hour with offers and products, for each seller
Maximum usage: Once per minute with offers only, once every 15 minutes with offers and products, for each seller
Read More
Security
Shop-API-Key(Required scopes: ROLE_SHOP_ADMINROLE_PARTNER_OFFER_WRITE)
Import file (CSV or XML or XLSX) to upload. Use multipart/form-data with name file.
Csv format:
"sku";"product-id";"product-id-type";"description";"internal-description";"price";"price-additional-info";"quantity";"min-quantity-alert";"state";"available-start-date";"available-end-date";"discount-price";"discount-start-date";"discount-end-date";"discount-ranges";"allow-quote-requests";"leadtime-to-ship";"min-order-quantity";"max-order-quantity";"package-quantity";"update-delete";"price-ranges";"ecotax";"gift-wrap";"min-quantity-ordered"
If you use specific sales channels, use:
"price[channel=channel code]";"discount-price[channel=channel code]";"discount-start-date[channel=channel code]";"discount-end-date[channel=channel code]";"discount-ranges[channel=channel code]";"price-ranges[channel=channel code]"
If you use the price per measurement unit feature, use
pricing-unit to specify the unit corresponding to the submitted price.If US Tax options are activated on the platform, use:
product-tax-code to facilitate tax calculations.If Data collection related to circular economy regulations is enabled, use:
"producer-id[EPR category code]"; "eco-contribution-amount[EPR category code]"EPR category code must be one of:
FR-AGROPACK, FR-ASL, FR-DASRIPAT, FR-DBPS, FR-DDS, FR-DEA, FR-DEEE, FR-DISPMED, FR-DIY, FR-EMBM, FR-GF, FR-JOUETS, FR-LUB, FR-MH, FR-MNU, FR-PA, FR-PAP, FR-PCHIM, FR-PMCB, FR-PNEU, FR-TABAC, FR-TLC, FR-VEHICULE, FR-VHU, DE-BATTG, DE-PACK, DE-WEEE, ES-PACK, ES-GPACK, ES-WEEE
Enum: "NORMAL", "REPLACE"
See deprecated values
Deprecated values: "PARTIAL_UPDATE"
- URL to be replaced by your Mirakl instance URLhttps://your-instance.mirakl.net/api/offers/imports
curl -i -X POST \
https://your-instance.mirakl.net/api/offers/imports \
-H 'Content-Type: multipart/form-data' \
-F 'file=@path/to/file' \
-F 'import_mode="\"NORMAL\"";type=application/json' \
-F 'operator_format="true";type=application/json' \
-F 'with_products="true";type=application/json'Created
Response
{ "import_id": 2035, "product_import_id": 2036 }