Skip to content

PRI02 - Get information and statistics about an offer pricing import

Request

Call Frequency
Maximum usage: Once per minute
Read More
Pagination

This resource supports seek pagination (see documentation)

Sort fields

sort field can have the following values:

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

Security
Shop-API-Key(Required scopes: ROLE_SHOP_ADMINROLE_PARTNER_OFFER_PRICING_READ)
Query
import_idArray of strings

Import identifiers

start_datestring, (date-time)

Start creation date for filtering

end_datestring, (date-time)

End creation date for filtering

statusstring

Offer import status

Enum:"WAITING""RUNNING""COMPLETE""FAILED"
originsArray of strings

List of offer pricing import origins for filtering.

Items Enum:"API""FTP""SFTP""HTTP""HTTPS""FRONT""PENDING_OFFERS"
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/pricing/imports?import_id=string&start_date=2019-08-24T14%3A15%3A22Z&end_date=2019-08-24T14%3A15%3A22Z&status=WAITING&origins=API&shop_id=0' \
  -H 'Authorization: YOUR_API_KEY_HERE'

Responses

OK

Bodyapplication/json
dataArray of objectsrequired

Page of data

next_page_tokenstring

Token to access the next page. Absent if the current page is the last one.

previous_page_tokenstring

Token to access the previous page. Absent if the current page is the first one.

Response
{ "data": [ { … } ], "next_page_token": "string", "previous_page_token": "string" }