Create a file upload for the return portal
Return portal API
Create a file upload for the return portal
Upload an image for use in the return portal.
POST
Create a file upload for the return portal
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.
Authorizations
The JWT generated when starting the Return Portal process
Path Parameters
The brand domain, found in the brand or return portal settings
Body
multipart/form-data
The files to be uploaded, with a maximum file size of 10MB.