Products
/- Mirakl Platform
- Rest Seller APIs
- PRI01 - Import a price file
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
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
PRI01 - Import a price fi...
Description
Import a .csv file to submit all applicable prices for an offer.
The import mode is delete and replace: any existing price that is not submitted will be deleted.
If Price Approval is enabled, this API creates and updates pending prices; ongoing prices will remain.
Returns an import identifier to track the status of the import and retrieve an error report if applicable.
Call Frequency
Recommended usage: Every 5 minutes
Maximum usage: Once per minute
Read More
Security
Shop-API-Key(Required scopes: ROLE_SHOP_ADMINROLE_PARTNER_OFFER_PRICING_WRITE)
Import CSV file to upload. Use multipart/form-data with name file.
Csv format:
"offer-sku";"price";"discount-price";"discount-start-date";"discount-end-date"- 1 line = 1 offer price
- List prices for the same offer together
- Limits: 50 prices can be created for an offer
- Volume Pricing users: use additional columns
price-rangesanddiscount-ranges - Channel Pricing users: use additional column
channels - Scheduled Pricing users: use additional columns
start-dateandend-date - Customer Pricing users: use additional columns
customer-organization-idsandcustomer-group-ids - Retail pricing users (only for Dropship offers, with appropriate settings): use additional column
price-typeto define if you are providing a price or a retail price value
- URL to be replaced by your Mirakl instance URLhttps://your-instance.mirakl.net/api/offers/pricing/imports
curl -i -X POST \
https://your-instance.mirakl.net/api/offers/pricing/imports \
-H 'Content-Type: multipart/form-data' \
-F 'file=@path/to/file'