UpdateConsignmentItems
Update the properties of consignment items (products).
Request example
{
"Request": {
"ConsignmentItems": [
{
"sku": "SO521OTAA001ABCDE-1",
"volumetric_weight": "1.5"
},
{
"sku": "SO521OTAA001ABCDE-3",
"volumetric_weight": "2.0"
}
]
}
}
Request description
Name |
Mandatory |
Description |
Example |
---|---|---|---|
sku |
yes |
Product shop SKU |
SO521OTAA001ABCDE-1 |
volumetric_weight |
yes |
decimal value |
2.5 |
Additional fields will be ignored.
Response
If the request is successful, Seller Center updates the consignment item’s properties.
Success response
{
"SuccessResponse": {
"Head": {
"RequestId": "",
"RequestAction": "UpdateConsignmentItems",
"ResponseType": "",
"Timestamp": "2017-08-02T12:06:34+0200"
},
"Body": ""
}
}
Error response
{
"ErrorResponse": {
"Head": {
"RequestAction": "UpdateConsignmentItems",
"ErrorType": "Sender",
"ErrorCode": "0",
"ErrorMessage": "Some elements were not processed"
},
"Body": {
"UpdateConsignmentItems": {
"UpdateConsignmentItems": "ErrorCode: ; ErrorMessage: Request/0/Missing field sku; Position: Request;"
}
}
}
}
Possible error messages
- Missing field ConsignmentItems
- Missing field sku
- Missing field volumetric_weight
- Product with SKU “SO521OTAA001ABCDE-X” not found
- Value for volumetric_weight is not valid: value is not decimal
- Value for volumetric_weight is not valid: value is negative
- Value for volumetric_weight is not valid: value is greater than 99999999.99