Is anyone ever trying to update the item fulfillme...
# suitescript
l
Is anyone ever trying to update the item fulfillment information using REST API? It works in the sandbox but failed in production lol...
Copy code
url: https://{{suite_talk_url}}/itemfulfillment/1111111?replace=package (I tried packageups as well)
body: {
    "shipstatus": "C",
    "trandate": "2022-11-28",
    "packageups": {
        "items": [
            {
                "packagetrackingnumberups": "123",
                "packageweightups": "0.2"
            },
            {
                "packagetrackingnumberups": "456",
                "packageweightups": "0.2"
            }
        ]
    }
}
response: Resource or sub-resource 'package' from the query parameter replace was not found in the request body
But if I change the
packageups
to
package
in the payload, it will return an "Error while accessing a resource. You have attempted an invalid sublist or line item operation" Anyone idea will be appreciate ;)
e
there are three (or more?) distinct sublists depending on the carrier on IF: package, packageups, packagefedex
open the IF and add &xml=T to inspect