Skip to content

STO02 - Get information and statistics about an offer stock import

Request

Call Frequency
Maximum usage: Once every 15 seconds
Read More
Security
Operator-Bearer-Token or OAuth-2
Path
import_idstringrequired

Import identifier

curl -i -X GET \
  'https://your-instance.mirakl.net/api/offers/stock/imports/{import_id}/status' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Responses

OK

Bodyapplication/json
date_createdstring, (date-time)required

Import creation date

has_error_reportbooleanrequired

Indicate if an error report exists

import_idstringrequired

Import ID

lines_in_errorinteger, (int32)

Total count of lines in error

lines_in_successinteger, (int32)

Total count of lines in success

shop_idinteger, (int64)required

Shop identifier

statusstringrequired

Import status

Enum: "WAITING", "RUNNING", "COMPLETE", "FAILED"

Response
{ "date_created": "2023-03-28T09:34:42Z", "has_error_report": true, "import_id": "string", "lines_in_error": 0, "lines_in_success": 0, "shop_id": 0, "status": "WAITING" }