Skip to content

ADST01 - Send a csv file to import stores

Request

Description

One API call per file to process. Multiple calls possible.

Maximum file size: 1GB.

Bodymultipart/form-data
filestring, (binary)required

The file to upload

curl -i -X POST \
  https://your-service.mirakl.net/api/v1/stores/files \
  -H 'Content-Type: multipart/form-data' \
  -F 'file=@path/to/file'

Responses

OK

Bodyapplication/json
idstringrequired

The unique identifier of the file

sha1stringrequired

The sha1 attribute allows verification of the integrity of the transmitted file (hash of the received file using the SHA-1 algorithm)

Response
{ "id": "01936cf8-3fc1-ae06-f011-1e00a875f02b", "sha1": "354df36420f41ecc64b1816e3730ccc8c7d6e444" }