Skip to content

P51 - Get information about product import statuses

Request

Description

If the last_request_date param is not set the api returns all product imports.

Call Frequency
Maximum usage: Once per minute
Read More
Pagination

This resource supports offset pagination (see documentation)

Sort fields

sort field can have the following values:

  • dateCreated (Default) - Sort by creation date (asc by default)

Security
Front-Bearer-Token or OAuth-2
Query
last_request_datestring, (date-time)

Return only product imports that have changed since this date

statusstring

Product import status. One of CANCELLED, WAITING, RUNNING, SENT, COMPLETE, FAILED

has_transformed_fileboolean

If true returns only product import trackings with transformed file

shop_idinteger, (int64)

Shop identifier

curl -i -X GET \
  'https://your-instance.mirakl.net/api/products/imports?last_request_date=2019-08-24T14%3A15%3A22Z&status=string&has_transformed_file=true&shop_id=0' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Responses

OK

Bodyapplication/json
product_import_trackingsArray of objects

List of product import status information

total_countinteger, (int32)required

Total count of product import status information

Response
{ "product_import_trackings": [ { … }, { … } ], "total_count": 2 }