While checking the status of the domain in Plesk database or by API apart from default 0 "Active" there could be other codes such as 1,2,4 or even 272 and 288, in Panel all of them are shown as "Suspended". What do these status codes mean?
Here is the table of status codes might be returned by Plesk and their meanings:
status value value binary desсription
STATUS_ACTIVE 0 0000000 active
STATUS_STATUS 1 0000001 suspended
STATUS_WITH_PARENT 2 0000010 suspended because of parent object
STATUS_BACKUP_RESTORE 4 0000100 suspended because of backup/restore
STATUS_ADMIN 16 0001000 suspended by administrator
STATUS_RESELLER 32 0010000 suspended by reseller
STATUS_CLIENT 64 0100000 suspended by client
STATUS_EXPIRED 256 1000000 suspended due to expiration
There is also a bitmask combination rule, which may combine the different statuses into one by summing up codes. E.g. 272 is a combination of statuses 256 and 16, which means that domain was suspended by administrator and reached expiration date.