Create File
Intent
Creates a file from the values supplied in the request.
When to call it
Call this when your application has collected the required values and is ready to create a file.
Access boundary
Authorize the request with a token that carries files:write.
Successful result
A successful request returns 201. The response schema below defines the body your integration receives.
POST
Create File
Authorizations
Body
application/json
- DownloadableFileCreate
- ProductMediaFileCreate
- SupportCaseAttachmentFileCreate
Schema used to create a file to be associated with the downloadables benefit.
Allowed value:
"downloadable"Identifier of the organization.
Example:
"1dbfc517-0bbf-4301-9ba8-555ca42b9737"
Response
Response: File created.
The stable identifier for this record.
Available options:
downloadable, product_media, organization_avatar, support_case_attachment Previous
Change File### Intent
Applies the supplied changes to the file.
### When to call it
Call this when the file already exists and its stored values need to change.
### Access boundary
Authorize the request with a token that carries `files:write`.
### Successful result
A successful request returns `200`. The response schema below defines the body your integration receives.
Next
Create File