Any guidance on how to set the paymentMethod when ...
# suitetalkapi
s
Any guidance on how to set the paymentMethod when creating a salesOrder via REST I'm able to set it on the UI, I'm also succesfull when creating a salesOrder via SOAP
Copy code
<s0:paymentMethod type="paymentMethod" internalId="7">
<platformCore:name>Amazon</platformCore:name>
</s0:paymentMethod>
but when using REST
Copy code
"paymentMethod":{
        "id": 7
    }
or
Copy code
"paymentMethod": 7
return the following error (when setting X-NetSuite-PropertyNameValidation to Error) "Unknown field name 'paymentMethod'. The field does not exist on this record instance.",
My Issue has been resolved Based on NetSuite's response I enabled Payment Instrument feature and used
paymentOption
to pass the payment method