V1/carts/mine/shipping-information for this service which parameter are required.. I had given below parameters
{
"addressInformation": {
"shippingAddress": {
"id": 0,
"region": "string",
"regionId": 0,
"regionCode": "string",
"countryId": "IN",
"street": [
"Lane5 pune"
],
"company": "string",
"telephone": "9494949494",
"fax": "string",
"postcode": "411001",
"city": "pune",
"firstname": "vaibhav",
"lastname": "kapoor",
"middlename": "string",
"prefix": "string",
"suffix": "string",
"vatId": "string",
"customerId": 2,
"email": "[email protected]",
"sameAsBilling": 0,
"customerAddressId": 0,
"saveInAddressBook": 0,
"extensionAttributes": {},
"customAttributes": [
{
"attributeCode": "string",
"value": "string"
}
]
},
"billingAddress": {
"id": 0,
"region": "string",
"regionId": 0,
"regionCode": "string",
"countryId": "IN",
"street": [
"Lane5 une"
],
"company": "string",
"telephone": "9494949494",
"fax": "string",
"postcode": "411001",
"city": "pune",
"firstname": "vaibhav",
"lastname": "kapoor",
"middlename": "string",
"prefix": "string",
"suffix": "string",
"vatId": "string",
"customerId": 2,
"email": "[email protected]",
"sameAsBilling": 0,
"customerAddressId": 0,
"saveInAddressBook": 0,
"extensionAttributes": {},
"customAttributes": [
{
"attributeCode": "string",
"value": "string"
}
]
},
"shippingMethodCode": "freeshipping",
"shippingCarrierCode": "freeshipping",
"extensionAttributes": {},
"customAttributes": [
{
"attributeCode": "string",
"value": "string"
}
]
}
}
Error message is:
"message": "Unable to save shipping information. Please, check input data."