Settings

Create an Asset

Create an asset.

You can store up to five assets for each type. Allowed file types: png or jpeg.

Required authorization scope: public.asset:write

post/2024-09/account/assets

Request

  • Base URL
    https://public-api.easyship.com
  • URL
    https://public-api.easyship.com/2024-09/account/assets
  • Auth
    HTTP bearer

Request body multipart/form-data

typeType required(unresolved $ref)
namestring

Asset name

filestring binary required

Response

assets successfully created

Example response

{
  "assets": [
    {
      "url": "https://s3.amazonaws.com/test/assets/0001/logo/6c8e/main.png?1645532460"
    }
  ]
}

Changes

No recorded changes to this operation across all 2 revisions of this API.