Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »


This resource will list all available ProductType Departments of the given shop. It is recommended to use the fullData query parameter to avoid unnecessary requests for each ProductType Department.


Example Payload
{
   "offset":0,
   "limit":50,
   "count":1,
   "productTypeDepartments":[
      {
         "href":"https://api.spreadshirt.net/api/v1/shops/100488332/productTypeDepartments/1",
         "id":"1",
         "lifeCycleState":"ACTIVATED",
         "name":"Men",
         "weight":1.0,
         "categories":[
            {
               "id":"24",
               "name":"T-Shirts",
               "nameSingular":"T-Shirt",
               "productTypes":[
                  {
                     "href":"https://api.spreadshirt.net/api/v1/shops/100488332/productTypes/812",
                     "id":"812"
                  },
                  {
                     "href":"https://api.spreadshirt.net/api/v1/shops/100488332/productTypes/6",
                     "id":"6"
                  },
                  {
                     "href":"https://api.spreadshirt.net/api/v1/shops/100488332/productTypes/1183",
                     "id":"1183"
                  },
               ]
            },
            {
               "id":"25",
               "name":"Long sleeve shirts",
               "nameSingular":"Long Sleeve Shirt",
               "productTypes":[
                  {
                     "href":"https://api.spreadshirt.net/api/v1/shops/100488332/productTypes/1287",
                     "id":"1287"
                  },
                  {
                     "href":"https://api.spreadshirt.net/api/v1/shops/100488332/productTypes/875",
                     "id":"875"
                  },
                  {
                     "href":"https://api.spreadshirt.net/api/v1/shops/100488332/productTypes/36",
                     "id":"36"
                  }
               ]
            },
            {
               "id":"27",
               "name":"Hoodies & Sweatshirts",
               "nameSingular":"Hoodie",
               "productTypes":[
                  {
                     "href":"https://api.spreadshirt.net/api/v1/shops/100488332/productTypes/20",
                     "id":"20"
                  },
                  {
                     "href":"https://api.spreadshirt.net/api/v1/shops/100488332/productTypes/1388",
                     "id":"1388"
                  }
               ]
            },
            {
               "id":"28",
               "name":"Jackets & Vests",
               "nameSingular":"Jacket",
               "productTypes":[
                  {
                     "href":"https://api.spreadshirt.net/api/v1/shops/100488332/productTypes/1215",
                     "id":"1215"
                  },
                  {
                     "href":"https://api.spreadshirt.net/api/v1/shops/100488332/productTypes/93",
                     "id":"93"
                  },
                  {
                     "href":"https://api.spreadshirt.net/api/v1/shops/100488332/productTypes/1114",
                     "id":"1114"
                  },
                  {
                     "href":"https://api.spreadshirt.net/api/v1/shops/100488332/productTypes/644",
                     "id":"644"
                  }
               ]
            },
         ]
      },
   ],
   "href":"https://api.spreadshirt.net/api/v1/shops/100488332/productTypeDepartments"
}
  • No labels