Skip to content

Complete file

POST/admin/v1/stores/{store_id}/agent/files/{file_id}/complete
  • Idempotency-Key supported

Confirms the upload with the files edge's receipt and prepares the file. While its malware scan runs it's scanning: ask again with {} until it's ready. A refused file comes back with failure set.

Path parameters

  • store_idstringrequired
  • file_idstringrequired

Headers

  • Idempotency-Keystring

    Send the same key to retry safely: the first answer is replayed for 24 hours.

  • shop-api-versionYYYY-MM

    The version to answer in. Without it, your app’s pinned version, else the newest.

Body

  • receiptstring · or null

Returns

200

Errors

  • 404not_found