Download OpenAPI specification:Download
Contains functionality around target market.
For endpoints that support localization the language can be passed either as a query string parameter (using the name 'language') or in the 'accept-language' header.
If no language is passed to such endpoints then the default configured language will be used.
Retrieves allowed attributes and values for a given definition.
definitionKey required | string Definition Key |
Accept-Language | string The ISO 639-1 language to use for localizable data. |
OK
Bad Request
Unauthorized
Forbidden
Not Found
UnprocessableEntity
Internal Server Error
{- "name": "string",
- "nameResourceKey": "string",
- "definition": [
- {
- "attribute": {
- "id": 0,
- "name": "string",
- "nameResourceKey": "string",
- "key": "string",
- "isMandatory": true
}, - "values": [
- {
- "id": 0,
- "name": "string",
- "nameResourceKey": "string",
- "key": "string"
}
]
}
]
}
Retrieves attribute and value pairs saved for a specific entity.
entityUid required | string <uuid> The entity UID |
Accept-Language | string The ISO 639-1 language to use for localizable data. |
OK
Bad Request
Unauthorized
Forbidden
Not Found
UnprocessableEntity
Internal Server Error
{- "definitionKey": "string",
- "instance": [
- {
- "attributeId": 0,
- "valueIds": [
- 0
]
}
]
}
Sets a list of attribute and value pairs for a specific entity. More than one value may be saved for a specific attribute. Only attributes which are in the specified target market may be passed. Only values associated with the attribute may be passed for a specific attribute.
entityUid required | string <uuid> Entity id |
Accept-Language | string The ISO 639-1 language to use for localizable data. |
The parameter DTO
definitionKey | string Nullable |
instance | Array of objects (TargetMarketInstanceRequest) Nullable |
No Content
Bad Request
Unauthorized
Forbidden
Not Found
UnprocessableEntity
Internal Server Error
{- "definitionKey": "DefinitionKey",
- "instance": [
- {
- "attributeId": 1,
- "valueIds": [
- 1,
- 2
]
}, - {
- "attributeId": 2,
- "valueIds": [
- 2,
- 3
]
}
]
}
{- "code": "General",
- "subCode": "string",
- "message": "string",
- "correlationId": "string",
- "properties": {
- "property1": null,
- "property2": null
}
}
Searches instances based on a common definition. Only attributes which are in the specified target market may be passed. Only values associated with the attribute may be passed for a specific attribute.
Accept-Language | string The ISO 639-1 language to use for localizable data. |
The parameter DTO
definitionKey | string Nullable |
searchParameters | Array of objects (TargetMarketInstanceSearchParametersRequest) Nullable |
OK
Bad Request
Unauthorized
Forbidden
Not Found
UnprocessableEntity
Internal Server Error
{- "definitionKey": "DefinitionKey",
- "searchParameters": [
- {
- "attributeId": 1,
- "valueId": 1
}, - {
- "attributeId": 2,
- "valueId": 2
}
]
}
{- "results": [
- "6ab501f0-11e8-4c68-8626-81d0891274be",
- "9fb415a9-e657-449c-b90a-8282d4279799",
- "2a50988e-804a-44a0-b887-2803ce5a5322"
]
}