Update a contract_owner

patch/contract-owners/{contract_owner_id}
SecuritybearerAuth
Request
path Parameters
contract_owner_id
required
integer <int64> (IdParam) >= 1

Contract owner identifier

Example: 1
Request Body schema: application/json-patch+json

A set of JSONPatch operations to be performed

Array
op
required
string

The JSON Patch operation to be performed

Enum: "add" "remove" "replace" "move" "copy" "test"
path
required
string

A JSON-Pointer

value
object

The value to be used within the operations

from
string

A string containing a JSON Pointer value

Responses
200

Success

400

Invalid Request

401

Unauthorized

403

Forbidden

404

Not Found

Request samples
application/json-patch+json
[
  • {
    • "op": "add",
    • "path": "string",
    • "value": { },
    • "from": "string"
    }
]
Response samples
application/json
{
  • "id": 1,
  • "name": "string",
  • "availableFrom": "2019-08-24",
  • "availableTo": "2019-08-24",
  • "bankAccountName": "string",
  • "bankAccountNumber": "stringst",
  • "bankSortCode": "string",
  • "bankSwiftCode": "AAAABB11222",
  • "bankIban": "GB29NWBK60161331926819",
  • "companyRegistrationNumber": "string",
  • "coBccEmailAddress": "string",
  • "mandatoryAccountReferenceForSite": false,
  • "prePopulatedFraudPlanId": 1,
  • "siBccEmailAddress": "string",
  • "taxRegistrationNumber": "string",
  • "address": {
    • "id": 1,
    • "businessName": "string",
    • "address1": "string",
    • "address2": "string",
    • "address3": "string",
    • "town": "string",
    • "county": "string",
    • "postcode": "string",
    • "country": "GB"
    },
  • "customerServiceTelephoneNumber": "string",
  • "customerServiceWebsite": "string",
  • "customerServiceEmail": "string",
  • "emailBillingFromAddress": "string",
  • "invoiceCombiningType": "NONE",
  • "invoiceNumberFormat": "string",
  • "invoiceEmailSubject": "string",
  • "minimumItemisationValueInPence": 0,
  • "mandatoryBankPaymentForDirectDebit": false,
  • "createdDate": "2019-08-24T14:15:22Z",
  • "updatedDate": "2019-08-24T14:15:22Z",
  • "enableBalanceCarryForward": true,
  • "emailTemplateId": 1,
  • "invoiceNumberLabel": "string",
  • "localeId": 1,
  • "invoicePresentationName": "string",
  • "summaryInvoiceNumberLabel": "string",
  • "priceDecimalPlaces": 1,
  • "priceRoundingMode": "UP",
  • "accountingCostCentre": "string",
  • "companyRegistrationNumberLabel": "Company Number",
  • "invoiceTaxLabel": "VAT Number",
  • "forceBillingDefault": true,
  • "taxExemptLabel": "VAT Exempt",
  • "netAccountingAdjustmentNominalCode": "string",
  • "taxAccountingAdjustmentNominalCode": "string",
  • "netAccountingAdjustmentTaxCode": "string",
  • "taxAccountingAdjustmentTaxCode": "string",
  • "attachInvoiceToEmail": true,
  • "billingPeriodEndDateLabel": "Billing Period (Ending)",
  • "invoiceCustomerAccountNumberLabel": "Account number",
  • "summaryCustomerAccountNumberLabel": "Account number",
  • "invoiceDateLabel": "Date (And Tax Point)",
  • "productReferenceLabel": "Product Reference"
}