Analytics
Create product custom dimension
Changed onConfigure new custom dimension.
post/api/analytics/v1/manage/product-custom-dimensions/
Request
- Base URLhttps://example.piwik.pro
- AuthOAuth 2Client credentialsToken URL/auth/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"data": {
"id": "677fe0d3-b4f7-43ed-852d-1a9e7b8e59fb",
"attributes": {
"website_id": "dde2dc68-b6bb-45ee-9ac2-868b6181e33f",
"name": "Product package height in mm",
"updated_at": "2017-07-14T08:33:53.215948Z",
"created_at": "2017-07-14T08:33:53.215948Z"
}
}
}Response
OK
Example response
{
"data": {
"id": "677fe0d3-b4f7-43ed-852d-1a9e7b8e59fb",
"attributes": {
"website_id": "dde2dc68-b6bb-45ee-9ac2-868b6181e33f",
"name": "Product package height in mm",
"updated_at": "2017-07-14T08:33:53.215948Z",
"created_at": "2017-07-14T08:33:53.215948Z"
}
}
}Changes
- info
added the new optional request property
/// - info
added the new optional request property
/// - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status
- info