Update Sites
Updates the specified site(s). Below are the required fields and anything not specified will be set to null.
Info
Changes to the isEnabled flag will be disregarded, please use the un/delete routes instead.
| Verb | PATCH |
|---|---|
| Endpoint | {base-url}/sites |
| Max Page Size | N/A |
Request Body
Request Body
{
"body": [
{
"Id": 196,
"AccountId": 11,
"OrgId": 3,
"Name": "Bob's Grain Mill",
"contact": {
"firstName": "testFirst testLast",
"lastName": null,
"telephoneNumber": "123-456-7890",
"emailAddress": "test@test.com"
},
"CommissionPercentage": null,
"IsActive": true,
"TimeZone": "Pacific Standard Time",
"IsEnabled": false,
"MaxChargePrice": 5,
"BillingAddress": "Bob's Grain Mill, 123 Main Street, Seattle, WA 11111",
"ShippingAddress": "Bob's Grain Mill, 123 Main Street, Seattle, WA 11111",
"MaximumMeterSalesJumpAllowed": 500,
"CommissionTerms": "Net10",
"ExternalAccountTerminalId": null,
"chargeKeyId": 1
}
]
}
Returns
On Success
204 - No Content
Response Body
// 204 - No Content