Upload Logo

Uploads a new logo file to the system.

POST /api/logo/upload

Body (multipart/form-data) #

ParameterTypeDescription
FilebinaryThe logo image file to upload.
titlestringThe title of the logo.
organizationIdinteger(Optional) The ID of the organization to upload for. Defaults to the authenticated vendor's organization.

Returns #

Returns the created logo object.

{
  "logoId": 123456,
  "logoItemNo": 987654,
  "title": "New Logo",
  "widthInMM": 100,
  "HeightInMM": 50,
  "logoType": "TRANSFER",
  "transferMethodKey": "VAND SPORT",
  "colors": [
    {
      "ID": "HVID",
      "Name": "White",
      "Red": 255,
      "Green": 255,
      "Blue": 255
    },
    {
      "ID": "200",
      "Name": "PMS 200 C",
      "Red": 245,
      "Green": 56,
      "Blue": 59
    }
  ],
  "status": "Draft",
  "storageCount": 0,
  "LowResBase64": "iVBORw0KGgoAAAANSU...",
  "prices": [
    {
      "minQuantity": 1,
      "unitPrice": 25.0,
      "currency": "DKK"
    },
    {
      "minQuantity": 10,
      "unitPrice": 20.0,
      "currency": "DKK"
    }
  ],
  "additionalFees": [
    {
      "type": "startup",
      "sku": "X_100",
      "name": "Startup Fee",
      "prices": [
        {
          "minQuantity": 1,
          "unitPrice": 45.0,
          "currency": "DKK"
        },
        {
          "minQuantity": 10,
          "unitPrice": 90.0,
          "currency": "DKK"
        }
      ]
    },
    {
      "type": "fee",
      "sku": "012",
      "name": "Film charge per color",
      "prices": [
        {
          "minQuantity": 3,
          "unitPrice": 100.0,
          "currency": "DKK"
        }
      ]
    }
  ]
}