I have tried to figure this out in Postman and also searched the forum but without luck. Still having this SyntaxError: Unexpected token â:â. Still when sending this PUT I get success: True. Maybe this error doesânt matter? I am not sure but I am fairly new to Postman. Any help appreciated.
I selected PUT, Body, Raw and JSON.
Here is the code
{
âIssueDateâ: â2022-04-29â,
âDueDateâ: âNetâ,
âDueDateDaysâ: null,
âDueDateDateâ: null,
âReferenceâ: â2011â,
âQuoteNumberâ: null,
âOrderNumberâ: null,
âCustomerâ: â2b279373-f46e-4397-9c13-16a4a5f4c48dâ,
âSalesQuoteâ: null,
âSalesOrderâ: âb4556c0c-ca04-49df-86c2-fd0b8e611579â,
âBillingAddressâ: âRoad 95\n999999-9999â,
âDescriptionâ: null,
âLinesâ: [
{
âItemâ: âed0ecf26-39f4-4b1b-b74d-e0f7c2d6032eâ,
âAccountâ: null,
âCapitalAccountâ: null,
âSubAccountâ: null,
âSpecialAccountâ: null,
âFixedAssetâ: null,
âIntangibleAssetâ: null,
âLineDescriptionâ: null,
âCustomFieldsâ: null,
âQtyâ: 6.0,
âSalesUnitPriceâ: 1600.0,
âCurrencyAmountâ: 0.0,
âDiscountPercentageâ: 0.0,
âDiscountAmountâ: 0.0,
âTaxCodeâ: âe57a094f-de41-448c-b7a6-d6327029213câ,
âProjectâ: null,
âDivisionâ: âdd2f413d-7b3c-44aa-9d42-5c89717bccb0â
},
{
âItemâ: â97f444f5-d841-4869-9b25-b37fe3d515cfâ,
âAccountâ: null,
âCapitalAccountâ: null,
âSubAccountâ: null,
âSpecialAccountâ: null,
âFixedAssetâ: null,
âIntangibleAssetâ: null,
âLineDescriptionâ: null,
âCustomFieldsâ: null,
âQtyâ: 11.0,
âSalesUnitPriceâ: 220.0,
âCurrencyAmountâ: 0.0,
âDiscountPercentageâ: 0.0,
âDiscountAmountâ: 0.0,
âTaxCodeâ: null,
âProjectâ: null,
âDivisionâ: null
}
],
âSalesInventoryLocationâ: null,
âHasLineNumberâ: true,
âHasLineDescriptionâ: false,
âDiscountâ: false,
âDiscountTypeâ: âPercentageâ,
âAmountsIncludeTaxâ: false,
âRoundingâ: true,
âRoundingMethodâ: âRoundDownâ,
âWithholdingTaxâ: false,
âWithholdingTaxTypeâ: âRateâ,
âWithholdingTaxPercentageâ: 0.0,
âWithholdingTaxAmountâ: 0.0,
âEarlyPaymentDiscountâ: false,
âEarlyPaymentDiscountTypeâ: âPercentageâ,
âEarlyPaymentDiscountRateâ: 0.0,
âEarlyPaymentDiscountAmountâ: 0.0,
âEarlyPaymentDiscountDaysâ: null,
âLatePaymentFeesâ: false,
âLatePaymentFeesPercentageâ: 0.0,
âTotalAmountInWordsâ: false,
âTotalAmountInBaseCurrencyâ: false,
âBilingualâ: false,
âCustomTitleâ: false,
âSalesInvoiceCustomTitleâ: null,
âHasSalesInvoiceCustomThemeâ: false,
âSalesInvoiceCustomThemeâ: null,
âAutomaticReferenceâ: false,
âHideDueDateâ: true,
âHideBalanceDueâ: false,
âClosedInvoiceâ: false,
âOldLayoutâ: false,
âShowTaxAmountColumnâ: false,
âHasSalesInvoiceFootersâ: false,
âSalesInvoiceFootersâ: null,
âCustomFieldsâ: {
â7ba04828-30a3-40e5-bb0b-c87ebc478f20â: âTestâ,
â7f00ce21-6c9e-42b1-bd3a-4f313a9043c7â: âNoâ
}
}