I have a new issue that just cropped up this morni...
# suitetalkapi
a
I have a new issue that just cropped up this morning. We provide our customers with a web interface for updating shipping addresses on open sales orders. Essentially the same exact request has been working for the last year, and this morning it is failing - quietly and intermittently. I am getting a
204 - No Content
response, which generally means successful. But the shipping address does not get updated, nor does it show in the System Information in the UI. This is intermittent. It works sometimes, but sometimes not. Again, just started today.
Copy code
curl --location --request PATCH '<https://XXXXXXX.suitetalk.api.netsuite.com/services/rest/record/v1/salesOrder/XXXXXXX>' \
--header 'prefer: transient' \
--header 'Content-Type: application/json' \
--header 'Authorization: OAuth realm="XXXXXXX",oauth_consumer_key="XXXXXXX",oauth_token="XXXXXXX",oauth_signature_method="HMAC-SHA256",oauth_timestamp="1656532805",oauth_nonce="XXXXXXX",oauth_version="1.0",oauth_signature="XXXXXXX"' \
--header 'Cookie: NS_ROUTING_VERSION=LAGGING' \
--data-raw '{
    "shippingAddress": {
        "addressee": "John Doe",
        "attention": "John Doe",
        "addr1": "123 Main Street",
        "addr2": null,
        "city": "Middleville",
        "state": "MI",
        "zip": "49333",
        "country": "US"
    }
}'