cancel
Showing results for 
Search instead for 
Did you mean: 

API - Cannot update InternalNotes field

delements
Rookie

Hello ShipStation,

I am trying to update an order trough the API, it seems to work however only partially.

For example, I cannot update the `internalNotes` nor the `customerNotes` fields. Whatever I sent to the API during the request the field stays the same.

I am using 

/orders/createorder

Example request:

{
"orderNumber": "3202",
"orderKey": "4444444",
"orderDate": "2023-07-30T09:08:46.0000000",
"createDate": "2023-07-31T07:38:11.9530000",
"modifyDate": "2023-08-08T13:05:34.0870000",
"paymentDate": "2023-07-30T09:08:46.0000000",
"shipByDate": null,
"orderStatus": "awaiting_shipment",
"customerId": 123,
"customerUsername": "123",
"customerEmail": "xxx@xxx.com,
"billTo": {
"name": "John Doe",
"company": null,
"street1": null,
"street2": null,
"street3": null,
"city": null,
"state": null,
"postalCode": null,
"country": null,
"phone": null,
"residential": null,
"addressVerified": null
},
"shipTo": {
"name": "John doe",
"company": null,
"street1": "111 MADRID CIR",
"street2": "",
"street3": null,
"city": "NAPLES",
"state": "FL",
"postalCode": "34104",
"country": "US",
"phone": null,
"residential": true,
"addressVerified": "Address validated successfully"
},
"items": [
{
"orderItemId": 222,
"lineItemKey": "111",
"sku": "",
"name": "Product 1",
"imageUrl": "some_url",
"weight": {
"value": 0.00,
"units": "grams",
"WeightUnits": 2
},
"quantity": 1,
"unitPrice": 0.00,
"taxAmount": 0.00,
"shippingAmount": 0.00,
"warehouseLocation": null,
"options": [],
"productId": null,
"fulfillmentSku": null,
"adjustment": false,
"upc": "",
"createDate": "2023-07-31T07:38:11.92",
"modifyDate": "2023-07-31T07:38:11.92"
},
{
"orderItemId": 111,
"lineItemKey": "x",
"sku": "",
"name": "x",
"imageUrl": null,
"weight": null,
"quantity": 1,
"unitPrice": -106.92,
"taxAmount": null,
"shippingAmount": null,
"warehouseLocation": null,
"options": [],
"productId": null,
"fulfillmentSku": null,
"adjustment": true,
"upc": null,
"createDate": "2023-07-31T07:38:11.92",
"modifyDate": "2023-07-31T07:38:11.92"
},
{
"orderItemId": 222,
"lineItemKey": "x",
"sku": "",
"name": "x",
"imageUrl": null,
"weight": null,
"quantity": 1,
"unitPrice": -9.00,
"taxAmount": null,
"shippingAmount": null,
"warehouseLocation": null,
"options": [],
"productId": null,
"fulfillmentSku": null,
"adjustment": true,
"upc": null,
"createDate": "2023-07-31T07:38:11.92",
"modifyDate": "2023-07-31T07:38:11.92"
},
{
"orderItemId": 333,
"lineItemKey": "333",
"sku": "product-2",
"name": "Product 2",
"imageUrl": "some_url2",
"weight": {
"value": 0.00,
"units": "grams",
"WeightUnits": 2
},
"quantity": 1,
"unitPrice": 108.00,
"taxAmount": null,
"shippingAmount": null,
"warehouseLocation": null,
"options": [],
"productId": 123,
"fulfillmentSku": null,
"adjustment": false,
"upc": "",
"createDate": "2023-08-08T11:52:34.363",
"modifyDate": "2023-08-08T11:52:34.363"
}
],
"orderTotal": 1.08,
"amountPaid": 1.08,
"taxAmount": 0.00,
"shippingAmount": 9.00,
"customerNotes": "Note from buyer 12",
"internalNotes": "test from API",
"gift": false,
"giftMessage": "Gift note 4",
"paymentMethod": "shopify_payments",
"requestedShippingService": "Economy",
"carrierCode": "ups_walleted",
"serviceCode": "ups_ground",
"packageCode": "package",
"confirmation": "none",
"shipDate": null,
"holdUntilDate": null,
"weight": {
"value": 64.00,
"units": "ounces",
"WeightUnits": 1
},
"dimensions": {
"units": "inches",
"length": 9.00,
"width": 6.00,
"height": 4.00
},
"insuranceOptions": {
"provider": null,
"insureShipment": false,
"insuredValue": 0.0
},
"internationalOptions": {
"contents": "merchandise",
"customsItems": [
{
"customsItemId": 37019998,
"description": "",
"quantity": 0,
"value": 0.00,
"harmonizedTariffCode": "",
"countryOfOrigin": "US"
}
],
"nonDelivery": "return_to_sender"
},
"advancedOptions": {
"warehouseId": 123,
"nonMachinable": false,
"saturdayDelivery": false,
"containsAlcohol": false,
"mergedOrSplit": true,
"mergedIds": [],
"parentId": 123,
"storeId": 123,
"customField1": "Custom Field 222",
"customField2": "Custom field 333",
"customField3": "Custom field 6",
"source": "shopify",
"billToParty": "my_other_account",
"billToAccount": null,
"billToPostalCode": null,
"billToCountryCode": null,
"billToMyOtherAccount": 123
},
"tagIds": null,
"userId": null,
"externallyFulfilled": false,
"externallyFulfilledBy": null,
"externallyFulfilledById": null,
"externallyFulfilledByName": null,
"labelMessages": null
}
 
Sending the same requests updates Custom Field 1/Custom Field 2 and Custom Field 3 however it does not update the InternalNotes field.

In the following example I am sending "internalNotes":"Test From API" but getting back 
 
"internalNotes": "Hello DE" -> which was the original internalnotes I was trying to change.

Any help would be appreciated! 
0 REPLIES 0