Data schemas
Get a category — Response
ApiResponse_CategoryDetailData_ · Fields, types and constraints of data accepted or returned by the API.
dataCategoryDetailDataRequiredResponse example · CategoryDetailData.
metaContextPageMetaContextMetaPageMetaRequestMetaRequiredResponse metadata.
Additional fields: No
List categories — Response
ApiResponse_list_CategorySummaryData__ · Fields, types and constraints of data accepted or returned by the API.
dataArray <CategorySummaryData> RequiredResponse example · ApiResponse_list_CategorySummaryData__.
metaContextPageMetaContextMetaPageMetaRequestMetaRequiredResponse metadata.
Additional fields: No
Create a category — Request body
CategoryCreate · Fields, types and constraints of data accepted or returned by the API.
descriptionString nullOptionalDescription in the selected language.
String:maxLength:50000introductionString nullOptionalIntroductory text in the selected language.
String:maxLength:5000is_visibleBooleanOptionalWhether the resource is visible.
market_idsArray <String> OptionalIdentifiers of selected markets.
maxItems:1000Array:minLength:1maxLength:63meta_descriptionString nullOptionalSearch-engine description in the selected language.
String:maxLength:160meta_keywordsArray <String> nullOptionalSearch-engine keywords in the selected language.
Array:maxItems:20Array / Array:maxLength:50meta_titleString nullOptionalSearch-engine title in the selected language.
String:maxLength:70nameStringRequiredResource name in the relevant context.
minLength:1maxLength:200parent_idString nullOptionalParent category identifier.
String:minLength:1maxLength:63slugString nullOptionalURL path segment in the selected language.
String:maxLength:160
Additional fields: No
Get a category — Response
CategoryDetailData · Fields, types and constraints of data accepted or returned by the API.
created_atStringRequiredCreation time.
format:"date-time"descriptionString nullRequiredDescription in the selected language.
idStringRequiredResource identifier; preserve it as returned. (CategoryDetailData).
introductionString nullRequiredIntroductory text in the selected language.
is_availableBooleanRequiredWhether the item is available in this context.
is_visibleBooleanRequiredWhether the resource is visible.
meta_descriptionString nullRequiredSearch-engine description in the selected language.
meta_keywordsArray <String> nullRequiredSearch-engine keywords in the selected language.
meta_titleString nullRequiredSearch-engine title in the selected language.
nameString nullRequiredResource name in the relevant context.
numberStringRequiredHuman-facing order or request number.
parent_idString nullRequiredParent category identifier.
slugString nullRequiredURL path segment in the selected language.
updated_atStringRequiredMost recent update time.
format:"date-time"versionIntegerRequiredResource version used for concurrency control.
Additional fields: No
List categories — Response
CategorySummaryData · Fields, types and constraints of data accepted or returned by the API.
created_atStringRequiredCreation time.
format:"date-time"idStringRequiredResource identifier; preserve it as returned. (CategorySummaryData).
is_availableBooleanRequiredWhether the item is available in this context.
is_visibleBooleanRequiredWhether the resource is visible.
nameString nullRequiredResource name in the relevant context.
numberStringRequiredHuman-facing order or request number.
parent_idString nullRequiredParent category identifier.
slugString nullRequiredURL path segment in the selected language.
updated_atStringRequiredMost recent update time.
format:"date-time"versionIntegerRequiredResource version used for concurrency control.
Additional fields: No
Update a category — Request body
CategoryUpdate · Fields, types and constraints of data accepted or returned by the API.
descriptionString nullOptionalDescription in the selected language.
String:maxLength:50000expected_versionIntegerRequiredVersion read before the write; a mismatch rejects the update.
minimum:1maximum:9223372036854775807introductionString nullOptionalIntroductory text in the selected language.
String:maxLength:5000is_visibleBooleanOptionalWhether the resource is visible.
market_idsArray <String> OptionalIdentifiers of selected markets.
maxItems:1000Array:minLength:1maxLength:63meta_descriptionString nullOptionalSearch-engine description in the selected language.
String:maxLength:160meta_keywordsArray <String> nullOptionalSearch-engine keywords in the selected language.
Array:maxItems:20Array / Array:maxLength:50meta_titleString nullOptionalSearch-engine title in the selected language.
String:maxLength:70nameString nullOptionalResource name in the relevant context.
String:maxLength:200parent_idString nullOptionalParent category identifier.
String:minLength:1maxLength:63slugString nullOptionalURL path segment in the selected language.
String:maxLength:160
Additional fields: No