Update Measurement Chart
PUT/api/v1/measurement-charts/:style_id
Update Measurement Chart
Request​
Path Parameters
- application/json
Body
Array [
Array [
]
]
The last updated date from the client system of the Measurement Chart
measurements
object[]
required
Possible values: >= 1
Measurement chart information
Possible values: non-empty
Caption of a point of measurement
Measurement is critical or not
Possible values: non-empty
Point of measurement
Possible values: <= 500 characters
The external id of the measurement set. Use this field when you want to group POMs in a specified set
sizes
object[]
required
Possible values: >= 1
List of sizes in the measurement chart
Measurement value of a size
Possible values: non-empty
Size name
Tolerance Lower & Upper of a point of measurement, only use this attribute if your organization has not enabled Unequal Tolerance
Tolerance Lower, use this attribute together with toleranceUpper if your organization has enabled Unequal Tolerance
Tolerance Upper, use this attribute together with toleranceLower if your organization has enabled Unequal Tolerance
Possible values: [inch
, cm
, mm
]
Unit in the measurement chart in inch,cm,mm
Possible values: <= 30 characters
The source from which the Measurement Chart data comes
Responses​
- 200
- 400
- 401
- 422
- 429
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
]
]
data
object
Measurement charts data
The last updated date from the client system of the Measurement Chart
measurements
object[]
List of measurement charts
Caption of the point of measurement
Measurement is critical or not
Possible values: non-empty
Point of measurement of the measurement chart
The external id of the measurement set. Use this field when you want to group POMs in a specified set
sizes
object[]
Sizes in a measurement chart
Measurement value of a size
Possible values: non-empty
Size name
Tolerance Lower & Upper of a point of measurement, only use this attribute if your organization has not enabled Unequal Tolerance
Tolerance Lower, use this attribute together with toleranceUpper if your organization has enabled Unequal Tolerance
Tolerance Upper, use this attribute together with toleranceLower if your organization has enabled Unequal Tolerance
Unit used for measurement. Current values: inch, cm, mm
The source from which the Measurement Chart data comes
{
"data": {
"clientUpdatedDate": "2019-02-20T06:37:18.048000+00:00",
"measurements": [
{
"caption": "C01",
"isPomCritical": "true",
"pom": "Chest",
"setId": "Set 1",
"sizes": [
{
"measurement": "2",
"size": "Medium"
}
],
"tolerance": "1/4",
"toleranceLower": "1/4",
"toleranceUpper": "3/4",
"unit": "cm"
}
],
"source": "SPARK"
}
}
Bad request
- application/json
- Schema
- Example (from schema)
Schema
{
"errorCode": "Generic",
"message": "Bad Request"
}
Unauthorized
- application/json
- Schema
- Example (from schema)
Schema
{
"errorCode": "Generic",
"message": "Cannot retrieve session data because of expired token"
}
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
{
"errorCode": "Generic",
"errors": {
"type": [
"Input type is not valid"
]
},
"message": "Validation error"
}
Rate-limiting Error
- application/json
- Schema
- Example (from schema)
Schema
{
"errorCode": "Generic",
"message": "Too many requests"
}
Internal Error
- application/json
- Schema
- Example (from schema)
Schema
{
"errorCode": "Generic",
"errors": {
"system": [
"Internal error detail message"
]
},
"message": "Internal server error"
}