Fields when send to the api inside a request.
Field | Type | Description |
---|---|---|
id | Int | Id of the category |
name | String | Translated category name |
banner | Image? | Nullable. |
only_order_in_store | Bool | Whether the products in this category can only get ordered in the store with a separate UI for the shop employees, and not in the public webshop. Note that you will never receive products with this property set to true if you are not authorized. |
image | Image? | Nullable. Image that should be used in square environments, e.g. category overview |
seo | company.SeoData | Optional. Product page SEO metatags |
Fields when returned by the api in a response.
Field | Type | Description |
---|---|---|
id | Int | Id of the category |
name | String | Translated category name |
banner | Image? | Nullable. |
only_order_in_store | Bool | Whether the products in this category can only get ordered in the store with a separate UI for the shop employees, and not in the public webshop. Note that you will never receive products with this property set to true if you are not authorized. |
image | Image? | Nullable. Image that should be used in square environments, e.g. category overview |
seo | company.SeoData | Optional. Product page SEO metatags |
{
"id": 12,
"name": "Trinity Renner",
"banner": {
"resolutions": [
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
}
],
"white_background": false
},
"only_order_in_store": false,
"image": {
"resolutions": [
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
}
],
"white_background": true
},
"seo": {
"title": {
"en": "Sunt vero quisquam quo illum earum accusantium et sit recusandae qui."
},
"description": {
"en": "Ex eveniet sed fugit porro. Qui tempora aut eveniet ratione maiores voluptatem nobis. Et dolorem eos blanditiis enim ratione."
},
"url": {
"en": "http://www.schaefer.com/adipisci-ab-veniam-est-ut-dolores-et"
}
}
}