Discussions

Ask a Question
Back to all

PUT/POST - Quote Item lines Cost

Hi Mark

Thanks for previous help. I have been trying to update the line items cost for a order. As you suggested, I tired the PUT request to update the cost/rate for accessories and it is returning a 200 success response but not seeing the changes reflected on RoseRocket. Here's the details:

🔄 Updating sell quote...
🔗 PUT URL: https://altoba.roserocket.com/api/v2/platformModel/objects/56bca8ae-54fd-4ce0-86a1-2348c483bafa
Payload: {
"objectKey": "quote",
"json": {
"id": "56bca8ae-54fd-4ce0-86a1-2348c483bafa",
"sellQuote": {
"id": "56bca8ae-54fd-4ce0-86a1-2348c483bafa",
"objectKey": "quote",
"orgId": "4309bcc3-33c0-4fb2-b430-9b5bacd8e572",
"source": "duplicate",
"objectConfigType": "quote",
"lineItems": [
{
"id": "6860ccfe-7ce1-4735-8e78-4fc003069db8",
"objectKey": "financialLineItem",
"orgId": "4309bcc3-33c0-4fb2-b430-9b5bacd8e572",
"source": "manual",
"rate": {
"amount": 600.0,
"currencyCode": "CAD"
},
"name": "WH-P&D Pickup & Delivery",
"fullId": "FLI-7835"
},
{
"id": "09f7b958-7fd4-450a-890c-75a407a0f144",
"objectKey": "financialLineItem",
"orgId": "4309bcc3-33c0-4fb2-b430-9b5bacd8e572",
"source": "manual",
"rate": {
"amount": 70.0,
"currencyCode": "CAD"
},
"name": "Accessorial After hours delivery",
"fullId": "FLI-7841"
},
{
"id": "5d495cda-ca9d-41fe-8bd2-a3237e2a139b",
"objectKey": "financialLineItem",
"orgId": "4309bcc3-33c0-4fb2-b430-9b5bacd8e572",
"source": "manual",
"rate": {
"amount": 55.0,
"currencyCode": "CAD"
},
"name": "Accessorial Construction site pickup",
"fullId": "FLI-7842"
},
{
"id": "bd62a049-9601-4ce4-9512-3b2d2822fc5e",
"objectKey": "financialLineItem",
"orgId": "4309bcc3-33c0-4fb2-b430-9b5bacd8e572",
"source": "manual",
"rate": {
"amount": 195.0,
"currencyCode": "CAD"
},
"name": "Accessorial Border crossing",
"fullId": "FLI-8165"
}
],
"fullId": "Q-4609"
}
}
}

Can you advise what is missing?