You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How to update bill to customer on an existing sales order using sales order rest API

Summary:

I am using below URL to update the bill to customer on sales order using below rest api but i get always 404 Not Found. When i remove the payload and just pass "comments" : " " we get 200 OK. On the documentation it says below field can be used. Requesting your help and suggestions.

/fscmRestApi/resources/latest/salesOrdersForOrderHub

Order Key: OPS:12345

Method: Patch

Payload:

{

  "SourceTransactionNumber": "Test1",

  "SourceTransactionSystem": "OPS",

  "SourceTransactionId": "Test1",

  "RevisionSourceSystem": "OPS",

  "SourceTransactionRevisionNumber": 1,

  "billToCustomer": [

    {

      "AddressId": 3000007661811,

      "PartyId": 111100681218945,

      "PartyNumber": "122332445",

      "PartyName": "Test Party 1",

      "Address1": "123 address 1",

      "Address2": "1223",

      "Address3": null,

      "Address4": null,

      "City": "London",

      "State": null,

      "PostalCode": "121212",

      "Country": "GB",

      "SourceAddressId": "1"

    }

  ],

  "Comments": ""

}

Content (please ensure you mask any confidential information):

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!