Skip to main content
POST
/
seller
/
imports
Create an import
curl --request POST \
  --url https://api.managem.co.uk/seller/imports \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form file='@example-file'
{
  "id": "<string>",
  "status": "RUNNING",
  "total": 1,
  "successful": 1,
  "failed": 1,
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z",
  "key": "<string>",
  "batches": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "total": 123,
      "successful": 123,
      "failed": 123,
      "status": "<string>",
      "updatedAt": "2023-11-07T05:31:56Z"
    }
  ],
  "errors": [
    {
      "id": "<string>",
      "code": 123,
      "message": "<string>",
      "line": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

multipart/form-data
file
file
required

CSV file to import

Response

201 - application/json

Seller import details

id
string<cuid2>
required
status
enum<string>
required
Available options:
RUNNING
total
integer
required
Required range: x >= 0
successful
integer
required
Required range: x >= 0
failed
integer
required
Required range: x >= 0
createdAt
required
updatedAt
required
key
string
required
batches
object[]
required
errors
object[]
required