Skip to content

STO03 - Get the error report for a stock import in CSV format

Request

Description

Only returns the lines in error.
The first column contains the line number in error. The second column contains the error reason.
The returned file is ready to be reimported after the values have been fixed.
Offer quantities that were submitted in the stock import but don't appear in the error report were successfully imported.

Call Frequency
Maximum usage: Once per minute
Read More
Security
Shop-API-Key(Required scopes: ROLE_SHOP_ADMINROLE_PARTNER_OFFER_STOCK_WRITE)
Path
import_idstringrequired

Import identifier

Query
shop_idinteger, (int64)

Use this parameter when your user has access to several shops. If not specified, the shop_id from your default shop will be used.

curl -i -X GET \
  'https://your-instance.mirakl.net/api/offers/stock/imports/{import_id}/error_report?shop_id=0' \
  -H 'Authorization: YOUR_API_KEY_HERE'

Responses

OK

Bodytext/csv
string, (binary)
Response
string