salesCreditMemo
PATCH {{url}}/{{environment}}/api/v2.0/companies({{companyId}})/salesCreditMemos({{salesCreditMemoId}})?tenant={{tenant}}
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
tenant | string |
Request Body
{"paymentTermsId"=>"{{paymentTermId}}"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
If-Match | string |
RESPONSES
status: OK
{"@odata.context":"http://bcserver:7048/BC/api/v2.0/$metadata#companies(a19eca60-4a86-ed11-aad5-000d3a38ed32)/salesCreditMemos/$entity","@odata.etag":"W/\"JzE5OzUyOTY4Njk5NzQwODU0NjkwMjExOzAwOyc=\"","id":"0bb9e61e-7588-ed11-af3b-84c6463dfe3c","number":"1002","externalDocumentNumber":"","creditMemoDate":"2022-12-27","postingDate":"2022-12-30","dueDate":"2022-12-27","customerId":"4353076f-4a86-ed11-aad5-000d3a38ed32","customerNumber":"10000","customerName":"Adatum Corporation","billToName":"Adatum Corporation","billToCustomerId":"4353076f-4a86-ed11-aad5-000d3a38ed32","billToCustomerNumber":"10000","sellToAddressLine1":"Station Road, 21","sellToAddressLine2":"","sellToCity":"Cambridge","sellToCountry":"GB","sellToState":"","sellToPostCode":"CB1 2FB","billToAddressLine1":"Station Road, 21","billToAddressLine2":"","billToCity":"Cambridge","billToCountry":"GB","billToState":"","billToPostCode":"CB1 2FB","shortcutDimension1Code":"","shortcutDimension2Code":"MEDIUM","currencyId":"00000000-0000-0000-0000-000000000000","currencyCode":"GBP","paymentTermsId":"7a15f968-4a86-ed11-aad5-000d3a38ed32","shipmentMethodId":"fa52076f-4a86-ed11-aad5-000d3a38ed32","salesperson":"JO","pricesIncludeTax":false,"discountAmount":0,"discountAppliedBeforeTax":false,"totalAmountExcludingTax":0,"totalTaxAmount":0,"totalAmountIncludingTax":0,"status":"Draft","lastModifiedDateTime":"2022-12-30T19:07:38.707Z","invoiceId":"00000000-0000-0000-0000-000000000000","invoiceNumber":"","phoneNumber":"","email":"robert.townes@contoso.com","customerReturnReasonId":"00000000-0000-0000-0000-000000000000"}