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. |
Success
Bad Request
Unauthorized
Forbidden
Not Found
UnprocessableEntity
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. |
Success
Bad Request
Unauthorized
Forbidden
Not Found
UnprocessableEntity
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
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 |
Success
Bad Request
Unauthorized
Forbidden
Not Found
UnprocessableEntity
Server Error
{- "definitionKey": "DefinitionKey",
- "searchParameters": [
- {
- "attributeId": 1,
- "valueId": 1
}, - {
- "attributeId": 2,
- "valueId": 2
}
]
}
{- "results": [
- "98b60db8-5212-4e8b-aeeb-28ec16859655",
- "0014068d-880c-44be-8d30-3c1e8b9e4dbc",
- "6b57de94-f950-4a90-87fc-687f1d55e3e6"
]
}