Skip to content

Get import logs

GET
/merchants/{merchantCode}/imports/{importRef}/logs
curl --request GET \
--url 'https://import.shopgate.io/v1/merchants/example/imports/example/logs?limit=100&offset=0'

Get logs for an import

merchantCode
required
string
importRef
required
string
limit
integer
default: 100

The limit of entries of one page

offset
integer
0

The offset where to start the page

Logs for the import

Media typeapplication/json
object
imports
Array<string>
meta
object
limit
number
offset
number
totalItemCount
number
Example
{
"imports": [
"Category 'men' not found"
],
"meta": {
"limit": "10,",
"offset": "0,",
"totalItemCount": 1
}
}

Forbidden error

Media typeapplication/json
object
code
required
string
message
required
string
Example
{
"code": "Forbidden",
"message": "No access to merchant 1"
}