List of fonts available in specified division

GET Designer/Services/GetFonts?productCode={productCode}&divisionId={divisionId}&websiteId={websiteId}&webApiClientKey={webApiClientKey}


If your e-commerce website needs all the fonts present for particular website that you have created in Artifi account and are available to particular product, this method will be helpful.


This operation gives list of all fonts present in Artifi server for particular website id. This operation requires the website id.


When this operation invokes, it call back the JavaScript method with data consist of details of all fonts present in the requested website (Name, Label, Code, ImageName etc).



Request Information

Parameters

NameDescriptions
productCodeThis method returns the list of fonts that are available to particular product. The code of that product should be specified in this parameter.
divisionId

Division created in Artifi server by Admin user contains all product and related details.

This division contains the clipart, fonts, colors, product etc. This parameter represents the division of which fonts are required.


websiteId

This is the website with which products, colors and fonts are associated.

Admin user of Artifi can create one or more websites and assign products to each of the website. The id of the website with which specified customized product is associated should be specified in this parameter.


webApiClientKey    

When any company gets registered with Artifi, Artifi will generate a special and unique key for that company which will be called as client key.

This client key will be found in registered company's profile tab in Artifi Account. This client key will be used for client(company) authentication and will be called as WebApiClientKey.





Response Information

Response body formats

application/json, text/json

Sample:
{
  "Response": "sample string 1",
  "Message": "",
  "Data": {
    "data": [
      {
        "Name": "sample string 1",
        "Label": "sample string 2",
        "Regular": true,
        "Bold": true,
        "Italic": true,
        "BoldItalic": true,
        "IsPublic": true,
        "DivisionId": 1,
        "Code": "sample string 8",
        "ImageName": "sample string 9",
        "Id": 10,
        "LoginUserId": 1
      },
      {
        "Name": "sample string 1",
        "Label": "sample string 2",
        "Regular": true,
        "Bold": true,
        "Italic": true,
        "BoldItalic": true,
        "IsPublic": true,
        "DivisionId": 1,
        "Code": "sample string 8",
        "ImageName": "sample string 9",
        "Id": 10,
        "LoginUserId": 1
      },
      {
        "Name": "sample string 1",
        "Label": "sample string 2",
        "Regular": true,
        "Bold": true,
        "Italic": true,
        "BoldItalic": true,
        "IsPublic": true,
        "DivisionId": 1,
        "Code": "sample string 8",
        "ImageName": "sample string 9",
        "Id": 10,
        "LoginUserId": 1
      }
    ],
    "FontSetList": "sample string 1",
    "Id": 1,
    "LoginUserId": 1
  }
}


Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.