Schema Documentation

PostStatusEnum

Description

The status of the object.

Values
Enum ValueDescription

AUTO_DRAFT

Objects with the auto-draft status

DRAFT

Objects with the draft status

FUTURE

Objects with the future status

INHERIT

Objects with the inherit status

PENDING

Objects with the pending status

PRIVATE

Objects with the private status

PUBLISH

Objects with the publish status

REQUEST_COMPLETED

Objects with the request-completed status

REQUEST_CONFIRMED

Objects with the request-confirmed status

REQUEST_FAILED

Objects with the request-failed status

REQUEST_PENDING

Objects with the request-pending status

TRASH

Objects with the trash status

WC_ACTIVE

Objects with the wc-active status

WC_CANCELLED

Objects with the wc-cancelled status

WC_CHECKOUT_DRAFT

Objects with the wc-checkout-draft status

WC_COMPLETED

Objects with the wc-completed status

WC_EXPIRED

Objects with the wc-expired status

WC_FAILED

Objects with the wc-failed status

WC_ON_HOLD

Objects with the wc-on-hold status

WC_PENDING

Objects with the wc-pending status

WC_PENDING_CANCEL

Objects with the wc-pending-cancel status

WC_PROCESSING

Objects with the wc-processing status

WC_REFUNDED

Objects with the wc-refunded status

WC_SWITCHED

Objects with the wc-switched status
Example
"AUTO_DRAFT"