put https://yourorgsite.com/api/LegacyCustomerType/
Updates an instance of LegacyCustomerType by id
Log in to see full request history
Response
200The request was successful.
Updates an instance of LegacyCustomerType by id
200The request was successful.
xxxxxxxxxx
26const options = {
method: 'PUT',
headers: {accept: 'application/json', 'content-type': 'application/json'},
body: JSON.stringify({
$type: 'Asi.Soa.Core.DataContracts.LegacyCustomerTypeData, Asi.Contracts',
BillCompany: false,
Comp1: false,
Comp10: false,
Comp2: false,
Comp3: false,
Comp4: false,
Comp5: false,
Comp6: false,
Comp7: false,
Comp8: false,
Comp9: false,
IsCompanyRecord: false,
IsMemberRecord: false,
PrimaryItemWildcardType: 'None'
})
};
fetch('https://yourorgsite.com/api/LegacyCustomerType/CustomerTypeId', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
Try It!
to start a request and see the response here!