Update Subaccount Logo By Uploading Image Content
Updates the logo for a Subaccount with given id with the image contents sent in the request body. The request body should be the binary image contents in a supported image format, and the request should include a Content-Type header specifying the image content type. Supported image types are: PNG (image/png), JPEG (image/jpeg), WEBP (image/webp), and SVG (image/svg+xml).
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Headers
The content type for the image being uploaded. Must be a supported image type (see description for list of valid types)
image/png
, image/jpeg
, image/webp
, image/svg+xml
Path Parameters
ID of subaccount to modify logo for
Body
The body is of type file
.
Response
Timestamp of when the subaccount was created (in UTC)
Optional ID of the default portfolio used to fulfilling orders placed for this subaccount. If not specified, the parent account's default portfolio is the default portfolio for the subaccount.
Optional email associated with the subaccount.
Identifier that can be used to retrieve the subaccount details
Optional URL for the logo used for this subaccount, if any. This URL is for the logo as stored on CNaught's hosting.
Name of the subaccount
512