PATCH
/api/public/v1/settings/companyUpdate company settings
Update display name, automated tax flag, IP whitelist enforcement, etc.
Request Body
| Property | Type | Description |
|---|---|---|
reference | string | Company display name. |
ipWhitelistEnabled | boolean | Enforce IP whitelist. |
automatedTaxes | boolean | Enable automated taxes. |
PATCHExample request
curl
curl -X PATCH "https://www.pxb.app/api/public/v1/settings/company" \
-H "Authorization: Bearer your_access_token" \
-H "Content-Type: application/json" \
-d '{
"ipWhitelistEnabled": true
}'200Example response
json
{
"message": "Company settings updated successfully!",
"content": {
"settings": {
"ipWhitelistEnabled": true
}
}
}