API v2 is entering maintenance mode. New users should start with API v3 to access our latest features and improved performance. Already using v2? Don’t worry, your current integration remains fully functional. Read more about maintenance mode, or check out the migration guide for API v3.
This endpoint allows users to upload media that may be used during the return creation purposes. The response from this endpoint contains filenames used to identify the files in later requests.Currently only images are supported.Note:
Files are only kept for 48 hours after upload, unless used somewhere else (for example, when creating a return).
The URLs returned in this response will only be available for 48 hours.
The endpoint allows a maximum of 10 files, so groups larger than that should be batched.
Files should be smaller than 10MB.
This API is currently in in beta, and may change in the near future.