Productsup
API referenceV1Export template

Upload a logo for an export template

POST
/V1/export-templates/{id}/logo

Path Parameters

id*integer

Request Body

multipart/form-data

TypeScript Definitions

Use the request body type in TypeScript.

uploadfile*string

The logo file to upload

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://export-template-api.productsup.com/V1/export-templates/0/logo" \  -F uploadfile="string"
Empty

"{\"message\": \"File is too large. Maximum allowed size is 5 MB.\"}"

{
  "message": "Access denied"
}
{
  "message": "Export template with id 00000 not found."
}
{
  "message": "string"
}

How is this guide?