Download OpenAPI specification:
PHPR API USING API-PLATFORM
Retrieves a product_types resource.
| id required | string product_types identifier |
{- "@context": "string",
- "@id": "string",
- "@type": "string",
- "parent": { },
- "children": [
- { }
], - "visibleStatus": true,
- "discount": "string",
- "targetProfitability": "string",
- "shortcode": "AT",
- "deletedAt": "2019-08-24T14:15:22Z",
- "id": 0,
- "slug": "string",
- "customData": [
- "string"
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "disabledAt": "2019-08-24T14:15:22Z",
- "number": "string",
- "priority": 0,
- "color": "string",
- "icon": "string",
- "notes": "string",
- "parameterTitle": "string",
- "root": 0,
- "lvl": 0,
- "lft": 0,
- "rgt": 0,
- "visibleChildren": [
- "string"
], - "childrenListing": "string",
- "productsListing": "string",
- "typeTitle": "string",
- "typeFullTitle": "string",
- "translationsListing": "string",
- "customPropertiesListing": "string",
- "toString": "string",
- "translationDescriptionPropertyName": "string",
- "leaf": true,
- "leafApi": true,
- "levelApi": 0,
- "anonymousToken": "string",
- "uniqueId": "string",
- "taggingListing": "string",
- "enabled": true,
- "disabled": true
}Replaces the product_types resource.
| id required | string product_types identifier |
The updated product_types resource
product_types.jsonld-post (object) or null | |
| children | Array of objects (product_types.jsonld-post) // MUST BE MAPPED IN ENTITY |
| visibleStatus | boolean Default: true |
| discount required | string |
| targetProfitability required | string |
| deletedAt | string or null <date-time> |
| slug required | string DB Identifier |
| customData | Array of strings or null |
| disabledAt | string or null <date-time> |
| number | string or null |
| priority | integer |
| color | string or null |
| icon | string or null |
| notes | string or null |
| parameterTitle | string |
| apiTranslations | Array of strings |
{- "parent": { },
- "children": [
- { }
], - "visibleStatus": true,
- "discount": "string",
- "targetProfitability": "string",
- "deletedAt": "2019-08-24T14:15:22Z",
- "slug": "string",
- "customData": [
- "string"
], - "disabledAt": "2019-08-24T14:15:22Z",
- "number": "string",
- "priority": 0,
- "color": "string",
- "icon": "string",
- "notes": "string",
- "parameterTitle": "string",
- "apiTranslations": [
- "string"
]
}{- "@context": "string",
- "@id": "string",
- "@type": "string",
- "parent": { },
- "shortcode": "AT",
- "deletedAt": "2019-08-24T14:15:22Z",
- "id": 0,
- "slug": "string",
- "customData": [
- "string"
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "disabledAt": "2019-08-24T14:15:22Z",
- "number": "string",
- "priority": 0,
- "color": "string",
- "icon": "string",
- "notes": "string",
- "parameterTitle": "string",
- "root": 0,
- "lvl": 0,
- "lft": 0,
- "rgt": 0,
- "toString": "string",
- "translationDescriptionPropertyName": "string",
- "leaf": true,
- "leafApi": true,
- "levelApi": 0,
- "anonymousToken": "string",
- "uniqueId": "string",
- "taggingListing": "string",
- "enabled": true,
- "disabled": true
}